I am trying to figure out how theora timestamps map to absolute time values. This information would be needed to seek by 1 sec, 5 secs etc.<br>I understand the granulepos is interpreted as Absolute number of key frames so far | number of frames since last key frame. E.g. 1000|1, 1000|2, ...<br>
How does this map to absolute time in millisecs since the start, I can think of the following formula:<br>Total number of frames = Total number of keyframes * Key frame interval + prediction frames<br>Total number of millisecs = (Total number of frames / Frame rate) * 1000<br>
<br>Is this correct?<br>If so, where does the key frame interval come from, I don&#39;t think it is in the Identification or the setup headers.<br>Thanks in advance.<br>pushkar<br>