[Paid] MediaMux: Manipulate Audio and Video files [$10 or INR 701]

1. Introduction

Description: Extension to work with Audio and Video files and manipulate them like extracting audio or video from a video, trimming a video or merging an audio and video file.
Latest Version: 1
Released: 2022-04-17T18:30:00Z
Last Updated: 2022-04-17T18:30:00Z
Min Api: 19
Permission(s): android.permission.READ_EXTERNAL_STORAGE

2. Blocks

image

image

image

3. Docs

Docs for: MediaMux

Events

AfterAudioExtracted

Event invoked after getting result of 'ExtractAudio' function
Params

successful | boolean
response | text


AfterMergeMedia

Event invoked after getting result of 'MergeMedia' function
Params

successful | boolean
response | text


AfterVideoExtracted

Event invoked after getting result of 'ExtractVideo' function
Params

successful | boolean
response | text


AfterVideoTrimmed

Event invoked after getting result of 'TrimVideo' function
Params

successful | boolean
response | text


Methods

ExtractAudio

Tries to extract audio from given video file
Params

videoPath | text

audioOutputPath | text

startMs | number

endMs | number


ExtractVideo

Tries to extract video from given video file (and removes audio)
Params

videoPath | text

videoOutputPath | text

startMs | number

endMs | number


MergeMedia

Tries to merge/mux audio and video file and saves ouput file
Params

audioPath | text

videoPath | text

outputPath | text


TrimVideo

Tries to trim video with given parameters
Params

videoPath | text

videoOutputPath | text

keepAudio | boolean

startMs | number

endMs | number


4. Usages

Extract Audio
image

-1 means default settings i.e. no change in time duration

Extract Video
image

Trim Video
image

You can share this video to WhatsApp as Status

Merge Audio and Video file
image

Video duration will be equal to Audio duration and existing audio in video will be removed
Uses a modified version of mp4parser library

5. Want to Buy or Donate

Thank you. :hugs:

To pay in INR please PM me.

Hope it helps!

7 Likes

image

Shouldn't the output be a mp4?

image

Shouldn't the output be a mp4?

1 Like

Typo :sweat_smile:
Though that will not affect mime type of file as it will always be mpeg4.

P.S. fixed :+1:

1 Like