[FFmpeg-user] Question about concat protocol

Andrey Utkin andrey.krieger.utkin at gmail.com
Tue Oct 9 20:49:31 CEST 2012


2012/10/9 Dennis Volodomanov <volodomanov at gmail.com>:
> What I'd like, ideally, is to be able to do this:
>
> ffmpeg -i file1 {map video 0, audio 1 to output video 0, audio 1} -i file2
> {map video 1, audio 3 to output video 0, audio 1} -i file3 { map video x,
> audio y to output video 0, audio 1 } outfile
>
> Basically, combining files, for each specifying the video and audio stream
> that will create an output file with one video and one audio stream based on
> those.
>
> Is it possible? If it is, what should the "-map" contain?

Break your task into simpler parts. Join audio separately from video,
then mux it together.
If you want it to be done at once, make up an application, this will
allow you to manage data flexibly at low level.

-- 
Andrey Utkin


More information about the ffmpeg-user mailing list