This article is about the audio compression codec. For the Discworld character, see Religions of the Discworld.
Filename extension .ogg .oga
Internet media type application/ogg, audio/ogg, audio/vorbis, audio/vorbis-config
Developed by Xiph.Org Foundation
Initial release May 8, 2000 (2000-05-08)[1][2]
Latest release
Vorbis I
(February 3, 2012 (2012-02-03)[3])
Type of format Audio compression format
Contained by Ogg, Matroska, WebM
Standard Specification
Open format? Yes[4]
Website http://xiph.org/vorbis/
Developer(s) Xiph.Org Foundation
Initial release July 19, 2002 (2002-07-19)
Stable release
1.3.5 / March 3, 2015 (2015-03-03)
Written in C
Type Audio codec, reference implementation
License BSD-style license[5][6]
Website Xiph.org downloads

Vorbis is a free and open-source software project headed by the Xiph.Org Foundation (formerly Xiphophorus company). The project produces an audio coding format and software reference encoder/decoder (codec) for lossy audio compression. Vorbis is most commonly used in conjunction with the Ogg container format[7] and it is therefore often referred to as Ogg Vorbis.

Vorbis is a continuation of audio compression development started in 1993 by Chris Montgomery.[8][9] Intensive development began following a September 1998 letter from the Fraunhofer Society announcing plans to charge licensing fees for the MP3 audio format.[10][11] The Vorbis project started as part of the Xiphophorus company's Ogg project (also known as OggSquish multimedia project).[12][13] Chris Montgomery began work on the project and was assisted by a growing number of other developers. They continued refining the source code until the Vorbis file format was frozen for 1.0 in May 2000.[1][2][14] Originally licensed as LGPL, in 2001 the Vorbis license was changed to the BSD license to encourage adoption with endorsement of Richard Stallman.[15][16] A stable version (1.0) of the reference software was released on July 19, 2002.[17][18][19]

The Xiph.Org Foundation maintains a reference implementation, libvorbis.[20] There are also some fine-tuned forks, most notably aoTuV, that offer better audio quality, particularly at low bitrates. These improvements are periodically merged back into the reference codebase.


"Vorbis" is named after a Discworld character, Exquisitor Vorbis in Small Gods by Terry Pratchett.[9] The Ogg format, however, is not named after Nanny Ogg, another Discworld character; the name is in fact derived from "ogging", jargon that arose in the computer game Netrek.[9]


The Vorbis format has proven popular among supporters of free software.[21] They argue that its higher fidelity and completely free nature, unencumbered by patents, make it a well-suited replacement for patented and restricted formats like MP3.

Low-bitrate Vorbis Example

Vorbis has different uses for consumer products. Many video game titles store in-game audio as Vorbis, including Amnesia: The Dark Descent, Grand Theft Auto: San Andreas, Halo: Combat Evolved, Minecraft, and World of Warcraft, among others. Popular software players support Vorbis playback either natively or through an external plugin. A number of websites, including Wikipedia, use it.[22][23][24][25] Others include Jamendo and Mindawn, as well as several national radio stations[22] like JazzRadio, Absolute Radio, NPR, Radio New Zealand[26] and Deutschlandradio.[27] The Spotify audio streaming service uses Vorbis for its audio streams.[28] Also, the French music site Qobuz offers its customers the possibility to download their purchased songs in Vorbis format, as does the American music site Bandcamp.[29]


Vorbis had been shown to perform significantly better than many other lossy audio formats in the past in that it produced smaller files at equivalent or higher quality while retaining computational complexity comparable to other MDCT formats such as AAC or Windows Media Audio.[30][31] However, by 2014, not many further significant tests had been made.

Listening tests have attempted to find the best quality lossy audio codecs at certain bitrates. Some conclusions made by listening tests:

Due to the ever-evolving nature of audio codecs, the results of many of these tests have become outdated.

Comparison between mp3 and vorbis
The first is an uncompressed wav file. The second is a vorbis file encoded at 48kbps, and third is a mp3 file encoded at 48kbps using LAME.

Problems playing this file? See media help.

Listening tests

Listening tests are normally carried out as ABX tests, i.e., the listener has to identify an unknown sample X as being A or B, with A (the original) and B (the encoded version) available for reference. The outcome of a test must be statistically significant. This setup ensures that the listener is not biased by his/her expectations, and that the outcome is very unlikely to be the result of chance. If sample X can be identified reliably, the listener can assign a score as a subjective judgment of the quality. Otherwise, the encoded version is considered to be transparent. Below are links to several listening test results.

Characteristic artifacts

