[MPlayer-dev-eng] A-V sync handling

Dan Oscarsson Dan.Oscarsson at tieto.com
Mon Oct 5 10:35:17 CEST 2009


On 2009-10-04 at 19:30 +0300 Uoti Urpala wrote:

> > For every frame, mplayer will adjust "delay" when it compares pts values
> > (in adjust_sync_and_print_status) to correct the A-V sync. If you get
> > inconsistent timestamps or resets, you should get the same problem
> > there. Or am I missing something?
> 
> You are missing something, perhaps that the adjustment does not try to
> force immediate match in audio and video pts like straightforward timing
> code using the pts values directly would do.

Yes, that is right. That can be implemented. Though my current code
adjusts quicker then standard mplayer (with default options) which is
sometimes better.

   Dan




More information about the MPlayer-dev-eng mailing list