Ogg
From Freepedia
- For help with sound or video, see Wikipedia:Media help. For other meanings of this term, please see 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 the format is free, Ogg's various codecs have been incorporated into a number of different free and commercial media players.
The term "ogg" sometimes refers to the audio file format Ogg Vorbis, that is Vorbis encoded audio in an Ogg container. Other prominent components of Ogg are its video codec Theora, and the human speech audio compression format, Speex.
Contents |
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 are 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.
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.
History
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. The current Ogg version, released on September 23, 2004, is 1.1.2.
Ogg codecs
Ogg is only a container format. The actual music or video will be stored as a codec inside an Ogg container. Ogg containers may contain mutiple codecs, for example, an audio video file may contain both an audio codec and a video codec.
Ogg can embed the following codecs:
- Text codec
- Writ: a text codec designed to embed subtitles or captions
- Video codecs
- Theora: based upon On2's VP3 adapted to the Ogg framework, multiplexed with Vorbis-encoded audio channels
- Tarkin: an experimental codec utilizing 3D wavelet transforms. This is no longer supported (ie Deprecated).
Ogg clients
Patent-free open source alternatives
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
- Xiph.org Foundation's page on names
- RFC 3533 - The Ogg Encapsulation Format Version 0
- RFC 3534 - The application/ogg Media Type
- "RareWares" Ogg Vorbis software page
- Ogg etymology from the Jargon File
- http://www.kahvi.org Kahvi Collective - electronic music in Ogg Vorbis format



