Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Ogg
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Open container format by Xiph.Org Foundation}} {{Other uses|Ogg (disambiguation)}} {{Redirect|OGM||Ogm (disambiguation)}} {{infobox file format | name = Ogg | icon = | logo = | extension = .ogg, .ogv, .oga, .ogx, .ogm, .spx | mime = video/ogg, audio/ogg, application/ogg | magic = OggS | owner = [[Xiph.Org Foundation]] | genre = [[Container format (digital)|Container format]] | container for = [[Vorbis]], [[Theora]], [[Speex]], [[Opus (audio format)|Opus]], [[FLAC]], [[Dirac (codec)|Dirac]], and others. | open = Yes | free = Yes<ref>{{cite tech report |publisher=Library of Congress |location=Washington, D.C. |series=Sustainability of Digital Formats |type=Full draft |title=Ogg File Format |date=19 February 2008 |url=https://www.loc.gov/preservation/digital/formats/fdd/fdd000026.shtml |access-date=1 December 2021 |archive-date=8 October 2021 |archive-url=https://web.archive.org/web/20211008114103/https://www.loc.gov/preservation/digital/formats/fdd/fdd000026.shtml |url-status=live }}</ref> | released = {{start date and age|2003|05|df=y}} }} {{Infobox software | name = libogg | logo = Ogg Logo.svg | logo size = | developer = [[Xiph.Org Foundation]] | released = {{start date and age|2004|09|22|df=y}} | latest_release_version = 1.3.5 | latest_release_date = {{start date and age|2021|06|04|df=y}} | genre = [[Reference implementation (computing)|Reference implementation]] ([[multiplexer]]/[[Demultiplexer (media file)|demultiplexer]]) | license = [[BSD-like license|BSD-style license]]<ref>{{cite web | publisher = Xiph.Org Foundation | title = Sample Xiph.Org Variant of the BSD License | url = http://www.xiph.org/licenses/bsd/ | access-date = 2009-08-29 | archive-date = 2020-04-11 | archive-url = https://web.archive.org/web/20200411163951/https://www.xiph.org/licenses/bsd/ | url-status = live }}</ref> | website = {{URL|downloads.xiph.org/releases/ogg/}} }} '''Ogg''' is a [[Digital data|digital]] multimedia [[container format (digital)|container format]] designed to provide for efficient [[streaming media|streaming]] and manipulation of digital [[multimedia]]. It is maintained by the [[Xiph.Org Foundation]] and is [[free file format|free]] and [[open format|open]], unrestricted by [[software patent]]s.<ref>{{Cite web |url=http://www.vorbis.com/faq/#what |title=Vorbis.com: FAQ |access-date=2010-05-28 |archive-url=https://web.archive.org/web/20051001065649/http://vorbis.com/faq/#what |archive-date=2005-10-01 |url-status=dead }}</ref> Its name is derived from "ogging", [[jargon]] from the computer game ''[[Netrek]]''.<ref name="ogging">{{cite web | quote=3.3 Ogging: This is the art of killing a carrier, or potential carrier, by a suicide run. | title=Ogging 101 | url=http://www.netrek.org/clueguides/ogging-101.html | access-date=2016-11-06 | archive-date=2017-12-25 | archive-url=https://web.archive.org/web/20171225161547/http://www.netrek.org/clueguides/ogging-101.html | url-status=live }}</ref>{{Better source needed|reason=that one defines the word ogging, but not its relationship with the media container. Perhaps http://lists.xiph.org/pipermail//vorbis/2000-September/013011.html would be a usable citation?|date=April 2025}} The Ogg container format can [[time-division multiplexing|multiplex]] a number of independent [[stream (computing)|streams]] for [[sound|audio]], [[video]], text (such as [[subtitles]]), and [[metadata]]. In the Ogg multimedia framework, [[Theora]] provides a [[lossy]] video layer. The [[audio coding format|audio layer]] is most commonly provided by the music-oriented [[Vorbis]] [[bitstream format|format]] or its successor [[Opus (audio format)|Opus]]. [[Lossless compression|Lossless]] audio compression formats include [[FLAC]], and [[OggPCM]]. Until 2007, the <code>.ogg</code> [[filename extension]] was used for all files whose content used the Ogg container format. Since then, the Xiph.Org Foundation recommends that <code>.ogg</code> only be used for Ogg Vorbis audio files. Xiph.Org decided to create a new set of file extensions and media types to describe different types of content such as <code>.oga</code> for audio only files, <code>.ogv</code> for video with or without sound (including Theora), and <code>.ogx</code> for multiplexed Ogg.<ref>{{cite web |url = http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions |title = MIME Types and File Extensions |work = XiphWiki |date = 2007-09-07 |access-date = 2007-09-10 |archive-date = 2018-11-17 |archive-url = https://web.archive.org/web/20181117004309/https://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions |url-status = live }}</ref> Ogg's various [[codec]]s have been incorporated into a number of different free and [[proprietary software|proprietary]] [[media player (application software)|media players]], both commercial and non-commercial, as well as [[portable media player]]s and [[GPS]] receivers from different manufacturers. As of November 7, 2017, the current version of the Xiph.Org Foundation's reference implementation is libogg 1.3.3.<ref name="release-1.3.3">{{cite mailing list |last=Giles |first=Ralph |title=libogg 1.3.3 release |mailing-list=ogg-dev |url=http://lists.xiph.org/pipermail/ogg-dev/2017-November/001933.html |date=2017-11-07 |access-date=2019-01-14 |archive-date=2018-04-04 |archive-url=https://web.archive.org/web/20180404073629/http://lists.xiph.org/pipermail/ogg-dev/2017-November/001933.html |url-status=live }}</ref> Another version, libogg2, has been in development, but is awaiting a rewrite as of 2018.<ref>{{cite mailing list |last=Giles |first=Ralph |url=http://lists.xiph.org/pipermail/commits/2008-January/012792.html |title=r14372 - in trunk/theora: . lib/dec lib/enc |mailing-list=xiph-commits |quote=This library was never released and now looks like it needs to be redesigned. |date=2008-01-05 |access-date=2019-01-14 |archive-date=2020-10-03 |archive-url=https://web.archive.org/web/20201003153343/http://lists.xiph.org/pipermail/commits/2008-January/012792.html |url-status=live }}</ref> Both [[library (computing)|software libraries]] are [[free software]], released under the [[New BSD License]]. Ogg reference implementation was separated from Vorbis on September 2, 2000.<ref name="ogg-separated">Xiph.Org (2002-07-19) [http://downloads.xiph.org/releases/ogg/ Ogg releases - libogg-1.0.tar.gz - CHANGES] {{Webarchive|url=https://web.archive.org/web/20170614174325/http://downloads.xiph.org/releases/ogg/ |date=2017-06-14 }}. Retrieved 2009-09-01.</ref> ==Naming== The [[Vorbis|Ogg Vorbis]] project started in 1993. It was originally named "Squish" but that name was already trademarked, so the project underwent a name change. The new name, "OggSquish", was used until 2001 when it was changed again to "Ogg". Ogg has since come to refer to the [[Container format (digital)|container format]], which is now part of the larger Xiph.org multimedia project. Today, "Squish" (now known as "Vorbis") refers to a particular [[audio coding format]] typically used with the Ogg container format. Ogg is derived from "ogging", [[jargon]] from the computer game ''[[Netrek]]'', which came to mean doing something forcefully, possibly without consideration of the drain on future resources.<ref name="ogging"/>{{Failed verification|reason=The URL talks about intentional suicide runs to take out more powerful enemies which is nearly the exact opposite of not caring about future resources; it's a weighed decision to expend resources to remove a threat that would result in even worse resource loss in the future|date=August 2024}} At its inception, the Ogg project was thought by the authors to be somewhat ambitious given the limited power of the [[IBM PC compatible|PC]] hardware of the time. Although the name Ogg is unrelated to the character [[Nanny Ogg]] in [[Terry Pratchett]]'s [[Discworld]] novels, "Vorbis" is named after another Terry Pratchett character from the book [[Small Gods]].<ref name="xiphname">{{cite web|publisher=Xiph.org Foundation|url=http://xiph.org/xiphname|date=2006-01-07|title=Xiph.org: naming|access-date=2009-09-02|archive-date=2012-02-27|archive-url=https://web.archive.org/web/20120227092222/http://www.xiph.org/xiphname|url-status=dead}}</ref> ==File format== The "Ogg" [[bitstream format]], designed principally by the Xiph.Org Foundation, has been developed as the framework of a larger initiative aimed at producing a set of components for the coding and decoding of multimedia files, which are available free of charge and freely re-implementable in software and hardware. The format consists of chunks of data each called an "Ogg page". Each page begins with the characters "OggS" 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 [[multiplexing|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 licenses|BSD-licensed]] library, called "libvorbis", is available to encode and decode data from "Vorbis" streams. Independent Ogg implementations are used in several projects such as [[RealPlayer]] and a set of [[DirectShow]] filters.<ref>{{cite web| url = http://xiph.org/dshow/| title = Directshow Filters for Ogg Vorbis| access-date = 2015-02-14| archive-date = 2015-02-08| archive-url = https://web.archive.org/web/20150208215333/http://www.xiph.org/dshow/| url-status = live}}</ref> Mogg, the "Multi-Track-Single-Logical-Stream Ogg-Vorbis", is the multi-channel or multi-track Ogg file format. ===Page structure=== The following is the field layout of an Ogg page header: [[File:Ogg page header structure (en).svg|512px|center|The field layout of an Ogg page header]] ;Capture pattern β 32 bits :The capture pattern or sync code is a [[magic number (programming)|magic number]] used to ensure synchronization when parsing Ogg files. Every page starts with the four ASCII character sequence, "OggS". This assists in resynchronizing a parser in cases where data has been lost or is corrupted, and is a sanity check before commencing parsing of the page structure. ;Version β 8 bits :This field indicates the version of the Ogg bitstream format, to allow for future expansion. It is currently mandated to be 0. ;Header type β 8 bits :This is an 8 bit field of flags, which indicates the type of page that follows. :{| class="wikitable" ! style="width:5%;"|Bit ! style="width:10%;"|Value ! style="width:10%;"|Flag ! style="width:75%;"|Page type |- |0 |0x01 |Continuation |The first packet on this page is a continuation of the previous packet in the logical bitstream. |- |1 |0x02 |BOS |Beginning Of Stream. This page is the first page in the logical bitstream. The BOS flag must be set on the first page of every logical bitstream, and must not be set on any other page. |- |2 |0x04 |EOS |End Of Stream. This page is the last page in the logical bitstream. The EOS flag must be set on the final page of every logical bitstream, and must not be set on any other page. |} ;Granule position β 64 bits :A granule position is the time marker in Ogg files. It is an abstract value, whose meaning is determined by the codec. It may, for example, be a count of the number of samples, the number of frames or a more complex scheme. ;Bitstream serial number β 32 bits :This field is a serial number that identifies a page as belonging to a particular logical bitstream. Each logical bitstream in a file has a unique value, and this field allows implementations to deliver the pages to the appropriate decoder. In a typical Vorbis and Theora file, one stream is the audio (Vorbis), and the other is the video (Theora) ;Page sequence number β 32 bits :This field is a monotonically increasing field for each logical bitstream. The first page is 0, the second 1, etc. This allows implementations to detect when data has been lost. ;[[Checksum]] β 32 bits :This field provides a [[CRC32]] checksum of the data in the entire page (including the page header, calculated with the checksum field set to 0). This allows verification that the data has not been corrupted since it was authored. Pages that fail the checksum should be discarded. The checksum is generated using a polynomial value of 0x04C11DB7. ;Page segments β 8 bits :This field indicates the number of segments that exist in this page. It also indicates how many bytes are in the segment table that follows this field. There can be a maximum of 255 segments in any one page. ;Segment table :The segment table is an array of 8-bit values, each indicating the length of the corresponding segment within the page body. The number of segments is determined from the preceding page segments field. Each segment is between 0 and 255 bytes in length. 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 is length 0. Where the final packet continues on the next page, the final segment value is 255, and the continuation flag is set on the following page to indicate that the start of the new page is a continuation of last page. ===Metadata=== {{Main article|Vorbis comment}} [[Vorbis comment|VorbisComment]] is a base-level Metadata format initially authored for use with Ogg Vorbis. It has since been adopted in the specifications of Ogg encapsulations for other Xiph.Org codecs including [[Theora]], [[Speex]], [[FLAC]] and [[Opus (audio format)|Opus]]. ''VorbisComment'' is the simplest and most widely supported mechanism for storing metadata with Xiph.Org codecs.<ref>{{Cite web|url=https://wiki.xiph.org/VorbisComment|title=VorbisComment|date=26 April 2016|access-date=23 October 2018|archive-date=23 October 2018|archive-url=https://web.archive.org/web/20181023234243/https://wiki.xiph.org/VorbisComment|url-status=live}}</ref> Notably,{{attribution needed|date=October 2021}}<!--Wikipedia cannot say in its own voice that this is notable; if it has been considered notable by a source or sources, then that can be reported--> one or more <kbd>METADATA_BLOCK_PICTURE=</kbd>... in a ''VorbisComment'' for thumbnails and cover art have [[Base64]]-encoded values of the corresponding [[FLAC#Metadata|FLAC]] <kbd>METADATA_BLOCK_PICTURE</kbd>. In other words, FLAC stores thumbnails and cover art in binary blocks—outside of the FLAC tags in a [[little-endian]] <kbd>METADATA_BLOCK_VORBIS_COMMENT</kbd>.<ref>{{cite web |url=https://xiph.org/flac/format.html#metadata_block_picture |title=METADATA_BLOCK_PICTURE |work=flac free lossless audio codec |publisher=[[Xiph.Org Foundation|Xiph.Org]] |year=2014 |access-date=2019-12-03 |archive-date=2017-03-27 |archive-url=https://web.archive.org/web/20170327065952/https://xiph.org/flac/format.html#metadata_block_picture |url-status=live }}</ref><ref>{{cite web |url=https://www.xiph.org/vorbis/doc/v-comment.html |title=Ogg Vorbis I format specification: comment field and header specification |publisher=[[Xiph.Org Foundation|Xiph.Org]] |year=2005 |access-date=2019-12-03 |archive-date=2019-12-03 |archive-url=https://web.archive.org/web/20191203005103/https://www.xiph.org/vorbis/doc/v-comment.html |url-status=live }}</ref> Other existing and proposed mechanisms are:<ref>{{Cite web|url=https://wiki.xiph.org/Metadata|title=Metadata|date=24 July 2013|website=xiph.org Foundation|access-date=23 October 2018|archive-date=23 October 2018|archive-url=https://web.archive.org/web/20181023234247/https://wiki.xiph.org/Metadata|url-status=live}}</ref> * [[FLAC]] metadata blocks * Ogg Skeleton<ref>{{cite web |url=https://wiki.xiph.org/Ogg_Skeleton_4 |title=Ogg Skeleton 4 |publisher=[[Xiph.Org Foundation|Xiph.Org]] |year=2012 |access-date=2019-12-03 |archive-date=2019-08-13 |archive-url=https://web.archive.org/web/20190813223619/https://wiki.xiph.org/Ogg_Skeleton_4 |url-status=live }}</ref> * [[Continuous Media Markup Language]] (deprecated) ==History== {{Image frame|width=152|content=[[File:Play ogg.png]]|caption=The ''Play Ogg'' web button|border=no}} The Ogg project began with a simple audio compression package as part of a larger project in 1993.<ref name="xiphname"/> The software was originally named ''Squish'' but due to an existing trade mark it was renamed to ''[[Ogg Squish|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".<ref name="oggsquish-1997">{{cite web |first=Christopher |last=Montgomery |author-link=Chris Montgomery |publisher=Xiphophorus company |url=http://people.xiph.org/~giles/historic/www.mit.edu/afs/sipb/user/mwhitson/Project/Ogg/98.9/ |year=1997 |title=Ogg 98.9 |access-date=2009-09-02 |archive-date=2016-04-24 |archive-url=https://web.archive.org/web/20160424045623/http://people.xiph.org/~giles/historic/www.mit.edu/afs/sipb/user/mwhitson/Project/Ogg/98.9/ |url-status=live }}</ref> 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.<ref name="xiphname" /><ref name="squish-ogg"> {{cite web |url=http://www.xiph.org/ogg/doc/vorbis.html |title=OggSquish Vorbis encoding format documentation |author=Xiph.org |date=2000-01-18 |access-date=2008-09-02 |url-status=dead |archive-url=https://web.archive.org/web/20000118132124/http://www.xiph.org/ogg/doc/vorbis.html |archive-date=January 18, 2000 }}</ref><ref name="oggsquish-bitstream"> {{cite web |url=http://www.xiph.org/ogg/doc/oggstream.html |title=OggSquish logical and physical bitstream overview |author=Xiph.org |date=2000-01-18 |access-date=2008-09-02 |url-status=dead |archive-url=https://web.archive.org/web/20000118122008/http://www.xiph.org/ogg/doc/oggstream.html |archive-date=January 18, 2000 }}</ref><ref name="oggsquish-2001"> {{cite web |author=Xiphophorus company |url=http://www.xiph.org/ogg/index.html |date=2001-04-05 |title=The Ogg project homepage |access-date=2009-09-02 |url-status=dead |archive-url=https://web.archive.org/web/20010405060456/http://www.xiph.org/ogg/index.html |archive-date=April 5, 2001 }}</ref><ref name="oggsquish-ogg"> {{cite web |url=http://www.xiph.org/ogg/index.html |title=The Ogg project homepage |author=Xiph.org |date=2001-12-04 |access-date=2008-09-02 |url-status=dead |archive-url=https://web.archive.org/web/20011204194046/http://www.xiph.org/ogg/index.html |archive-date=December 4, 2001 }}</ref> 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".<ref name="xiphname-2">{{cite web |author=Xiphophorus company |url=http://www.xiph.org/ogg/index.html |date=2001-12-04 |title=The Ogg project homepage |access-date=2009-09-02 |url-status=dead |archive-url=https://web.archive.org/web/20011204194046/http://www.xiph.org/ogg/index.html |archive-date=December 4, 2001 }}</ref> 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.<ref name="xiphname" /> In 2009, Ogg is described as "a multimedia container format, and the native file and stream format for the Xiph.org multimedia codecs".<ref name="ogg-2009">{{cite web|publisher=Xiph.Org Foundation|url=http://xiph.org/ogg/|date=2006-01-07|title=The Ogg container format|access-date=2009-09-02|archive-date=2000-05-20|archive-url=https://web.archive.org/web/20000520212458/http://xiph.org/ogg/|url-status=live}}</ref> The Ogg reference implementation was separated from Vorbis on September 2, 2000.<ref name="ogg-separated"/> In May 2003, two Internet [[Request for Comments|RFCs]] were published relating to the format. The Ogg bitstream was defined in {{IETF RFC|3533|link=no}} (which is classified as 'informative') and its [[MIME content type|Internet content type]] (<code>application/ogg</code>) in {{IETF RFC|3534|link=no}} (which is, {{As of|2006|lc=on}}, a proposed standard protocol). In September 2008, RFC 3534 was obsoleted by {{IETF RFC|5334|link=no}}, which added content types <code>video/ogg</code>, <code>audio/ogg</code> and filename extensions .ogx, .ogv, .oga, .spx. ===OGM=== In 2002, the lack of formal video support in Ogg resulted in the development of the ''OGM'' file format, a hack on Ogg that allowed 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 codebase 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 an 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.<ref>{{cite web|url=http://www.xiph.org/container/ogm.html |title=OGM is not Ogg. Xiph.org does not support OGM. |publisher=Backup at WayBack Machine |date=2004-07-07 |url-status=unfit |archive-url=https://web.archive.org/web/20120317061837/http://www.xiph.org/container/ogm.html |archive-date=March 17, 2012 }}</ref> Today, video in Ogg is found with the .ogv file extension, which is formally specified and officially supported. Software and codecs that support .ogm files are available without charge.<ref>{{cite web |url=https://www.codecguide.com/klcp_ability_comparison.htm |title=K-Lite Codec Pack: Comparison of abilities and supported file formats |website=Codec Guide |access-date=16 March 2018 |archive-date=16 March 2018 |archive-url=https://web.archive.org/web/20180316214632/https://www.codecguide.com/klcp_ability_comparison.htm |url-status=live }}</ref> ===2006=== Although Ogg had not reached anywhere near the ubiquity of the [[MPEG]] standards<ref>{{cite magazine |url=https://www.wired.com/entertainment/music/news/2007/02/72785 |first1=Evan |last1=Hansen |title=MP3's Loss, Open Source's Gain |url-access=limited |magazine=Wired |date=2007-02-23 |access-date=2010-03-04 |archive-date=2010-06-05 |archive-url=https://web.archive.org/web/20100605091342/http://www.wired.com/entertainment/music/news/2007/02/72785?currentPage=all |url-status=live }}</ref> (e.g., [[MP3]]/[[MP4]]), {{As of|2006|lc=on}}, it was commonly used to encode [[free content]] (such as free music, multimedia on [[Wikimedia Foundation]] projects and [[Creative Commons]] files) and had started to be supported by a significant minority of [[digital audio player]]s. Also supporting the Ogg format were many popular video game engines, including ''[[Doom 3]]'', ''[[Unreal Tournament 2004]]'', ''[[Halo: Combat Evolved]]'', ''[[Jets'n'Guns]]'', ''[[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, as well as the audio files of the [[Java (programming language)|Java]]-based game, ''[[Minecraft]]''. The more popular Vorbis codec had built-in support on many software players, and extensions were available for nearly all the rest. ===2007=== 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".<ref>{{cite web |url=http://www.fsf.org/news/playogg.html |title='Play Ogg': FSF launches free audio format campaign |publisher=Free Software Foundation |first1=Matt |last1=Lee |date=May 16, 2007 |access-date=2010-03-04 |archive-date=2011-06-08 |archive-url=https://web.archive.org/web/20110608015711/http://www.fsf.org/news/playogg.html |url-status=live }}</ref> People were also encouraged to support the campaign by adding a web button to their [[website]] or [[blog]]. For those who did not want to download and use the FSF's suggested Ogg player ([[VLC media player|VLC]]), the [[Xiph|Xiph.Org Foundation]] had an official codec<ref>{{cite web |url=http://xiph.org/quicktime/ |title=Foundation: Ogg QuickTime Components for iTunes and iMovie (Windows and Mac OS X) |publisher=Xiph.org |access-date=2010-03-04 |archive-date=2008-10-26 |archive-url=https://web.archive.org/web/20081026081609/http://xiph.org/quicktime/ |url-status=live }}</ref> for [[QuickTime]]-based applications in [[Microsoft Windows|Windows]] and [[Mac OS X]], such as [[iTunes]] players and [[iMovie]] applications; and Windows users could install a [[Windows Media Player]] Ogg codec.<ref>{{cite web |url=http://www.xiph.org/dshow/ |title=Directshow Filters for Ogg Vorbis, Speex, Theora and FLAC |publisher=Xiph.org |date=2010-02-22 |access-date=2010-03-04 |archive-date=2013-01-24 |archive-url=https://web.archive.org/web/20130124155113/http://www.xiph.org/dshow/ |url-status=live }}</ref> ===2009=== By June 30, 2009, the Ogg container, through the use of the Theora and Vorbis, was the only container format included in [[Mozilla Firefox 3.5|Firefox 3.5]] web browser's implementation of the [[HTML5]] <code><video></code> and <code><audio></code> elements.<ref>{{cite web |url=https://developer.mozilla.org/En/HTML/Element/Video |title=Mozilla Developer Center - HTML - Element - Video |date=September 2009 |access-date=2009-12-28 |archive-date=2010-06-27 |archive-url=https://web.archive.org/web/20100627072405/https://developer.mozilla.org/En/HTML/Element/Video |url-status=live }}</ref><ref>{{cite web |url=https://developer.mozilla.org/En/HTML/Element/Audio |title=Mozilla Developer Center - HTML - Element - Audio |date=September 2009 |access-date=2009-12-28 |archive-date=2010-06-27 |archive-url=https://web.archive.org/web/20100627072053/https://developer.mozilla.org/En/HTML/Element/Audio |url-status=live }}</ref> This was in accordance with the original recommendation outlined in, but later removed from, the HTML5 draft specification (see [[Ogg controversy]]). ===2010=== On March 3, 2010, a technical analysis by an [[FFmpeg]] developer was critical about the general purpose abilities of Ogg as a multimedia container format.<ref name="ogg-analysis">{{cite web| url=http://hardwarebug.org/2010/03/03/ogg-objections/| first=Mans| last=Rullgard| title=Ogg objections| publisher=hardwarebug.org| date=2010-03-03| access-date=2010-05-02| archive-date=2010-05-09| archive-url=https://web.archive.org/web/20100509211056/http://hardwarebug.org/2010/03/03/ogg-objections/| url-status=live}}</ref> The author of Ogg later responded to these claims in an article of his own.<ref name="ogg-analysis-answer">{{cite web|last=Montgomery|first=Christopher|date=2010-04-27|title=Monty - In Defense of Ogg's Good Name|url=http://people.xiph.org/~xiphmont/lj-pseudocut/o-response-1.html|url-status=dead|archive-url=https://web.archive.org/web/20100429111810/http://people.xiph.org/~xiphmont/lj-pseudocut/o-response-1.html|archive-date=2010-04-29|access-date=2010-05-02|publisher=people.xiph.org/~xiphmont}}</ref> ==Ogg codecs== Ogg is only a container format. The actual audio or video encoded by a codec is 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<ref name="ogg-mime">{{cite web | url=http://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions | title=MIME Types and File Extensions | date=2009-10-04 | publisher=XiphWiki | access-date=2009-10-24 | archive-date=2018-11-17 | archive-url=https://web.archive.org/web/20181117004309/https://wiki.xiph.org/index.php/MIME_Types_and_File_Extensions | url-status=live }}</ref><ref name="iana" /> (such as [[Dirac (codec)|Dirac]], [[Multiple-image Network Graphics|MNG]], [[CELT]], [[MPEG-4]], [[MP3]] and others) but Ogg was intended to be, and usually is, used with the following [[Xiph.org]] free codecs: * Audio ** [[Lossy data compression|Lossy]] *** [[Speex]]: handles voice data at low bitrates (~2.1β32 kbit/s/channel) *** [[Vorbis]]: handles general audio data at mid to high-level [[variable bitrate]]s (β16β500 kbit/s per channel) *** [[Opus (codec)|Opus]]: handles voice, music and generic audio at low and high variable bitrates (β6β510 kbit/s per channel) ** [[Lossless data compression|Lossless]] *** [[FLAC]] handles archival and high-fidelity audio data. *** OggPCM allows storing standard uncompressed [[Pulse-code modulation|PCM]] audio in an Ogg container<ref name="xiphwiki-oggpcm">{{cite web | url=https://wiki.xiph.org/index.php/OggPCM | title=OggPCM | date=2020-05-25 | publisher=XiphWiki | access-date=2020-05-25 | archive-date=2020-10-03 | archive-url=https://web.archive.org/web/20201003204000/https://wiki.xiph.org/index.php/OggPCM | url-status=live }}</ref> * Video ** [[lossy data compression|Lossy]] *** [[Theora]]: based upon [[On2]]'s [[VP3]], it is targeted at competing with [[MPEG-4]] video (for example, encoded with [[DivX]] or [[Xvid]]), [[RealVideo]], or [[Windows Media Video]]. *** [[Daala]]: a video coding format under development. *** Tarkin: an experimental and now obsolete video codec developed in 2000, 2001 and 2002 utilizing [[discrete wavelet transform]]s in the three [[dimension]]s of width, height, and time.<ref name="oggsquish-2001"/><ref>Ralph Giles (2000-12-19) [http://lists.xiph.org/pipermail/vorbis-dev/2000-December/002281.html vorbis-dev - Tarkin video codec?] {{Webarchive|url=https://web.archive.org/web/20180124052905/http://lists.xiph.org/pipermail/vorbis-dev/2000-December/002281.html |date=2018-01-24 }}, Xiph.org vorbis-dev mailinglist. Retrieved 2009-09-06.</ref><ref>Jack Moffitt (2001-01-03) [http://lists.xiph.org/pipermail/vorbis-dev/2001-January/002604.html vorbis-dev - Tarkin at last] {{Webarchive|url=https://web.archive.org/web/20140930123907/http://lists.xiph.org/pipermail/vorbis-dev/2001-January/002604.html |date=2014-09-30 }}, Xiph.org vorbis-dev mailinglist. Retrieved 2009-09-06.</ref><ref>[[Chris Montgomery]] (2001-02-11) [http://lists.xiph.org/pipermail/vorbis/2001-February/014147.html Tarkin developer mailing list] {{Webarchive|url=https://web.archive.org/web/20140930202014/http://lists.xiph.org/pipermail/vorbis/2001-February/014147.html |date=2014-09-30 }}, Retrieved on 2009-09-06</ref> It has been put on hold after Theora became the main focus for video encoding (in August 2002).<ref>Michael Smith (2005-08-29) [http://lists.xiph.org/pipermail/vorbis-dev/2005-August/018213.html Tarkin] {{Webarchive|url=https://web.archive.org/web/20160303194435/http://lists.xiph.org/pipermail/vorbis-dev/2005-August/018213.html |date=2016-03-03 }}. Retrieved 2009-09-06.</ref> *** [[Dirac (codec)|Dirac]]: a free and open video format developed by the [[BBC]]. Uses wavelet encoding.<ref>{{usurped|1=[https://web.archive.org/web/20100614050318/http://diracvideo.org/specifications/ Dirac specification - integration of Dirac encoded video into commonly used container formats]}} Retrieved on 2009-07-05</ref> ** [[lossless data compression|Lossless]] *** [[Dirac (codec)|Dirac]]: a part of the specification of dirac covers lossless compression. *** [[Daala]]: a video coding format under development. * <span id="ogg-codecs-text">Text</span> ** [[Continuous Media Markup Language]]: a text/application codec for timed metadata, captioning, and formatting. ** [[Annodex]]: A free and open source set of standards developed by [[CSIRO]] to annotate and index networked media. ** OggKate: An overlay codec, originally designed for karaoke and text, that can be multiplexed in Ogg.<ref>{{cite web |url=https://wiki.xiph.org/OggKate |title=OggKate |website=wiki.xiph.org |year=2017 |access-date=2019-12-03 |archive-date=2011-07-18 |archive-url=https://web.archive.org/web/20110718082812/http://wiki.xiph.org/OggKate |url-status=live }}</ref> ===Media types=== Ogg audio media is registered as [[Internet Assigned Numbers Authority|IANA]] [[media type]] <kbd>audio/ogg</kbd> with file extensions <kbd>.oga</kbd>, <kbd>.ogg</kbd>, and <kbd>[[Speex|.spx]]</kbd>. It is a proper subset of the Ogg video media type <kbd>video/ogg</kbd> with file extension <kbd>.ogv</kbd>. Other Ogg applications use media type <kbd>application/ogg</kbd> with file extension <kbd>.ogx</kbd>; this is a superset of <kbd>video/ogg</kbd>.<ref name="iana">{{cite IETF |rfc=5334 |section=10 |title=Ogg Media Types <!-- same as |sectionname=Ogg Media Types --> |author1=I. Goncalves |author2=S. Pfeiffer |author3=C. Montgomery |author-link3=Chris Montgomery |year=2008 |doi=10.17487/RFC5334}}</ref> The [[Opus (audio format)|Opus]] media type <kbd>audio/opus</kbd> with file extension <kbd>.opus</kbd> was registered later in [[Request for Comments|RFC]] <span class="plainlinks">{{IETF RFC|plainlink=yes|7587}} and {{IETF RFC|plainlink=yes|7845}}</span>. ==See also== {{div col|colwidth=25em}} * [[Audio data compression]] * [[Comparison of audio coding formats]] * [[Comparison of container formats]] * [[commons:Commons:file types|Commons:file types]] * [[Use of Ogg formats in HTML5]] * [[:Commons:Help:Converting video|Wikimedia Commons' Theora video conversion help page]] * [[Wikipedia:Media help (Ogg)]] Installing audio and video software {{div col end}} ==References== {{Reflist|30em}} ==External links== {{Commons category|Ogg format}} {{wiktionary|Ogg}} * [//www.xiph.org/ogg/ The Xiph.Org Foundation official webpage β Ogg] * {{cite IETF |title=The Ogg Encapsulation Format Version 0 |rfc=3533 |last1=Pfeiffer |first1=Silva |publisher=Internet Engineering Task Force |date=May 2003}} * [https://wiki.creativecommons.org/OGG Using Creative Commons Metadata in Ogg containers] * [http://www.catb.org/~esr/jargon/html/O/ogg.html Ogg etymology] from the [[Jargon File]] * [//xiph.org/quicktime/ Xiph.Org's official Ogg QuickTime Components for iTunes and iMovie (Windows and Mac OS X)] * [http://www.xiph.org/dshow/ Windows Media Player codecs for Vorbis, Speex, Theora and FLAC] * [http://v2v.cc/~j/ffmpeg2theora/ ffmpeg2theora] Ogg Theora encoder, commandline application for Linux and [[Win32]] {{Compression formats}} {{Media player (application software)|free}} {{Xiph.org}} [[Category:Digital container formats]] [[Category:Filename extensions]] [[Category:Free digital container formats]] [[Category:Open formats]] [[Category:Xiph.Org projects]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:As of
(
edit
)
Template:Attribution needed
(
edit
)
Template:Better source needed
(
edit
)
Template:Cite IETF
(
edit
)
Template:Cite magazine
(
edit
)
Template:Cite mailing list
(
edit
)
Template:Cite web
(
edit
)
Template:Commons category
(
edit
)
Template:Compression formats
(
edit
)
Template:Div col
(
edit
)
Template:Div col end
(
edit
)
Template:Failed verification
(
edit
)
Template:IETF RFC
(
edit
)
Template:Image frame
(
edit
)
Template:Infobox file format
(
edit
)
Template:Infobox software
(
edit
)
Template:Main article
(
edit
)
Template:Media player (application software)
(
edit
)
Template:Other uses
(
edit
)
Template:Redirect
(
edit
)
Template:Reflist
(
edit
)
Template:Short description
(
edit
)
Template:Usurped
(
edit
)
Template:Webarchive
(
edit
)
Template:Wiktionary
(
edit
)
Template:Xiph.org
(
edit
)