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

cyril apan cyrilapan at yahoo.fr
Tue Sep 17 20:11:09 CEST 2013


>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.

You should know that video formats reserve some space for metadata. And a portion is dedicated to describe track properties like VBR/CBR, total time length and so on.
FFmpeg relies on those metadata to initiate everything but then can recompute some on the fly, some other tools allows to actually calculate those track metrics directly from track content, it's safer but slower of course.

Cheers,

Cyril APAN.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130917/38a6a5f8/attachment.html>


More information about the Libav-user mailing list