

Tip: You can add -c copy to many of these examples to enable stream copy mode. If stream_type_specifier is used then the stream_index only refers to the selected stream type and ignores all other stream types. stream_index (optional) will select a specific stream.Most of the examples below use stream specifiers. Stream specifiers include video, audio, subtitles, data, a ttachments. stream_type_specifier (optional) is a stream specifier which will limit the selection to a specific stream type.input_file_index refers to an input and by default will include all of its streams.map input_file_index:stream_type_specifier:stream_index Using the -map option disables the default stream selection behavior and allows you to manually choose streams.

The default stream selection will choose streams based upon specific criteria.For example, if the input has 3 video streams it will only choose 1. Only 1 stream per type will be selected.

