I've checked if there was a thread like this one, but seems like either there was none or i suck at searching.
Anyways, to the the point.
I wanted to create a video file with different audio tracks where every audio track is basically same but in different lanugage. I've got five audio tracks in *.wav, and I need to combine them with video so the output file will be a video where user will be able to choose on of the 5 available audio tracks to play along with the video, like language selection in dvd.
I'm not sure if should i try the 'map', 'concat', or something totally different?
Appreciate any help with that.
Cheers.
Best Answer
In this case you can't rely on the default stream selection behavior, so use the
-map
option to choose each desired stream.You can set the language and/or title metadata for each audio stream. See ISO 639-2/T for the 3 letter code.
This example will stream copy (re-mux) the video instead of re-encoding it.
You did not specify the required output formats, so I just chose the encoder libopus and Matroska output container format.