Changes between Version 6 and Version 7 of Map
- Timestamp:
- Dec 30, 2015, 12:29:01 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Map
v6 v7 14 14 }}} 15 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. 16 is to, in essence, discover the "highest quality" (single) video input stream and "highest quality" (single) audio input stream from all input(s), and "send" that to the OUTPUT. All other input streams are in essence discarded. 21 17 22 18 The "map" command basically means "include this stream into the immediately following OUTPUT file." 19 20 If we wanted to "show" the same behavior using the map command, it would look like this: 21 22 {{{ 23 ffmpeg -i INPUT -map single_highest_quality_video_stream_from_all_inputs -map single_highest_quality_audio_stream_from_all_inputs OUTPUT 24 }}} 25 and OUTPUT will end up with 2 streams, one audio, one video. 26 27 When you want to control which streams are included, or include more than one stream in the output, then you will need/want to specify the "-map" command manually, and change these parameters. 23 28 24 29 == Input file ==
