[FFmpeg-devel] [SPAM] Re: Floating point dts, pts

Hendrik Leppkes h.leppkes at gmail.com
Mon Jan 23 18:19:22 CET 2012


On Mon, Jan 23, 2012 at 6:14 PM, C Chatterjee <cchatterj at hotmail.com> wrote:
>
> Timebases are rationals which is great.
> But pts, dts, duration are not.
>
> Right now for 30fps, the dts will be 0, 33, 67, ... when they can be 0, 100/3, 200/3, .... more accurate.
> The stream time bases can remain the way they are 1/1000 or 1/90000.
> Adjusting the stream time bases to make the dtss integers is not advisable since stream time bases are used in many other calculations like pcr in TS which require accuracy and precision.
>

But files contain integer timestamps, based on some time base, its
never rounded. So where would the extra precision come from?


More information about the ffmpeg-devel mailing list