[vorbis-dev] Just looking for some information...

Monty xiphmont at xiph.org
Sat Oct 9 11:46:15 PDT 1999



> If it's a true stream, you can't know; you're potentially decoding while
> encoding may still be taking place.  When you *do* have access to a whole
> stream, the PCM position that a page represents in the original stream is part
> of the page header (frameno). 

Ack, I forgot to explain the implication of that.  What you need to do is grab 
the last page of a bitstream, and look at its 64 bit sample frame position 
field (frameno).  With chaining, you'll need to look a little harder as you'll 
have more than one bitstream.  I'll write example code.

Monty

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/



More information about the Vorbis-dev mailing list