As with most modern formats, the most consistently cited problem with Vorbis is pre-echo, a faint copy of a sharp attack that occurs just before the actual sound (this artifact is most obvious when reproducing the sound of castanets).

When the bitrate is too low to encode the audio without perceptible loss, Vorbis exhibits an analog noise-like failure mode, which can be described as reverberations in a room or amphitheater. Vorbis's behavior is due to the noise floor approach to encoding; see technical details.

Technical details

Vorbis nominal bitrate at quality levels for 44.1 kHz stereo input. The new libvorbis v1.2 usually compresses better than these values (effective bitrate may vary).
Quality Nominal Bitrate
Official Xiph.Org Foundation Vorbis aoTuV beta 3 and later
-q-2 not available 32 kbit/s
-q-1 45 kbit/s 48 kbit/s
-q0 64 kbit/s
-q1 80 kbit/s
-q2 96 kbit/s
-q3 112 kbit/s
-q4 128 kbit/s
-q5 160 kbit/s
-q6 192 kbit/s
-q7 224 kbit/s
-q8 256 kbit/s
-q9 320 kbit/s
-q10 500 kbit/s

Vorbis is intended for sample rates from 8 kHz telephony to 192 kHz digital masters and a range of channel representations (monaural, polyphonic, stereo, quadraphonic, 5.1, ambisonic, or up to 255 discrete channels).[37] Given 44.1 kHz (standard CD audio sampling frequency) stereo input, the encoder will produce output from roughly 45 to 500 kbit/s (32 to 500 kbit/s for aoTuV tunings) depending on the specified quality setting. Quality setting goes from −0.1 to 1.0 for the Xiph library and −0.2 to 1.0 for aoTuV. Encoding front-ends map these values to an integer-based quality setting that goes from −1 to 10 for the Xiph library and −2 to 10 for aoTuV. Files encoded with a given quality setting should have the same quality of sound in all versions of the encoder, but newer versions should be able to achieve that quality with a lower bitrate. The bit rates mentioned above are only approximate; Vorbis is inherently variable-bitrate (VBR), so bitrate may vary considerably from sample to sample. (It is a free-form variable-bitrate codec and packets have no minimum size, maximum size, or fixed/expected size.[3])

Vorbis aims to be more efficient than MP3, with data compression transparency being available at lower bitrates.

Outline of coder algorithm

Vorbis I is a forward-adaptive monolithic transform codec based on the modified discrete cosine transform (MDCT).[38] Vorbis uses the modified discrete cosine transform for converting sound data from the time domain to the frequency domain. The resulting frequency-domain data is broken into noise floor and residue components, and then quantized and entropy coded using a codebook-based vector quantization algorithm. The decompression algorithm reverses these stages. The noise floor approach gives Vorbis its characteristic analog noise-like failure mode when the bitrate is too low to encode the audio without perceptible loss. The sound of compression artifacts at low bitrates can be perhaps described as reverberations in an amphitheater or a room.

Tuned versions

Various tuned versions of the encoder (Garf, aoTuV or MegaMix) attempt to provide better sound at a specified quality setting, usually by dealing with certain problematic waveforms by temporarily increasing the bitrate. Most of the tuned versions of Vorbis attempt to fix the pre-echo problem and to increase the sound quality of lower quality settings (-q-2 through -q4). Some tuning suggestions created by the Vorbis user community (especially the aoTuV beta 2 tunings) have been incorporated into the 1.1.0 release.[39]

Bitrate peeling

The Vorbis format supports bitrate peeling for reducing the bitrate of already encoded files without re-encoding, and several experimental implementations exist.[40][41] However, the quality is "unusable",[40] and markedly inferior to decoding and re-encoding.

The reason that peeling programs degrade quality so severely is that the format does not specify the relative importance of signal data, and existing encoders do not order the data in order of importance, hence peelers cannot easily determine if data is important or not.

Container formats

Vorbis streams can be encapsulated in other media container formats besides Ogg.[42] A commonly used alternative is Matroska. It is also used in WebM, a container format based on a subset of Matroska.[43][44][45] Vorbis streams can also be encapsulated in an RTP payload format.[46]


Vorbis metadata, called Vorbis comments, supports metadata tags similar to those implemented in the ID3 standard for MP3. The metadata is stored in a vector of eight-bit-clean strings of arbitrary length and size. The size of the vector and the size of each string in bytes is limited to 232-1 (about 4.3 billion, or any positive integer that can be expressed in 32 bits). This vector is stored in the second header packet that begins a Vorbis bitstream.[47]

