| advertise add site services publishers database health videos | ![]() | about toolbar stats live show health store more stuff JOIN/LOGIN |
For learning how to create video or audio files for Wikipedia and its sister projects, check Wikipedia:Creation and usage of media files For other uses, see Ogg (disambiguation).
Ogg is a free, open standard container format maintained by the Xiph.Org Foundation. The creators of the Ogg format claim[dubious ] that it is unrestricted by software patents and is designed to provide for efficient streaming and manipulation of high quality digital multimedia. The name ‘Ogg’ refers to the file format which can multiplex a number of separate independent free and open source codecs for audio, video, text (such as subtitles), and metadata. In the Ogg multimedia framework, Theora provides a lossy video layer, while the music-oriented Vorbis codec most commonly acts as the audio layer. The human speech compression codec Speex, lossless audio compression codec FLAC, and OggPCM may also act as audio layers. The term ‘Ogg’ is commonly used to refer to audio file format Ogg Vorbis, that is, Vorbis-encoded audio in the Ogg container. Previously, the .ogg file extension was used for any content distributed within Ogg, but as of 2007, the Xiph.Org Foundation requests that .ogg be used only for Vorbis due to backward compatibility concerns. The Xiph.Org Foundation decided to create a new set of file extensions and media types to describe different types of content such as .oga for audio only files, .ogv for video with or without sound (including Theora), and .ogx for applications.[3] The current version of the Xiph.Org Foundation's reference implementation, released on June 23, 2009, is libogg 1.1.4.[1] Another version, libogg2, has been in development, but is awaiting a rewrite as of 2008.[4] Both software libraries are free software, released under the new BSD license. Ogg reference implementation was separated from Vorbis on September 2, 2000.[5] Because the format is free, and its reference implementation is non-copylefted, Ogg's various codecs have been incorporated into a number of different free and proprietary media players, both commercial and non-commercial, as well as portable media players and GPS receivers from different manufacturers.
[edit] NamingIt is sometimes assumed that the name Ogg comes from the character of Nanny Ogg in Terry Pratchett's Discworld novels, but the Ogg developers say that is not true.[6] Ogg derives from ogging, jargon from the computer game Netrek which came to mean doing 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.[6] Still, to quote the same reference: "Vorbis, on the other hand is named after the Terry Pratchett character from the book Small Gods." The project started in 1994. It was originally named "Squish" but that was already trademarked so the project suffered a name change. The new name was "OggSquish" and from 2001 only "Ogg". Ogg has come to stand for the file format, as part of the larger Xiph.org multimedia project. Squish became just the name of one of the Ogg codecs.[7] One can argue that the combination with "Vorbis" has so resonated with the public that Ogg is protected from arbitrary change by association with the Pratchett stories. [edit] File formatThe 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 available free of charge and are freely re-implementable in software. The format consists of chunks of data each called an Ogg Page. Each page begins with the "OggS" string to identify the file as Ogg format. A serial number and page number in the page header identifies each page as part of a series of pages making up a bitstream. Multiple bitstreams may be multiplexed 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. [edit] Page structureMain article: Ogg page The following is the field layout of an Ogg page header:
The segments provide a way to group segments into packets, which are meaningful units of data for the decoder. When the segment's length is indicated to be 255, this indicates that the following segment is to be concatenated to this one and is part of the same packet. When the segment's length is 0-254, this indicates that this segment is the final segment in this packet. Where a packet's length is a multiple of 255, the final segment will be of length 0. Where the final packet continues on the next page, the final segment value will be 255, and the continuation flag will be set on the following page to indicate that the start of the new page is a continuation of last page. [edit] Metadata
Currently, there is no official standard for including metadata in Ogg containers. Implementation is still a long way off as of Quarter 3, 2007. The Xiph.Org Foundation are currently welcoming suggestions and feedback. Suggested metadata implementation methods include the following:[8]
Metadata must currently be included in the codec. There is fairly good software support for Vorbis metadata—often referred to as comments. But software support for Theora and FLAC comments in Ogg containers is very limited. [edit] HistoryThe Ogg project began with a simple audio compression package as part of a larger project in 1993.[6] The software was originally named "Squish" but due to an existing trade mark it was renamed to "OggSquish". This name was later used for the whole Ogg project. In 1997, the Xiphophorus OggSquish was described as "an attempt both to create a flexible compressed audio format for modern audio applications as well as to provide the first audio format that is common on any and every modern computer platform".[9] The OggSquish was in 2000 referred to as "a group of several related multimedia and signal processing projects". In 2000, two projects were in active development for planned release: Ogg Vorbis format and libvorbis - the reference implementation of Vorbis. Research also included work on future video and lossless audio coding.[6][10][11][12][13] In 2001, OggSquish was renamed to "Ogg" and it was described as "the umbrella for a group of several related multimedia and signal processing projects".[14] Ogg has come to stand for the file format, as part of the larger Xiph.org multimedia project. Squish became just the name of one of the Ogg codecs.[7] In 2009, Ogg is described as "a multimedia container format, and the native file and stream format for the Xiph.org multimedia codecs".[15] Ogg reference implementation was separated from Vorbis on September 2, 2000.[5] In May 2003, two Internet RFCs were published relating to the format. The Ogg bitstream was defined in RFC 3533 (which is classified as 'informative') and its Internet content type ( In 2002 the lack of formal video support in Ogg resulted in the creation of the "OGM" file format, a hack on Ogg which allowed the embedding of video from the Microsoft DirectShow framework into an Ogg-based wrapper. OGM was initially supported only by closed source Windows-only tools but the code base was subsequently opened. Later, Video (and subtitle) support were formally specified for Ogg but in a manner incompatible with OGM. Independently, the Matroska container format reached maturity and provided another alternative for people interested in combining Vorbis audio and arbitrary video codecs. As a result OGM is no longer supported or developed and is formally discouraged by Xiph.org.[16] Today video in Ogg is found with the .ogv file extension which is formally specified and officially supported. Although Ogg hasn't reached anywhere near the ubiquity of the MPEG standards[17] (e.g.: MP3 / MP4), as of 2006[update], it is commonly used to encode free content (such as free music, multimedia on Wikimedia projects and Creative Commons files) and has started to be supported by a significant minority of digital audio players. Also supporting the Ogg format have been many popular video game engines, including Doom 3, Unreal Tournament 2004, Halo: Combat Evolved, Mafia: The City of Lost Heaven, Myst IV: Revelation, Stepmania, Serious Sam: The Second Encounter, Lineage 2, Vendetta Online, Battlefield 2 and the Grand Theft Auto engines. The more popular Vorbis codec has built-in support on many software players, and extensions are available for nearly all the rest. Other codecs are less well supported, although extensions are often available. On May 16, 2007, the Free Software Foundation started a campaign to increase the use of Vorbis "as an ethically, legally and technically superior audio alternative to the proprietary MP3 format."[18] People are also encouraged to support the campaign by adding a web button to their website or blog. For those who don't want to download and use FSF's suggested Ogg player (VLC), the Xiph.Org Foundation has an official codec[19] for QuickTime-based applications in Windows and Mac OS X, such as iTunes players and iMovie applications; and Windows users can install a Windows Media Player Ogg codec.[20] As of June 30, 2009 the Ogg container, through the use of the Theora and Vorbis, is currently the only container format included in Firefox 3.5 web browser's implementation of the HTML 5 [edit] Ogg codecsOgg is only a container format. The actual audio or video encoded by a codec will be stored inside an Ogg container. Ogg containers may contain streams encoded with multiple codecs, for example, a video file with sound contains data encoded by both an audio codec and a video codec. Being a container format, Ogg can embed audio and video in various formats[23][24] (such as Dirac, MNG, CELT, MPEG-4, MP3 and others) but Ogg was intended and usually is used with the following Xiph.org free codecs:
[edit] See also[edit] References
[edit] External links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ↑ top of page ↑ | about thumbshots |