[FFmpeg-devel] Maintainership question
Sun Feb 13 13:58:31 CET 2011
> Reimar D?ffinger <Reimar.Doeffinger at gmx.de> writes:
> > On Sun, Feb 13, 2011 at 01:15:36AM +0000, M?ns Rullg?rd wrote:
> >> Nicolas George <nicolas.george at normalesup.org> writes:
> >> > Now, the first question: should this timestamp guessing logic exist at all?
> >> >
> >> > After a client application calls avcodec_decode_videoX, it has no less than
> >> > four potential timestamps for this frame:
> >> > - the packet PTS,
> >> > - the packet DTS,
> >> > - the reordered PTS,
> >> > - the codec timestamp.
> >> There is no such thing as a "codec timestamp".
> > Then call it "what you would get when you dumped the video as raw ES stream
> > and then played it back".
> That would be a frame counter.
it would be tricky if it's a soft telecined video, where some fields should
be displayed longer... it was a big hack in mplayer too
More information about the ffmpeg-devel