The strings are assumed to be encoded as UTF-8. Music tags are typically implemented as strings of the form "[TAG]=[VALUE]", for instance, "ARTIST=The John Smith Band". The tags are case-insensitive, thus typing "ARTIST=The John Smith Band" would be the same as "artist=The John Smith Band". Like the current version of ID3, users and encoding software are free to use whichever tags are appropriate for the content. For example, an encoder could use localized tag labels, live music tracks might contain a "Venue=" tag or files could have multiple genre definitions. Most applications also support common de facto standards such as discnumber and ReplayGain information.


Knowledge of Vorbis' specifications is in the public domain.[5] Concerning the specification itself, the Xiph.Org Foundation reserves the right to set the Vorbis specification and certify compliance. Its libraries are released under the revised 3-clause BSD license and its tools are released under the GNU General Public License. The libraries were originally released under the GNU Lesser General Public Licence, but a BSD license was later chosen with the endorsement of Richard Stallman.[48] The Xiph.Org Foundation states that Vorbis, like all its developments, is completely free from the licensing or patent issues raised by other proprietary formats such as MP3. Although the Xiph.Org Foundation states it has conducted a patent search that supports its claims, outside parties (notably engineers working on rival formats) have expressed doubt that Vorbis is free of patented technology.[49]

The Xiph.Org Foundation has not released an official statement on the patent status of Vorbis, pointing out that such a statement is technically impossible due to the number and scope of patents in existence and the questionable validity of many of them. Such issues can only be resolved by a court of law.

Vorbis is supported by several large digital audio player manufacturers such as Samsung, SanDisk, Rio, Neuros Technology, Cowon, and iriver.



Tremor, a version of the Vorbis decoder which uses fixed-point arithmetic (rather than floating point), was made available to the public on September 2, 2002 (also under a BSD-style license).[50] Tremor, or platform specific versions based on it, is more suited to implementation on the limited facilities available in commercial portable players. A number of versions that make adjustments for specific platforms and include customized optimizations for given embedded microprocessors have been produced. Several hardware manufacturers have expressed intentions to produce Vorbis-compliant devices and new Vorbis devices seem to be appearing at a steady rate.

Apple's iPod does not natively support Vorbis but through the use of Rockbox, an open-source firmware project, is capable of decoding Vorbis files on certain models. Similar statements apply to other devices capable of running Rockbox, as well. The Xiph.Org Foundation wiki has an up-to-date list of Vorbis-supporting hardware, such as portables, PDAs, and microchips.[57] Also see Internet radio device for an overview.

Application software

