[FFmpeg-user] Question about concat protocol

Nicolas George nicolas.george at normalesup.org
Thu Oct 11 12:01:39 CEST 2012


Le nonidi 19 vendémiaire, an CCXXI, Dennis Volodomanov a écrit :
> 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?

This is possible, but since you want to combine several streams into one,
you can not just use the -map option, you have to use the complex filters
mechanism. Look in the doc, especially the examples for the concat filter.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20121011/b31edf7c/attachment.asc>


More information about the ffmpeg-user mailing list