[MPlayer-users] audio not in sync even with -oac copy -mc 0

* afe0108 at yahoo.com
Sun Aug 8 17:03:08 CEST 2004


--- Nico Sabbi <nsabbi at tiscali.it> wrote:
> Il dom, 2004-08-08 alle 01:22, * ha scritto:
> > Hello, I'm encoding several telecined DVDs (old TV show) and the
> > audio for some of the encoded avis seems to be about 1/2 sec
> > ahead of the video, despite the A-V field always hovering around
> > zero.  The audio is perfect in the vob file from the DVD.
> > 
> > Here are the commands I'm using:
> > 
> > mencoder -aid 128 -oac copy -mc 0 -ovc lavc
> >     -lavcopts mbd=2:mv0:trell:cbp:precmp=2:cmp=2:subcmp=2:
> >               vmax_b_frames=1:predia=2:dia=2:preme=2:vme=4:v4mv:
> >               vbitrate=1752:vpass=1
> >           -vf pullup,softskip,crop=700:480:8:0,hqdn3d=0:0:3,
> >               scale=640:480
> >           -sws 9 -ofps 24000/1001 -o /dev/null movie.vob
> > 
> > mencoder -aid 128 -oac copy -mc 0 -ovc lavc
> >     -lavcopts mbd=2:mv0:trell:cbp:precmp=2:cmp=2:subcmp=2:
> >               vmax_b_frames=1:predia=2:dia=2:preme=2:vme=4:v4mv:
> >               vbitrate=1752:vpass=2
> >           -vf pullup,softskip,crop=700:480:8:0,hqdn3d=0:0:3,
> >               scale=640:480
> >           -sws 9 -ofps 24000/1001 -o movie.avi movie.vob
> > 
> > I've tried both with and without -mc 0 but it doesn't seem to
> > make any difference.  Any other suggestions?  I'm using MPlayer
> > 1.0pre5-3.3.3.
> > 
> > 
> > 
> 
> try -mc <some_small_value> such as 0.1
> 
>
Argh, that works!  Thanks.  Except the audio is still visibly
out of sync with 0.1, I have to increase it to 1.  I'm not sure
I can tell any difference between 1 and 10, except the file size
is slightly smaller- I assume it is dropping a few more frames.
Maybe I should just use 10 to make sure the audio is in sync?

I thought I remember reading that the sync code in mencoder was
really broken and that you should use mc 0.  Apparently it still
has some use though.




		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail




More information about the MPlayer-users mailing list