Multiple audio versions
March 5, 2022
1:32 PM
Q:
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?
From <[link]> 
A:
ffmpeg -i video -i audio1 -i audio2 -i audio3 -i audio4 -i audio5 \
-map 0:v -map 1:a -map 2:a -map 3:a -map 4:a -map 5:a \
-metadata:s:a:0 language=eng -metadata:s:a:0 title="Title 1" \
-metadata:s:a:1 language=sme -metadata:s:a:1 title="Title 2" \
-metadata:s:a:2 language=ipk -metadata:s:a:2 title="Title 3" \
-metadata:s:a:3 language=nob -metadata:s:a:3 title="Title 4" \
-metadata:s:a:4 language=swa -metadata:s:a:4 title="Title 5" \
-c:v copy -c:a libopus [file]
From <[link]> 