[MPlayer-dev-eng] [PATCH] buffered pts when -correct-pts
Dan Oscarsson
Dan.Oscarsson at tieto.com
Tue Aug 17 12:51:23 CEST 2010
tis 2010-08-17 klockan 10:44 +0200 skrev Pásztor Szilárd:
> > > and they were from many Blu-rays, and practically
> > > all HDTV streams. And same as with others - I recently saw in the users
> > > list archives that a Danish user complained about jerky playback and even
> > > sent a sample.
> >
> > Which is not fixed by your patch...
>
> It is indeed "fixed". This is the same problem. But let me emphasize that it
> is independent of the demuxer; it is only a matter of correct-pts being
> enabled or not which is an issue AFTER we've been demuxed. It's only that
> different demuxers set this correct-pts differently by default.
Actually I think there are two problems. You have one with interlaced
streams. The problem I have had is with a friends DVB-T/H.264 mpegts
files from recorded Danish TV broadcasts. In my files the problem was
that pts values were not reordered due to that reordering was not
enabled in dec_video or did wrong when -correct-pts was enabled.
I have posted patches for my case, either fix so MP_NOPTS_VALUE is
sorted or always have reordering enabled. I am currently having
reordering enabled at all times (even when -correct-pts is not given)
and have not had any problems with that.
But your problem is with interlaced video (which I assume mine are not
as they works fine with my patches) where the "decoder lag" is reported
incorrectly. Maybe the correct patch for that is to correct the code
returning the incorrect "decoder lag" instead of patching reorder code
to always use twice "decoder lag" value.
Dan
More information about the MPlayer-dev-eng
mailing list