Changes between Version 4 and Version 5 of Map


Ignore:
Timestamp:
Dec 30, 2015, 12:11:53 PM (3 years ago)
Author:
rogerdpack
Comment:

mention default

Legend:

Unmodified
Added
Removed
Modified
  • Map

    v4 v5  
    11= Introduction = 
    22 
    3 The best way to understand [http://ffmpeg.org/ffmpeg.html#Advanced-options -map option] is to think of it like a way to tell FFmpeg which streams do you want to select/copy from input to output. 
     3The best way to understand [http://ffmpeg.org/ffmpeg.html#Advanced-options -map option] is to think of it like a way to tell FFmpeg which streams do you want to select/copy from input to output.  
    44 
    55'''The order of -map options, specified on cmd line, will create the same order of streams in the output file.''' 
    66 
    77Here are several examples. 
     8 
     9== Default == 
     10 
     11 The default behavior (when map is not specified), ex: 
     12{{{ 
     13  ffmpeg -i INPUT OUTPUT 
     14}}} 
     15 
     16 is basically equivalent to: 
     17{{{ 
     18  ffmpeg -i INPUT -map single_highest_quality_video_stream -map single_highest_quality_audio_stream OUTPUT 
     19}}} 
     20and OUTPUT will receive those two streams.  All other streams are discarded.  When you want to control which stream is included, or include more than one stream in the output, then you will need/want to specify the "-map" command manually. 
     21 
     22The "map" command basically means "include this stream into the immediately following OUTPUT file." 
    823 
    924== Input file ==