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

Michael Smith msmith at xiph.org
Mon Apr 12 19:09:25 PDT 2004



On Tuesday 13 April 2004 06:27, 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?

An ogg packet is just a generalised chunk of binary data - it has no meaning 
by itself. Do you mean a 'vorbis packet'? If so, the answer is no - vorbis 
requires the header packets (of which there are 3; the second is metadata and 
is not crucial) to allow decode.

Mike

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