[Vorbis] file io and reading ogg vorbis files

Ralph Giles giles at xiph.org
Sat Mar 4 15:49:46 PST 2006


On Sat, Mar 04, 2006 at 06:42:39PM -0500, Luis Cordova wrote:

> I am trying to find the specs for ogg vorbis but cannot find a complete spec
> online, I need to know the format of the headers and what to look for in
> order to sync, read, write, and manipulate the format easily with some
> functions.

The specification for the Vorbis bitstream is available at

  http://xiph.org/vorbis/doc/Vorbis_I_spec.html

see section 4.2 for a description of the headers.

Vorbis is typically embedded in the Ogg container format when stored on 
disk and transferred over http. See http://xiph.org/ogg/doc/ for 
documentation of this format, particularly the "bitstream overview" and 
"framing" documents. You will have to understand Ogg and either 
implement a subset of it or use libogg to get at the actual vorbis 
headers.

Feel free to ask if you any more specific questions!

Hope that helps,
 -r


More information about the Vorbis mailing list