[FFmpeg-user] Help with creating MP4 video with multiple audio tracks

Nicolas George george at nsup.org
Mon Jan 18 09:41:23 EET 2021


Chiara via ffmpeg-user (12021-01-18):
> I’m new to this, so I apologize if I’m missing something trivial. I
> need to create an .mp4 video output with multiple audio tracks in it.
> I run the command:
> 
> ffmpeg -i sample-mp4-file.mp4 -i hindi.aac -i tamil.aac -i telugu.aac
> -map 1 -map 2 -map 3 -metadata:s:a:0 language=eng -metadata:s:a:1
> language=tam -metadata:s:a:2 language=tel -metadata:s:a:3 language=hin
> -codec copy multilanguage.mp4
> 
> However, the output includes only the multiple audio tracks with no
> video (0 kB)

You have not mapped the video file.

Regards,

-- 
  Nicolas George


More information about the ffmpeg-user mailing list