[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: April 18, 2022
Last Updated: April 18, 2022
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
Ouput audio will be of mp4 format

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!

15 Likes

Just Incredible Extension :v::v:

I will Surely Buy it

Just Superb Extension :+1::+1::+1:

It will be very awesome if you upload output video of this extension

Hi @Decoder_360 ,
Most of the extension’s work is done in background, so I am not sure about what to show in the video.

1 Like

Demo apk please i want something similar to this
. Sorry i don’t want this but i want video cropper

Maybe TrimVideo is the function you are looking for?

Pls Tell library

From first post,

1 Like

No. I want to adjust aspect ratio of video and save it :sweat_smile: it represents cropping

It is possible to extract an extension from an APK, so this wouldn’t be a good idea.
@vknow360 once I was struggling with the mp4parser Libraries to make just this kind of extension. I gave up because there are so many versions of it (mp4parser,isoparser,muxer,mixer…) , that I got completely lost at the end.:sweat_smile:
So congrats that you managed it! :+1::+1::+1:
Edit:
What I miss a little is the append video method

4 Likes