Hi,<br>I am continuing to try to debug my ogg/theora decoder.<br><br>The issue seems to be that not enough packets are being pulled from the bitstream, here is some sample output from my player with some debugging comments put in:<br>
<br>(playback began at first frame, this is from the middle of the clip)<br><br>get page at 1765027<br>got packet<br>frame++, skip is 0<br>frame decoded<br>page processed, kframe=414 : offs=442<br><br>get page at 1769218<br>
got packet<br>frame++, skip is 0<br>frame decoded<br>page processed, kframe=414 : offs=443<br><br>get page at 1773554<br>got packet<br>frame++, skip is 0<br>frame decoded<br>page processed, kframe=444 : offs=444<br><br>get page at 1777860<br>
page processed, kframe=444 : offs=444<br>get page at 1782239<br>get page at 1786470<br>got packet<br>frame++, skip is 0<br>frame decoded<br>page processed, kframe=444 : offs=446<br><br>Here we can see that two pages are read in and passed into the stream, but only one packet is read (instead of two as the frame count would suggest). However, the sequence of these mesages indicates that the first packet has a non-video serial number (probably for the audio stream).<br>
<br>In other words, it seems like somebody is mixing audio and video in the same page, but the page is being ignored as the serialnumber does not match.<br><br>Anybody care to comment on this ? Again this is with the "experience ubuntu" video: <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>Regards,<br>Gabriel.<br><a href="http://lives.sourceforge.net">http://lives.sourceforge.net</a><br><br>