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

Stefano Sabatini stefano.sabatini-lala
Sat Mar 12 11:52:03 CET 2011


On date Saturday 2011-03-12 00:57:08 +0100, Diego Biurrun encoded:
> I'm travelling, sorry for the delay...
> 
> On Wed, Mar 02, 2011 at 04:15:21PM +0100, Stefano Sabatini wrote:
> > 
> > --- a/doc/ffmpeg.texi
> > +++ b/doc/ffmpeg.texi
> > @@ -622,11 +622,43 @@ Synchronize read on input.
> >  
> > +For example, if you have two audio streams in the first input file,
> > +these streams are identified by "0.0" and "0.1". You can use
> > + at code{-map} to select which stream to place in an output file. For
> > +example:
> > + at example
> > +ffmpeg -i INPUT out.wav -map 0.1
> > + at end example
> > +will map the input stream in @file{INPUT} identified by "0.1" to
> > +the (single) output stream in @file{out.wav}.
> > +
> > +For example, to select stream with index 2 from input file
> 
> the stream
> 
> > + at file{A.mov} (specified by the identifier "0.2"), and stream with
> > +index 6 from input @file{B.mov} (specified by the identifier "1.6"),
> > +and copy them to output file @file{out.mov}:
> > + at example
> > +ffmpeg -i A.mov -i B.mov -vcodec copy -acodec copy out.mov -map 0.2 -map 1.6
> > + at end example
> 
> I dislike capitalized filenames, but this is a minor issue.
> 
> Patch OK, preferably with those changes.

Updated.
-- 
FFmpeg = Fundamentalist and Fiendish Mastodontic Pacific Elected Game



More information about the ffmpeg-devel mailing list