[vorbis-dev] Given ONLY an ogg packet, can one be able to decode the packet to PCM?

Stan Seibert volsung at xiph.org
Mon Apr 12 13:57:28 PDT 2004



Kenji Chan wrote:

> Given ONLY an ogg packet, can one be able to decode the packet to PCM?
>
> And how ogg vorbis know the info of it (bitrate..etc) in order to 
> decode it?
>
The vorbis codec requires several header packets for initialization 
before it can decode any packets with audio information.  These header 
packets give the sample rate, number of channels, and the specific 
codebooks.

More details are explained in: 
http://www.xiph.org/ogg/vorbis/doc/vorbis-spec-intro.html


---
Stan Seibert

--- >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