[FFmpeg-user] Question about concat protocol

Andrey Utkin andrey.krieger.utkin at gmail.com
Tue Oct 9 14:46:57 CEST 2012


2012/10/7 Dennis Volodomanov <volodomanov at gmail.com>:
> Hello all!
>
> Is it possible to use the concat: protocol and -map at the same time to
> choose which video/audio streams to pick from each file that's being
> concat'ed? I tried various combinations, but it doesn't seem to work, I
> suspect because FFmpeg considers the input as a single source.

Correct, concat: input specification is a single input for ffmpeg.

> I also tried specifying all files as separate -i "..." with each having it's
> own set of -map, but that didn't work either, or most likely, I don't
> understand how -map works in this case correctly. Can you please give me
> some advice on how to use -map to pick video/audio streams from multiple
> files to be joined into one?

It depends on what you wanted to do, and what you got.
If you want to join video streams into single one, there're solutions,
check it in FAQ
http://ffmpeg.org/faq.html#How-can-I-concatenate-video-files

-- 
Andrey Utkin


More information about the ffmpeg-user mailing list