[FFmpeg-devel] [PATCH] Add detail to the documentation for ffmpeg -map.

Stefano Sabatini stefano.sabatini-lala
Mon Feb 28 15:52:36 CET 2011

On date Monday 2011-02-28 09:36:55 -0500, Mike Scheutzow encoded:
> Mike Scheutzow wrote:
> >+ at example
> >+ffmpeg -i INPUT OUTPUT -map 0.1
> >+ at end example
> I take back my "ok". The first example only works for some input files.
> With an input file of video 0.0 and audio 0.1, the first example
> fails with this message:
> "Number of stream maps must match number of output streams"
> ffmpeg thinks the number of output streams is 2.

Yes the command only can work with an output file with only one
stream (for example: two audio streams in input, and you want to
select which one to put in the output, by default ffmpeg will take the
first one, map is needed for selecting the other one).

Patch updated, should clarify the example.
FFmpeg = Fiendish and Fabulous Mythic Philosofic Extroverse Gargoyle

More information about the ffmpeg-devel mailing list