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

Fabien Wernli wernli at in2p3.fr
Fri Oct 1 14:38:13 CEST 2004


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

hoping this helps




More information about the MPlayer-users mailing list