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

Steaphan Greene sgreene at cs.binghamton.edu
Mon Jun 13 05:12:08 CEST 2011


In recently updating my version of mplayer, I noticed it no longer
maintains A/V sync when playing vob files of any reasonable length
(vdpau output plugin, ffmpeg12vdpau video decoder, ffac3 audio decoder).

I've confirmed this with several different vob files, all of which sync
fine in other players, including previous versions of mplayer.

After narrowing it down with a binary search across SVN's timescape, I
confirmed the problem was created by commit r32056, log entry is:

	Improve A/V sync when not using -correct-pts.
	This fixes at least playing PAFF streams with the native ts demuxer.
	(Breaks the non-standard -demuxer lavf -nocorrect-pts.)

	Patch by Pásztor Szilárd, bartosteka freemail hu

So that sounds like a good culprit.  The diff doesn't seem that complex,
but I have no great understanding of this part of the code.  My plan is
to gain that understanding, but I figured I'd throw this out to the list
first, in case someone who already has that understanding wants to save
me some time, and knows more of what the problem might be.

Anyone have any ideas how to fix this problem without compromising the
intended gains of this original modification?  If not, I'll just muddle
through it on my own until I run into the solution, then post it.

Thanks.

-- 
Steaphan Greene <sgreene at cs.binghamton.edu>
Lecturer, Computer Science, Binghamton University
GPG public key: http://www.cs.binghamton.edu/~sgreene/gpg.key.txt


More information about the MPlayer-dev-eng mailing list