[theora-dev] question about ogg mapping
dan at on2.com
Thu Jun 12 09:49:00 PDT 2003
> From: Mauricio Piacentini [mailto:mauricio at tabuleiro.com]
> Answering my own question: by walking through the code I can
> see that each
> packet has its own granulepos, so it should not be a big
> issue , provided
Incorrect -- each *page* has a granulepos. The data packet itself starts with a zero (one == header packet), then there's a 'predicted' bit (0=keyframe), etc -- no granulepos at all, that's an Ogg thing.
It occurs to me that as it stands, there is actually no way to even get to the second frame in a page without parsing through the whole first frame and so on. There isn't even a bytecount or anything to skip frames -- that info is buried deep within the bitstream structure.
<p>> those are being set correctly. Not sure however if there are
> for seeking, we have to try and see what happens. I suspect
> we can simply
> stuff more packets in a page, up to the optimal 4-8k number.
___ Dan Miller
(++,) Founder, On2 Technologies
--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'theora-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Theora-dev