[vorbis-dev] Determining stream type

Ralph Giles giles at ashlu.bc.ca
Sun Feb 4 15:14:56 PST 2001



On Sun, 4 Feb 2001, Martin C. Martin wrote:

> Thanks for the quick response.  How do the headers affect streaming
> currently?  i.e. if you tune in to an icecast boadcast half way through
> a song, does the server send a header packet, then skip the first half
> of the song, then send a middle-of-song packet?  I had pictured the
> decoder just picking up in the middle of a physical bitstream, but it
> seems the header info is needed to initialize the decoder.  Can you
> clarify?

Yep. The vorbis headers actually span the first three packets, and include
parameters (like the codebooks) that are necessary for the decode. To make
life a little easier, an ogg page flush is specified after the third
header packet.

Hope that helps,
 -ralph

--- >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 'vorbis-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 Vorbis-dev mailing list