[FFmpeg-devel] Big frames and packet timestamp
michaelni at gmx.at
Mon Sep 17 02:58:03 CEST 2012
On Sun, Sep 16, 2012 at 11:30:58AM +0200, Nicolas George wrote:
> Le decadi 30 fructidor, an CCXX, Michael Niedermayer a écrit :
> > if iam not missing something
> > the decoder should set correct timestamps in AVFrame based on the
> > timestamps on its input.
> The problem is: a lot of applications do not use the timestamp in AVFrame;
> ffplay is one.
> For video, the pts field in AVFrame is the value that comes from the
> bitstream, if any, and is frequently unusable because it is not updated when
> doing, for example, a partial stream copy: the correct timestamp is the
> packet's PTS, and people use that.
the decoder could update pkt_dts/pts
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
No great genius has ever existed without some touch of madness. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel