[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: 2
Released: 2022-04-17T18:30:00Z
Last Updated: 2023-04-03T18:30:00Z
Min Api: 19
Permission(s): android.permission.READ_EXTERNAL_STORAGE

2. Blocks

image

image

image

3. Docs

Events

AfterAudioExtracted Event invoked after getting result of 'ExtractAudio' function
successful | boolean
response | text
AfterMergeMedia Event invoked after getting result of 'MergeMedia' function
successful | boolean
response | text
AfterVideoExtracted Event invoked after getting result of 'ExtractVideo' function
successful | boolean
response | text
AfterVideoTrimmed Event invoked after getting result of 'TrimVideo' function
successful | boolean
response | text

Methods

ExtractAudio Tries to extract audio from given video file
videoPath | text
audioOutputPath | text
startMs | number
endMs | number
ExtractVideo Tries to extract video from given video file (and removes audio)
videoPath | text
videoOutputPath | text
startMs | number
endMs | number
MergeMedia Tries to merge/mux audio and video file and saves to output file
audioPath | text
videoPath | text
outputPath | text
TrimVideo Tries to trim video with given parameters
videoPath | text
videoOutputPath | text
keepAudio | boolean
startMs | number
endMs | number

Properties

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

5. Want to Buy or Donate

Thank you. :hugs:

To pay in INR please PM me.

6. ChangeLog

ChangeLog Version 2
  • Extension no longer uses external lib

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

what kind of file types can trim or cut except mp4?

can you provide apk for test ?

ChangeLog Version 2

  • Extension no longer uses external lib
    This reduced extension size from 1.2mb to 17kb :grinning:
1 Like

Hi vknow360. Is it possible to extract a single frame from a video using this or other your extentions?

I can add that to VideoUtil extension.

Thank you Sunny. I'll try to use the video thumbnail from your VideoUtil and maybe it will be even better for my application

Snippet

Trim a video into equal clips

image_2023-10-13_22-09-31