[FFmpeg-devel] About guess_correct_pts / AVFrame.best_effort_timestamp
Nicolas George
nicolas.george
Wed Feb 16 17:35:51 CET 2011
L'octidi 28 pluvi?se, an CCXIX, M?ns Rullg?rd a ?crit?:
> No, he should put a special case for no PTS on an input frame:
>
> pts = frame.pkt_pts != AV_NOPTS_VALUE? frame.pkt_pts : prev_pts + 1/framerate;
> prev_pts = pts;
And this should be duplicated in all client applications?
> This code will always work.
I am rather dubious.
Regards,
--
Nicolas George
-------------- 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/06889a91/attachment.pgp>
More information about the ffmpeg-devel
mailing list