Ogg
|
Ogg is a patent-free, fully open multimedia bitstream container format designed for efficient streaming and file compression (storage).
The name "Ogg" hence refers to the file format which includes a number of separate independent open source codecs for both audio and video. Files ending in the .ogg extension may be of any Ogg media filetype, and because their use is free, Ogg's various codecs have been incorporated into a number of different free and commercial media players. The term "Ogg" sometimes incorrectly refers to the Vorbis audio codec. Other prominent components of Ogg are its video codec Theora, and the human speech audio compression format, Speex.
Contents |
The Ogg file format
The Ogg bitstream format, spearheaded by the Xiph.org Foundation, has been created as the framework of a larger initiative aimed at developing a set of components for the coding and decoding of multimedia content which are both freely available and freely re-implementable in software.
The format consists of chunks of data each called an Ogg Page. Each page begins with the "OggS" string which can be used to identify the file as Ogg.
A serial number and page number in the page header identifies each page as part of a series of pages which make up a bitstream. Multiple bitstreams may be muxed in the file where pages from each bitstream ordered by the seek time of the contained data. Bitstreams may also be appended to existing files, a process known as chaining, to cause the bitstreams to be decoded in sequence.
Ogg_stream.png
Ogg Stream Example
A BSD-licensed library, called libogg, is available to encode and decode data from Ogg streams. Independent Ogg implementations are used in several projects such as RealPlayer and a set of DirectShow filters.
It is often assumed that the name "Ogg" comes from the character of Nanny Ogg in Terry Pratchett's Discworld novels. Rather, it is jargon that arose in the computer game Netrek, originally meaning a kamikaze attack, and later, more generally, to do something forcefully, possibly without consideration of the drain on future resources. At its inception the Ogg project was thought to be somewhat ambitious given the power of the PC hardware of the time.
The Ogg bitstream is defined in RFC 3533 and its MIME media type (application/ogg
) in RFC 3534. Its current version, released on September 23, 2004, is 1.1.2 (http://lists.xiph.org/pipermail/vorbis-dev/2004-September/017693.html).
Ogg codecs
- Text codec
- Writ: a text codec designed to embed subtitles or captions
- Video codecs
- Theora: based upon On2 (http://on2.com/)'s VP3 adapted to the Ogg framework, multiplexed with Vorbis-encoded audio channels
- Tarkin: an experimental codec utilizing 3D wavelet transforms
Proprietary alternatives
Various components of the project are intended to stand as alternatives to proprietary codecs such as:
- MP3 and MPEG
- RealAudio and RealVideo
- QuickTime streaming format and its codecs
- The RIFF format and its derivates such as WAV and AVI and their respective codecs
- The Advanced Streaming Format with its Windows Media Audio and Windows Media Video codecs
External links
- Xiph.org Foundation's Ogg page (http://www.xiph.org/ogg/)
- Xiph.org Foundation's page on names (http://www.xiph.org/xiphname.html)
- RFC 3533 - The Ogg Encapsulation Format Version 0
- RFC 3534 - The application/ogg Media Type
- "RareWares" Ogg Vorbis software page (http://www.rarewares.org/ogg.html)
- Ogg etymology (http://www.catb.org/~esr/jargon/html/O/ogg.html) from the Jargon File