Kenji Chan
2004-Apr-12 13:27 UTC
[vorbis-dev] Given ONLY an ogg packet, can one be able to decode the packet to PCM?
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? <p><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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Stan Seibert
2004-Apr-12 13:57 UTC
[vorbis-dev] Given ONLY an ogg packet, can one be able to decode the packet to PCM?
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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Michael Smith
2004-Apr-12 19:09 UTC
[vorbis-dev] Given ONLY an ogg packet, can one be able to decode the packet to PCM?
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@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Maybe Matching Threads
- What is the format of the PCM/WAV dataforspeex_encode & speex_decode?
- Can I join many ogg_packet together and decode it to PCM?
- What is the format of the PCM/WAV data for speex_encode & speex_decode?
- What is the format of the PCM/WAV dataforspeex_encode & speex_decode?
- What is the format of the PCM/WAV data forspeex_encode & speex_decode?