[MPlayer-dev-eng] [PATCH] unified timing patch for H264

Pásztor Szilárd bartosteka at freemail.hu
Wed Sep 1 23:16:34 CEST 2010


I don't know what struck the world (or this list server) but
I again fail to receive mails properly... now I only can see
replies in the list archives again.

Carl Eugen Hoyos:
> Do we still care about -demuxer lavf -nocorrect-pts?
> It is completely broken with your patch (and a PAFF stream).

It is "broken" because of incompatible frame rate recognition.
If you specify the proper frame rate with -fps, demuxer lavf
works properly with nocorrect-pts too. This is because the lavf
demuxer goes for the "largest common divisor" at the frame rate
(the minimally needed running cycle time) and in case of an
interlaced stream, it means halving the "framerate" for the
internal loop. But then it becomes incompatible with the
standard muxers that have a different approach towards cycle
time.
I think the correct-pts option for lavf is a good default and
it is for a reason. For the other muxers, both modes are OK.

So this is originated in the inherent difference between the
demuxers' logics and you can't have both at the same time.

(And I personally prefer the "conventional" approach over what
lavf does.)


More information about the MPlayer-dev-eng mailing list