[FFmpeg-user] Copy input audio in file to two tracks in output audio file

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Jun 22 22:38:48 CEST 2012


Christian <plymouth78 <at> googlemail.com> writes:

>     Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x800, ...
>     Stream #0:1(ger): Audio: ac3, 48000 Hz, 5.1(side), s16, 640 kb/s (default)
>     Stream #0:2(ger): Subtitle: text (default)

Should be:
$ ffmpeg -i Departed.mkv -map 0:0 -map 0:1 -map 0:1 -c:v copy 
-c:a:0 aac -strict experimental -c:a:1 copy out.mp4

(You can of course use another aac encoder.)

I suggest you do not use the -tag option, there may be a bug if you 
believe you need it.

Carl Eugen



More information about the ffmpeg-user mailing list