[FFmpeg-user] Changes to multiply audio track encoding in FFMPEG-0.9

Ross Alexander Ross.Alexander at EMEA.NEC.COM
Tue Dec 13 14:18:18 CET 2011


This isn't a bug report as such but  note saying the old method of encoding multiply audio tracks using the -newaudio parameter no longer works.  Also the syntax for map has changed since version 0.8.x.

Below is an example of converting a VOB rip to AVC/AAC/MP4 with multiple audio streams.  Subtitles work the same way with -c:s copy or -c:s dvdsub for examaple.

ffmpeg -i NCIS.03.01.KillAriPart1.vob -c:v libx264 -preset fast -tune film -vprofile main -crf 26 -map 0:0 -c:a libfaac -ab 128k -ac 2 -ar 44100 -map 0:2 -c:a libfaac -ab 128k -ac 2 -ar 44100 -map 0:3 -c:a libfaac -ab 128k -ac 2 -ar 44100 -map 0:4 -c:a libfaac -ab 128k -ac 2 -ar 44100 -map 0:5 -threads 8 -f mp4 -y out/NCIS.03.01.KillAriPart1.mp4

Regards,
Ross


More information about the ffmpeg-user mailing list