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

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Sep 2 08:11:32 CEST 2010


On Wed, Sep 01, 2010 at 11:16:34PM +0200, Pásztor Szilárd wrote:
> 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.

Actually what we use is not the fps but the time base (though I
think that FFmpeg also still cannot guess the fps right for this
case).
And if we wouldn't be munging two fields into a single frame that
would be very reasonable to do.


More information about the MPlayer-dev-eng mailing list