[MPlayer-dev-eng] [PATCH] buffered pts when -correct-pts

Pásztor Szilárd don at tricon.hu
Tue Aug 17 10:01:58 CEST 2010


Reimar Döffinger:
> Almosgt certainly not. At most PAFF-interlaced streams. MBAFF-interlaced
> actually will be broken.
> And even PAFF-interlaced only due to the H.264 parsers being broken,
> incorrectly splitting each field into a packet instead of always having a
> full frame per packet.

Ok, I certainly don't know every single stream. Still, it is a long-standing
bug that completely prevents smooth playback of all H.264 interlaced streams
I've encountered so far, 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. This is the reason why playback was jerky. If users are complaining
that VLC plays smoother, they are right. But this is a quick fix for that.

There has been really nice work going on with correcting pts.
And if there's a more suitable fix to the problem than my not-so-nice hack,
then be it, I'd be happy to see a more appropriate solution. But as for the
bug, there was clear in the source inconsistency between splitting fields
into separate packets then reporting only full frames as decoder lag.

s.

        ----------------------------------------------------------------
        |  In the battle between you and the world, bet on the world.  |
        ----------------------------------------------------------------


More information about the MPlayer-dev-eng mailing list