[MPlayer-dev-eng] r32056 Causes Loss of A/V Sync with VOB files

Ivan Kalvachev ikalvachev at gmail.com
Sat Jun 18 13:49:19 CEST 2011


On 6/18/11, Reimar Döffinger <Reimar.Doeffinger at gmx.de> wrote:
> On Fri, Jun 17, 2011 at 03:01:43AM -0400, Steaphan Greene wrote:
>> Also, I was able to reproduce this same problem with other vo
>> settings, including vo=vdpau without interlacing and vo=xv, and
>> using different -speed settings.
>
> Then please provide details.
> I tried to reproduce with
> -vf scale=2000:2000,yadif,yadif -vo xv -framedrop
> and while it drops a lot of frames it keeps sync just fine.
> Same even with -hardframedrop

I suspect that the sample may have something to do with soft telecine or
at least with field repeat flags. Maybe the move interfered with
libmpdemux/video.c pts calculations.

Anyway... The code in mplayer.c looks kind of fishy... For one, if the
purpose of the code is to smooth the framerate change, then we should
use 2 set of variables one for the original pts and one for the
smoothed. The most interesting part is that there are 2 sets, last_pts
and pts, but they are both set to same (in)'corrected' value.


More information about the MPlayer-dev-eng mailing list