[MPlayer-dev-eng] DVD a/v sync

attila attila at pai.kinali.ch
Sun Jul 18 10:56:09 CEST 2004


On Mon, Mar 22, 2004 at 02:14:01PM -0500, Andrew Leiserson wrote:
> Can somebody explain the DVD sync code around line 500 of
> libmpdemux/video.c? 
> 
> Do people still have problems with DVD audio being ~80 ms off in
> mencoder? I have been seeing it consistently in the reported numbers in
> the mencoder output and somewhat in the output (although 80 ms is often
> not noticeable).

If this is really the case, this should be fixed.
And i dont consider 80ms as small, i feel even 30ms a/v desync
and from above ~50ms i can tell which one comes first.

> I think I managed to improve the situation be replacing the big if-else
> with:
> 
> if(picture_coding_type<=2 && pts) {
> 	sh_video->pts = pts;
> }

the big if-else.... there are many of them, which one do you mean ?


			Attila Kinali




More information about the MPlayer-dev-eng mailing list