

-disposition:a:0 0 – will erase any previous disposition settings (in this example removing default and forced setting).-disposition:a:0 default – will define the first audio stream as default.-map 0:m:language:ger – will put the German stream as second audio stream.-map 0:m:language:eng – will put the English stream as first audio stream.-c copy – will just copy the streams without re-encoding.mkv - c copy - map 0 : v : 0 - map 0 : a : 1 - map 0 : a : 0 output.

To do that we can use the following command:įfmpeg - i input.

The second number y represents the stream within the input file. The first number x represents the number of the input file. Note on the enumartion ‘#x:y’: Counting starts with 0. If you defined English as your preferred audio language in your video player, with this example file the player would play the German language nevertheless. Stream 2: audio stream, English languageĪ forced audio stream will override the settings in your video player.Stream 1: audio stream, German language, set as default audio stream, forced audio stream.The multimedia file contains three streams (see highlighted lines in yellow): In this example you can see the following. _STATISTICS_TAGS - eng : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES

_STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES _STATISTICS_WRITING_APP-eng: mkvmerge v8.0.0 64bit _STATISTICS_WRITING_APP: mkvmerge v8.0.0 64bit
