[MPlayer-users] MEncoder: my avi output file has no audio (long)

D Richard Felker III dalias at aerifal.cx
Fri Oct 1 17:53:16 CEST 2004


On Fri, Oct 01, 2004 at 02:38:13PM +0200, Fabien Wernli wrote:
> On Fri, Oct 01, 2004 at 01:30:16PM +0200, Ivo wrote:
> > Hi,
> > I worked encoding a dvd using these couple of commands:
> > 
> > mencoder dvd://1 -dvd-device /home/prova/DVD/UNDERWORLD \
> > -aid 129 -info name=Underworld:genre=Fantasy -oac lavc -ovc lavc \
> > -lavcopts acodec=ac3:abitrate=128:vcodec=mpeg4:vbitrate=1487:v4mv:\
> > autoaspect:trell:mbd=2:dia=6:keyint=125:vpass=1 \
> > -vf crop=720:432:0:72,scale=1024:-2 -sws 2 -o /dev/null
> > 
> > mencoder dvd://1 -dvd-device /home/prova/DVD/UNDERWORLD \
> > -aid 129 -info name=Underworld:genre=Fantasy -oac lavc -ovc lavc \
> > -lavcopts acodec=ac3:abitrate=128:vcodec=mpeg4:vbitrate=1487:v4mv:\
> > autoaspect:trell:mbd=2:dia=6:keyint=125:vpass=2 \
> > -vf crop=720:432:0:72,scale=1024:-2 -sws 2 \
> > -o '[DIVX UHQ ITA] Underworld.avi'
> > 
> > but the result is an avi file that has no audio.
> > If  I encode only 1 chapter (I only added "-chapter 2-2") all works well, the volume
> > is quite low but I can play it correctly with mplayer and xine.
> > I'm not able to understand where I wrong so please can someone help me?
> > Thanks
> > 
> 
> Hi,
> 
> quite new to this, but le me add my opinion:
> 
> 1) doing 2-pass encoding make sure there is no frameno.avi from previous
> 3-pass: rm frameno.avi
> 
> 2) it's no use encoding the audio in the 1st pass: use -oac copy

bad idea. a/v sync will happen differently, different frame
drops/dups, and the 2pass stats will be wrong.

rich




More information about the MPlayer-users mailing list