Changes between Version 4 and Version 5 of Map
- Timestamp:
- Dec 30, 2015, 10:11:53 AM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Map
v4 v5 1 1 = Introduction = 2 2 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. 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. 4 4 5 5 '''The order of -map options, specified on cmd line, will create the same order of streams in the output file.''' 6 6 7 7 Here 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 }}} 20 and 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 22 The "map" command basically means "include this stream into the immediately following OUTPUT file." 8 23 9 24 == Input file ==
