<br><br><div class="gmail_quote">On Tue, Nov 18, 2008 at 7:28 AM, Ralph Giles <span dir="ltr">&lt;<a href="mailto:giles@xiph.org">giles@xiph.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Tue, Nov 18, 2008 at 2:21 AM, salsaman &lt;<a href="mailto:salsaman@gmail.com">salsaman@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Right, that is what I would expect. I think I will write an ogg file checker<br>
&gt; that checks all granulepos and keyframes to make sure the problem is not in<br>
&gt; my test files. Some of the files were created with older versions of the<br>
&gt; encoder. For example I have one file where I need to subtract 2 from all<br>
&gt; keyframe values in order for it to decode properly.<br>
<br>
</div>Hmm. Some of the alpha encoder releases recorded the frame index, not<br>
the frame count. Such stream declare their version to be 3.2.0 instead<br>
of 3.2.1 as in the current theora spec.<br>
<font color="#888888"><br>
&nbsp;-r<br>
</font></blockquote></div><br>Yes, I think the file <a href="http://upload.wikimedia.org/wikipedia/commons/0/0c/Experience_ubuntu.ogg">http://upload.wikimedia.org/wikipedia/commons/0/0c/Experience_ubuntu.ogg</a><br><br>is like that (0 based keyframes).<br>
<br>I am seeing other oddities in the file (I think) maybe somebody can confirm or deny this:<br><br>there is a granulepos 68516 in the file, which is (1070,1106) zero based. If I begin decoding from that page, I get (2 pages) [68516, 68518] 1107 (?), (2 pages) [68518, 70976] 1108 (?)&nbsp; (keyframe) (2 pages) 1109 (?).<br>
<br>However, the keyframe should be 1109 (zero based) according to later gpos.<br><br>I think what is messing me up is that there are 2 granulepos in a row with the same value. If I start from the second page with gpos of x, then I miss a page (because I should be starting on the first occurance of x).<br>
<br>Surely the second page should have granulepos of -1 ? Is this another known issue ?<br><br>Is this something that ogg_page_packetsout() could solve ?<br><br><br>Regards,<br>Gabriel.<br><a href="http://lives.sourceforge.net">http://lives.sourceforge.net</a><br>
<br><br><br>