[FFmpeg-user] Several audio tracks encoding issue

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Apr 2 13:32:25 CEST 2013

Andrey Aleksandrovich writes:

> localhost $ ffmpeg -i v.avi -i a1.wav -i a2.wav -map 0:0 
> -map 1:0 -map 2:0 -c:v mpeg4 -qscale:v:0 3 -c:a:0 libmp3lame 
> -qscale:a:0 4 final.avi -c:a:1 libmp3lame -qscale:a:1 4 -newaudio

The newaudio option was dropped years ago, map is sufficient now.
Note that options after an output file name have no effect on 
the output file - in your case "-c:a:1 libmp3lame".
(Does qscale really work for lame?)

> ffmpeg version 0.10.3 Copyright (c) 2000-2012 the FFmpeg developers

Please update to current git head, 0.10 is 
quite outdated.

Carl Eugen

More information about the ffmpeg-user mailing list