<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:12pt"><div style="font-family: tahoma, new york, times, serif; font-size: 12pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;">>Okay, that's helpful. But then how and where and by what program is <br><div class="y_msg_container"><div id="yiv1231454987"><div><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:12pt;"><div style="font-family:times new roman, new york, times, serif;font-size:12pt;"><div style="font-family:times new roman, new york, times, serif;font-size:12pt;"><div class="yiv1231454987y_msg_container">>timebase calculated?  Do the ffmpeg tools calculate it?  I don't see <br>>how they can. 
 They'd have to look at every frame in the video and<br>>that could take a very long time.<br><br>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.<br>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.<br><br>Cheers,<br><br>Cyril APAN.<br></div></div></div></div></div></div></div> </div> </div>  </div></body></html>