Software supporting Vorbis exists for many platforms. The multi-platform open-source VLC media player and MPlayer can play Ogg Vorbis files, as can Winamp and foobar2000. Although Apple iTunes does not natively support Vorbis, the Xiph.Org Foundation provides a QuickTime component[58] which can be used in iTunes and QuickTime on both Microsoft Windows and OS X (only before OS X 10.9's switch of Quicktime to 64-bit only). Windows Media Player also does not natively support Vorbis; however, DirectShow filters exist[59] to decode Vorbis in Windows Media Player and other Windows multimedia players that support DirectShow. Vorbis is also supported in the multi-platform audio editing software Audacity, in the multi-platform multimedia frameworks FFmpeg, GStreamer and Helix DNA. Vorbis is well-supported on the Linux platform in programs like XMMS, xine, Amarok and many more. A list of Vorbis-supporting software can be found at the Xiph.Org Foundation wiki and Vorbis.com website.[60][61] For more information about support in software media players look at comparison of media players. Users can test these programs using the list of Vorbis audio streams available on the same wiki.[62]

Some newer Ubisoft games use Vorbis files renamed with the filename extension .sb0. It can therefore be played using a compatible player, although sometimes one must force a different sampling rate to hear it correctly. A number of tools are available for extracting sound from archived files such as the .m4b of Myst IV: Revelation.

As originally recommended by HTML 5, these web browsers natively support Vorbis audio (without a plug-in) using the <audio> element: Mozilla Firefox 3.5 (and later versions),[63][64] Google Chrome (from version,[65] SeaMonkey (from version 2.0).[66] Opera 9.5 experimental video builds released in 2007 and 2008 have only <video> support and play back Vorbis audio included in Ogg video files.[67][68] Opera 10.5 browser has support for Vorbis audio, WAVE PCM audio and Theora video.[69][70]


Vorbis faces competition from other audio formats, such as mp3. Though Vorbis is technically superior, mp3 has a far higher public profile.[71] Because Vorbis does not have financial support from large organisations, support for the format is not as widespread, though programs such as Audacity can convert to more popular formats,[72] and support in games has gradually improved.[73]

See also


  1. 1 2 Montgomery, Christopher (2000-05-08). "Merge done". vorbis-dev. Retrieved 2009-09-03.
  2. 1 2 "Ogg Vorbis". Xiph.Org Foundation. Retrieved 2009-09-11.
  3. 1 2 Xiph.Org Foundation (2012-01-20). "Vorbis I specification". Xiph.Org Foundation. Retrieved 2012-01-31.
  4. "PlayOgg! - FSF - Free Software Foundation". 2010-03-17. Retrieved 2013-10-01.
  5. 1 2 "Vorbis.com FAQ". Xiph.Org Foundation. Retrieved 2009-08-29.
  6. "Sample Xiph.Org Variant of the BSD License". Xiph.Org Foundation. Retrieved 2009-08-29.
  7. "MIME Types and File Extensions". Xiph.org wiki. Retrieved 2007-10-13.
  8. "Interview: Christopher Montgomery of Xiphophorus". Advogado. 2000-04-04. Retrieved 2009-09-02.
  9. 1 2 3 "naming". Xiph.Org Foundation.
  10. "About". Xiph.org. Retrieved 2009-08-31.
  11. Robertson, Michael (1998-09-11). "Fraunhofer Lowers Patent Boom on MP3 Software Developers". Archived from the original on 2000-08-16. Retrieved 2009-08-31.
  12. Zisk, Brian (2000-04-19). "Dvorak Interviews Monty". vorbis. Xiph. Retrieved 2008-09-04.
  13. "Ogg" (project homepage). Xiphophorus. 2000-05-20. Archived from the original on 2000-05-20. Retrieved 2008-09-02.
  14. "The Ogg Vorbis CODEC project". Xiphophorus co. 2000-05-11. Archived from the original on 2000-06-10. Retrieved 2009-09-03.
  15. February 2001 on xiph.org "With the Beta 4 release, the Ogg Vorbis libraries have moved to the BSD license. The change from LGPL to BSD was made to enable the use of Ogg Vorbis in all forms of software and hardware. Jack Moffitt says, "We are changing the license in response to feedback from many parties. It has become clear to us that adoption of Ogg Vorbis will be accelerated even further by the use of a less restrictive license that is friendlier toward proprietary software and hardware systems. We want everyone to be able to use Ogg Vorbis.""
  16. RMS on license change on lwn.net
  17. "OGG Vorbis 1.0 officially released". AfterDawn. 2002-07-19. Retrieved 2009-06-04.
  18. "Ogg Vorbis official release is here". News. CNET. 2002-07-19. Retrieved 2009-06-04.
  19. Montgomery, Christopher (2002-07-19). "Vorbis 1.0 released". vorbis (Mailing list). Retrieved 2009-06-04.
  20. Xiph.Org (2014-01-22). "libVorbis 1.3.4 released". Retrieved 2014-02-09.
  21. "Recordings about our Philosophy". GNU Project. Free Software Foundation (FSF). Archived from the original on 2007-11-26. Retrieved 2008-01-12.
  22. 1 2 "Ogg Sites". Free Software Foundation. Retrieved 2009-10-02.
  23. "Ogg Vorbis — no future?". 2007-11-04. Retrieved 2009-10-02.
  24. Wikipedia:WikiProject Spoken Wikipedia, Retrieved 2009
  25. "First steps/Quality and description". Wikimedia Commons. Retrieved 2009-10-02.
  26. "Radio New Zealand Oggcasts". Retrieved 2009-01-14.
  27. "Deutschlandradio im Internet mit OGG-Vorbis-Stream". Retrieved 2009-10-08.
  28. "Spotify FAQ". Retrieved 2009-03-16.
  29. "Qobuz FAQ". Retrieved 2013-04-15.
  30. MedO. "Ogg Vorbis - Better Than Mp3?, 2005".
  31. Nanook. "Ogg Vorbis - An Alternative to MP3, 2004". Archived from the original on May 12, 2012.
  32. "Results of Public, Multiformat Listening Test @ 48 kbps (November 2006)". Archived from the original on 2007-09-28. Retrieved 2008-01-12.
  33. 1 2 "80 kbps personal listening test (summer 2005) - Hydrogenaudio Forums". Retrieved 2008-01-12.
  34. 1 2 "MP3, WMA, AAC, OGG qualité à 96 kbps (évaluation) - Traitement Audio - Video & Son - FORUM HardWare.fr" (in French). Retrieved 2008-01-12.
  35. 1 2 "MPC vs VORBIS vs MP3 vs AAC at 180 kbit/s - Hydrogenaudio Forums". Archived from the original on June 9, 2014. Retrieved 2008-01-12.
  36. "64kbit/sec stereo multiformat listening test". Retrieved 2011-05-10.
  37. Xiph.org Foundation (2009-06-02). "Application". Vorbis I specification. Xiph.org Foundation. Retrieved 2009-09-11.
  38. Xiph.Org Foundation (2009-06-02). "Vorbis I specification - 1.1.2 Classification". Xiph.Org Foundation. Retrieved 2009-09-22.
  39. "Recommended Encoder Versions and Settings - Hydrogenaudio Forums". Retrieved 2008-01-13.
  40. 1 2 Experimental Ogg vorbis Bitrate Peeler, Bitrate reduction of ogg vorbis
  41. Vinjey. "Vorbis & Downloads". Retrieved 2006-11-13.
  42. "Oggless proposal". Xiph.Org Foundation.
  43. "Xiph.Org announces support for the WebM open media project". Xiph.Org. 2010-05-19. Retrieved 2010-05-20.
  44. "Introducing WebM, an open web media project". 2010-05-19. Retrieved 2010-05-19.
  45. "FAQ". WebM. Google. 2010-05-19.
  46. "RFC 5215 — RTP Payload Format for Vorbis Encoded Audio". IETF. August 2008. Retrieved 2010-06-16.
  47. Xiph.Org Foundation. "Vorbis Comment Field Documentation". Retrieved 2007-03-14.
  48. Jack Moffitt (2001-02-26). "[icecast-dev] Xiph.org announces Vorbis Beta 4 and the Xiph.org Foundation". Retrieved 2006-11-13.
  49. "Vorbis development, status & patent issues". 2003. Retrieved 2006-11-13.
  50. "[vorbis-dev] tremor relicensed as BSD". 2002-09-03. Retrieved 2008-03-15.
  51. "Android SDK m5-rc14 now available". Android Developers' Blog. Retrieved 2008-12-15.
  52. Android Developer - Supported Media Formats
  53. PortablePlayers - XiphWiki
  54. Archived November 3, 2008, at the Wayback Machine.
  55. Archived April 28, 2009, at the Wayback Machine.
  56. Archived June 4, 2010, at the Wayback Machine.
  57. "VorbisHardware - XiphWiki". Xiph.Org Foundation. Retrieved 2008-01-13.
  58. "Xiph.Org: QuickTime Components". Retrieved 2008-01-13.
  59. "illiminable Ogg Directshow Filters for Speex, Vorbis, Theora and FLAC". Retrieved 2008-06-24.
  60. "VorbisSoftwarePlayers - XiphWiki". Xiph.Org Foundation. Retrieved 2008-01-13.
  61. Xiph.Org Foundation. "Vorbis.com: 3rd party software". Retrieved 2009-10-12.
  62. "VorbisStreams - XiphWiki". Xiph.Org Foundation. Retrieved 2008-01-13.
  63. MozillaWiki (2009-03-18), Firefox3.5/Features, MozillaWiki, retrieved 2009-10-11
  64. Mozilla Corporation (2009-06-30), Mozilla Firefox 3.5 Release Notes, Mozilla Corporation, retrieved 2009-10-11
  65. Google Chrome to support HTML 5 video, SoftSailor, 2009-05-28, retrieved 2009-10-11
  66. Robert Kaiser (2009-09-16), What's New in SeaMonkey 2.0 Beta 2, seamonkey-project.org, retrieved 2009-10-11
  67. Experimental Opera-video build with native Ogg Theora support, Opera, 2007-04-25, retrieved 2009-10-11
  68. A call for video on the web - Opera file f release on Labs, Opera, 2007-11-07, retrieved 2009-10-11
  69. Philip Jägenstedt (2009-12-31). "(re-)Introducing e forma - Official blog for Core developers at Opera". Opera. Retrieved 2010-01-02.
  70. Arjan van Leeuwen (2009-12-31). "Happy New Year! - Official blog for Core developers at Opera". Opera. Retrieved 2010-01-02.
  71. Sharpless Smith, Susan (2010). Web-based Instruction: A Guide for Libraries. American Library Association. p. 138. ISBN 978-0-8389-1056-6.
  72. Brown, Andrew (2007). Computers in Music Education: Amplifying Musicality. Routledge. p. 148. ISBN 978-0-4159-7850-7.
  73. Dawes, Adam (2010). Windows Mobile Game Development: Building games for the Windows Phone and other mobile devices. Apress. p. 158. ISBN 978-1-4302-2929-2.
This article is issued from Wikipedia - version of the 11/14/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.