video-transcoder icon indicating copy to clipboard operation
video-transcoder copied to clipboard

Multiplexing separate video + audio

Open PacoBell opened this issue 6 years ago • 2 comments

Some videos (i.e. WebM from YouTube) come as separate video and audio files. I would like this app to be able to mux in any audio track.

PacoBell avatar Feb 28 '18 11:02 PacoBell

I think this could be a good idea. Presently Android's VideoView is used to provide a preview of the video. That does not support separate audio and video streams. A different preview mechanism would need to be used. In addition, there would need to be configurations for video/audio offsets in case the user does not want them starting at the same time.

I'll probably not pursue this change myself, but if someone else were interested I could help with reviews.

brarcher avatar Mar 02 '18 13:03 brarcher

Merging mp4 and m4a from Youtube downloads would be super-useful - for me, anyway. The higher resolution streams are frequently delivered as separate video and audio.

The bundled FFMPEG executable is handling the task very nicely (... -acodec copy -vcodec copy .... ). I've merged nearly 40 Youtube downloads in tbe past week (without offsets). Aside from the command line interface, it's fabulous. So, +1.

phuyuk avatar May 04 '18 15:05 phuyuk