[MPlayer-users] Audio and video slowly drifting out of sync

Uoti Urpala uoti.urpala at pp1.inet.fi
Thu Mar 25 22:01:40 CET 2010


On Thu, 2010-03-25 at 15:42 -0500, Rolf Ernst wrote:
> On 3/25/2010 3:36 PM, Uoti Urpala wrote:
> > On Thu, 2010-03-25 at 10:13 -0400, TJ wrote:
> >    
> >> When playing HD files encoded with h.264, video progressively goes out of sync
> >> with (lags behind) the audio. I tried it on 2 different computers. Here are the
> >> commands I used:
> >>      
> >    
> >> I am using MPlayer SVN-r29796-4.3.4.
> >>      
> >    
> >> I was thinking maybe this has something to do with the monitor refresh rate
> >> being 60Hz while the video is 59.94Hz.
> >>      
> > Yes this problem is most likely related to the frame rates. It's a
> > limitation of the VDPAU driver (also shared by some other video outputs)
> > in MPlayer svn.
> >
> > Try compiling a player from
> > git://repo.or.cz/mplayer-build.git
> >
> > That has superior VDPAU support and should avoid this problem.
> > (Depending on your linux distro there may be precompiled packages
> > available in case you don't want to compile yourself.)
> >
> Is it drifting out of sync only during playback or also when you seek 
> forward. Say you start playback in the middle - is this also out of 
> sync? If this is the case I doubt it is related to the display driver 
> but happens at encoding time.

I think your mail is a bit confusingly worded as you're replying to my
comments but clearly addressing the original poster. Anyway, what he
said about the effects of -framedrop makes it almost certain that it's
not an encoding problem.



More information about the MPlayer-users mailing list