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

Luca Barbato lu_zero
Sat Mar 12 12:43:02 CET 2011


On 03/12/2011 11:52 AM, Stefano Sabatini wrote:
> 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.

Queued, I'd push it in the evening if nobody comments further.

-- 

Luca Barbato
Gentoo/linux
http://dev.gentoo.org/~lu_zero




More information about the ffmpeg-devel mailing list