[MPlayer-users] xvid encode from HDTV MPEG audio sync problems...

Steve Adeff adeffs at gmail.com
Sun Jan 8 17:35:31 CET 2006


1.0pre7try2 and CVS from 05Jan06
Debian64, kernel 2.6.13

I've been trying to encode straight from an HDTV MPEG2 stream captured on my 
HD3000 to xvid using the following command line(s):

mencoder inputfile.mpg -oac copy -ovc xvid -vf pullup,softskip,scale=960:544 
-ofps 24000/1001 -xvidencopts 
pass=1:max_iquant3:max_pquant=6:max_bquant=7:vhq=0:me_quality=5:turbo:quant_type=mpeg:aspect=1.78:bitrate=-595000 
-o /dev/null

mencoder inputfile.mpg -oac copy -ovc xvid -vf pullup,softskip,scale=960:544 
-ofps 24000/1001 -xvidencopts 
pass=2:max_iquant=3:max_pquant=6:max_bquant=7:vhq=0:me_quality=5:turbo:quant_type=mpeg:aspect=1.78:bitrate=-595000 
-o outputfile.avi

Which ends up giving me an output with varying audio sync timing.

If I use the following process instead it, so far, works like a charm:

mencoder inputfile.mpg -oac copy -ovc lavc -vf pullup,softskip,scale=960:544 
-ofps 24000/1001 -lavcopts vcodec=huffyuv:format=422p:aspect=1.78 -o temp.huf

mencoder temp.huf -oac copy -ovc xvid -xvidencopts 
pass=1:max_iquant3:max_pquant=6:max_bquant=7:vhq=0:me_quality=5:turbo:quant_type=mpeg:aspect=1.78:bitrate=-595000 
-o /dev/null

mencoder temp.huf -oac copy -ovc xvid -xvidencopts 
pass=2:max_iquant=3:max_pquant=6:max_bquant=7:vhq=0:me_quality=5:turbo:quant_type=mpeg:aspect=1.78:bitrate=-595000 
-o outputfile.avi


The problem is, the huffyuv file created is like ~40gig, so being able to do 
it directly would be much better.

So, am I doing something wrong thats causing the audio sync problem, is there 
a bug? How do I figure this stuff out to see if it can be fixed?

Thanks!
Steve




More information about the MPlayer-users mailing list