[FFmpeg-devel] About guess_correct_pts / AVFrame.best_effort_timestamp
Michael Niedermayer
michaelni
Wed Feb 16 20:09:49 CET 2011
On Wed, Feb 16, 2011 at 06:48:06PM +0000, M?ns Rullg?rd wrote:
> Martin Storsj? <martin at martin.st> writes:
>
> > On Wed, 16 Feb 2011, M?ns Rullg?rd wrote:
[...]
> > So given this, I could either use AVFrame.pkt_pts, if set, or
> > AVFrame.pkt_dts if that exists instead, and if that doesn't exist either,
> > I'd have to revert to calculating it from the frame rate.
>
> This works under the assumption that the decoded picture buffer has a
> constant size. If this is not true for some codec, using input DTS as
> output PTS will not work. VP8 is an example of a codec where this is
> not true.
the use of dts can trivially be disabled for such codecs
its a matter of a CODEC_CAP_ flag being added to the 1 or 2 codecs that are
affected.
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Frequently ignored awnser#1 FFmpeg bugs should be sent to our bugtracker. User
questions about the command line tools should be sent to the ffmpeg-user ML.
And questions about how to use libav* should be sent to the libav-user ML.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110216/20862856/attachment.pgp>
More information about the ffmpeg-devel
mailing list