[Libav-user] Seeking, timestamps, AVFrame, AVStream

James Board jpboard2 at yahoo.com
Tue Sep 17 16:45:01 CEST 2013


>Timebase simply defines the maximum granularity of your timestamps. If

>for some reason (e.g. to synchronize frames with content from other
>tracks in the same file) there can be cases where it needs to be finer
>than 1/frame rate. If you just learn how to calculate with it (see the
>formula in my earlier mail), you don't have to rely on the assumption
>that PTS == frame number and it is not really more work. Good luck!

Okay, that's helpful. But then how and where and by what program is 
timebase calculated?  Do the ffmpeg tools calculate it?  I don't see 
how they can.  They'd have to look at every frame in the video and
that could take a very long time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130917/47f92b8c/attachment.html>


More information about the Libav-user mailing list