In Depth
See Also

Vorbis

Vorbis is an open source Open source

Open source describes practices in production and development that promote access to the end product's s... 

, lossy Lossy data compression

A lossy data compression [i] method is one where compressing data and then decompressing it retrieves da ... 

 audio codec project headed by the Xiph.org Foundation Xiph.Org Foundation

The Xiph.Org Foundation is a non-profit organization [i] dedicated to producing public domain [i] multimedia [i] ... 

. It is most commonly used in conjunction with the Ogg Ogg

Ogg is a patent [i]-free, fully open and standardised [i] multimedia [i] ... 

 container and is then called Ogg Vorbis. Although the Vorbis format is often simply referred to as Ogg, this is technically incorrect as Ogg, like AVI or Matroska Matroska

Matroska is a project to develop an open source [i] multimedia container format [i] similar to Apple's [i] ... 

, is a container format while Vorbis is an audio codec. This can be mildly confusing, but even the codec's creator has been known to call Vorbis files "oggs." Vorbis development began following a September 1998 letter from Fraunhofer Gesellschaft announcing plans to charge licensing fees for the MP3 MP3

MPEG-1 Audio Layer 3, more commonly referred to as MP3, is a popular digital audio [i] encoding an ... 

 format.

Discussions

  Discussion Features

   Ask a question about 'Vorbis'

   Start a new discussion about 'Vorbis'

   Answer questions about 'Vorbis'

   'Vorbis' discussion forum


Encyclopedia



Vorbis is an open source Open source

Open source describes practices in production and development that promote access to the end product's s... 

, lossy Lossy data compression

A lossy data compression [i] method is one where compressing data and then decompressing it retrieves da ... 

 audio codec project headed by the Xiph.org Foundation Xiph.Org Foundation

The Xiph.Org Foundation is a non-profit organization [i] dedicated to producing public domain [i] multimedia [i] ... 

. It is most commonly used in conjunction with the Ogg Ogg

Ogg is a patent [i]-free, fully open and standardised [i] multimedia [i] ... 

 container and is then called Ogg Vorbis. Although the Vorbis format is often simply referred to as Ogg, this is technically incorrect as Ogg, like AVI or Matroska Matroska

Matroska is a project to develop an open source [i] multimedia container format [i] similar to Apple's [i] ... 

, is a container format while Vorbis is an audio codec. This can be mildly confusing, but even the codec's creator has been known to call Vorbis files "oggs."

Vorbis development began following a September 1998 letter from Fraunhofer Gesellschaft announcing plans to charge licensing fees for the MP3 MP3

MPEG-1 Audio Layer 3, more commonly referred to as MP3, is a popular digital audio [i] encoding an ... 

 format. Soon after, founder Christopher "Monty" Montgomery, commenced work on the project and was assisted by a growing number of other developers. They continued refining the source code Source code

Source code is any series of statements written in some human-readable [i] computer programming language [i] ... 

 until a stable version 1.0 of the codec was released on July 19, 2002.

The latest official version is 1.1.2 released on 2005-11-28, but there are some fine-tuned forks Fork

As a piece of cutlery [i] or kitchenware [i], a fork is a tool consisting of a handle with several narro ... 

 available such as aoTuV. Source code for the Xiph.org release is available from the official .

Usage

The Ogg Vorbis format has proven popular among supporters of open source. They argue that its higher fidelity and completely free nature make it an excellent replacement for patented and restricted formats like MP3 MP3

MPEG-1 Audio Layer 3, more commonly referred to as MP3, is a popular digital audio [i] encoding an ... 

. However, MP3 has been widely used since the mid-1990s 1990s

The 1990s [i] decade [i] refers to the years from 1990 [i] to 1999 [i], inclusive, sometimes informally ... 

 and as of 2006 2006

2006 is a common year starting on Sunday [i] of the Gregorian calendar [i].
... 

, is still the most popular standard in the consumer electronics industry. Of the consumer products supporting lossy compressed digital audio, virtually all support playback of MP3 audio while relatively few support alternative formats like Ogg Vorbis.

In the commercial sector, Vorbis support is on the rise. Many mainstream video game Computer and video games

A computer game is a computer [i]-controlled game. ... 

 titles store game audio as Vorbis and it is supported on many consumer electronics like digital audio players. Popular software players support Ogg Vorbis playback either natively or through an external plugin. A number of websites use it such as Jamendo Jamendo

Jamendo is a music platform and community combining:
... 

 and Mindawn, as well as several national radio stations like Radio France Radio France

Radio France is the French [i] public service [i] radio [i] broadcaster [i].
... 

, CBC Radio and Virgin Radio Virgin Radio

Virgin Radio, orginally known as Virgin 1215, is a British [i] commercial music [i] ... 

. Since it is not encumbered by patents and has been found to offer high audio fidelity, Vorbis is the preferred audio format on Wikipedia Wikipedia

Wikipedia is a Web [i]-based free-content [i] multilingual encyclopedia [i] ... 

 and many other wiki Wiki

A wiki is a type of website [i] that allows the visitors themselves to easily add, remove and otherwise ... 

s.

Codec comparisons

For many applications, Vorbis has clear advantages over other lossy audio codecs in that it is patent-free and has open-source implementations and therefore is free to use, implement, or modify as one sees fit, yet produces smaller files than most other codecs at equivalent or higher quality.

Listening tests have attempted to find the best quality lossy audio codecs at certain bitrates. Some conclusions made by recent listening tests:
  • At 128kb/s the shows a four-way tie between aoTuV Vorbis, LAME LAME

    LAME is an open source [i] MPEG [i]-1 audio layer 3 encoder [i]. ... 

    -encoded MP3, WMA Pro, and QuickTime QuickTime

    QuickTime is a multimedia framework [i] developed by Apple Computer [i], capable of handling various for ... 

     AAC, with each codec essentially transparent .
  • At mid to low bitrates, private tests shows that aoTuV Vorbis has a better quality than other lossy audio codecs .
  • At high bitrates , most people do not hear significant differences. However, trained listeners can often hear significant differences between codecs at identical bitrates, and aoTuV Vorbis performs very well, i.e. better than other formats such as AAC, MP3, and MPC .


Many of these results, however, are difficult to keep up to date due to the ever-evolving nature of the codecs.

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 and B 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 not likely to be the result of chance. If sample X can be identified reliably, the listener can assign a score as a subjective judgement of the quality. Otherwise, the encoded version is considered to be transparent. Below are links to several listening test results.
  • . Results suggest that further group testing at this bitrate is unnecessary because all codecs are statistically tied near transparency.
  • . States that aoTuV beta 4 is the best encoder for either classical or various music in this bitrate, and that its quality is comparable to the LAME LAME

    LAME is an open source [i] MPEG [i]-1 audio layer 3 encoder [i]. ... 

     ABR MP3 at 128 kbit/s.

. States that aoTuV beta 4 and AAC are tied as the best encoders for classical music in this bitrate, while aoTuV beta 4 is the best encoder for pop music, even better than LAME at 128 kbit/s.
  • . An audiophile Audiophile

    Audiophile, from Latin [i] audio "hear" and Greek [i] f??e?? "love", is a word us ... 

     listening test, which states that, for classical music, aoTuV beta 4 has 93% percent probability of being the best encoder, tied with MPC. MPC is tied with both Vorbis, in the first place, and LAME in the second.


Technical details

Vorbis nominal bitrate at quality levels for 44.1 kHz stereo input
Quality Nominal Bitrate
Official Xiph.org Vorbis aoTuV beta 3 and later
-q-2 not available 32 kb/s
-q-1 45 kb/s 48 kb/s
-q0 64 kb/s 
-q1 80 kb/s 
-q2 96 kb/s 
-q3 112 kb/s 
-q4 128 kb/s 
-q5 160 kb/s 
-q6 192 kb/s 
-q7 224 kb/s 
-q8 256 kb/s 
-q9 320 kb/s 
-q10 500 kb/s 

Given 44.1 kHz  stereo input, the encoder will produce output from roughly 45 to 500 kbit/s depending on the specified quality setting. Quality settings run from -1 to 10 and are an arbitrary metric — files encoded at -q5, for example, 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 bitrates mentioned above are only approximate; Vorbis is inherently variable-bitrate , so bitrate may vary considerably from sample to sample.

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 Noise floor

In signal theory [i], the noise floor is the measure of the signal created from the sum of all the noise [i] ... 

 and residue components, and then quantized and entropy coded using a codebook Codebook

In cryptography [i], a codebook is a document used for implementing a code [i]. ... 

-based vector quantization algorithm. The decompression algorithm reverses these stages. The noise floor approach gives Vorbis its characteristic analog noise-like failure mode , which many people find more pleasant than the metallic warbling in the MP3 format.

Many users feel that Vorbis reaches transparency at a quality setting of -q5, approximately 160 kbit/s. For comparison, it is commonly felt that MP3 reaches transparency at around 192 kbit/s, resulting in larger file sizes for the same sound quality.

Various tuned versions of the encoder attempt to provide better sound at a specified quality setting, usually by dealing with certain problematic waveforms by temporarily increasing the bitrate. The most consistently cited problem with Vorbis is pre-echo, a faint copy of a sharp attack that occurs just before the actual sound . Most of the tuned versions of Vorbis attempt to fix this problem and to increase the sound quality of lower quality settings . Some tuning suggestions created by the have been incorporated into the 1.1.0 release.

The Vorbis format supports bitrate peeling for reducing the bitrate of already encoded files, and an experimental implemention is available. However, encoding at the lower bitrate will result in better audio quality than this experimental bitrate peeler.

Vorbis streams can be encapsulated in other media container formats besides Ogg. A commonly used alternative is Matroska.

Metadata

Vorbis metadata, called comments, support 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 . This vector is stored in the second header packet that begins a Vorbis bitstream.

The strings are assumed to be encoded as UTF-8 UTF-8

UTF-8 is a variable-length [i] character encoding [i] for Unicode [i] created b ... 

. Music tags are typically implemented as strings of the form "[TAG]=[VALUE]", for instance, "ARTIST=The John Smith Band". Since there is no strict field definition as in 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 Replay Gain information.

Licensing

Knowledge of Vorbis's specifications is in the public domain Public domain

Public domain comprises the body of knowledge [i] and innovation [i] in relation to which no person or ... 

. Concerning the specification itself, Xiph.org reserves the right to set the Vorbis specification and certify compliance. Its libraries are released under a BSD-style license BSD licenses

BSD licenses represent a family of a permissive [i] free software license [i] ... 

 and its tools are released under the GPL GNU General Public License

The GNU General Public License is a widely used free software license [i], originally written by Richard Stallman [i] ... 

 . The libraries were originally released under the GNU Lesser General Public Licence GNU Lesser General Public License

The GNU Lesser General Public License is a free software license [i] published by the Free Software Foundation [i]... 

, but a BSD licence was later chosen with the endorsement of Richard Stallman Richard Stallman

Richard Matthew Stallman is the founder of the free software movement [i], the GNU Project [i], the Free Software Foundation [i] ... 

 . The Xiph.org Foundation Xiph.Org Foundation

The Xiph.Org Foundation is a non-profit organization [i] dedicated to producing public domain [i] multimedia [i] ... 

 states that Vorbis, like all its developments, is completely free from the licensing or patent Software patent

Software patents are patent [i]s on computer [i]-implemented invention [i]s. ... 

 issues raised by other proprietary formats such as MP3 MP3

MPEG-1 Audio Layer 3, more commonly referred to as MP3, is a popular digital audio [i] encoding an ... 

. Although Xiph.org says it has conducted a patent search that supports its claims, outside parties have expressed doubt that Vorbis is free of patented technology .

Xiph.org maintains that it was privately issued a legal opinion subject to attorney/client privilege. It 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 cannot be resolved outside of a court of law. Some Vorbis proponents have derided the uncertainty concerning the patent status as "FUD": misinformation spread by large companies with a vested interest.

Ogg Vorbis is supported by several large digital audio player Digital audio player

A digital audio player is a device that stores, organizes and plays digital music file [i] ... 

 manufacturers such as Samsung Samsung Group

The Samsung Group is composed of numerous South Korea [i]n business [i] sectors including Samsung Electronics [i] ... 

, Rio, Neuros Technology Neuros Technology

Neuros Technology is a Chicago [i]-based company that produces a number of audio and v ... 

, Cowon Cowon

Cowon Systems, Inc. is a South Korean [i] eletronics company and it was established in 1998. ... 

, and iRiver Iriver

iriver Co., Ltd. makes portable digital audio players [i]. ... 

. Many feel that the growing support for the Vorbis codec within the industry supports their interpretation of its patent status, as multinational corporations are unlikely to distribute software with questionable legal status. The same could be said about its growing popularity in other commercial enterprises like mainstream computer games.

Hardware and software support


Hardware

Tremor, a version of the Vorbis decoder which uses fixed-point arithmetic , was made available to the public on September 2, 2002 . 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 an intention to produce Vorbis-compliant devices, and new Vorbis devices seem to be appearing at a steady rate, especially in South Korea South Korea

South Korea, officially the Republic of Korea, is an East Asia [i]n state [i] on the southern half ... 

, although availability may differ from country to country.

The has an up-to-date list of Vorbis-supporting hardware, such as portables, PDAs, and microchips. Most digital audio players supported by Rockbox Rockbox

Rockbox is a free software [i] / open source [i] operating system for digital audio player [i] ... 

, an open-source firmware project, are capable of decoding Vorbis.

Software

Software supporting Vorbis exists for many platforms. Although Apple Apple Computer

Apple Computer, Inc. is an American [i] computer [i] technology [i] corporation [i] with ... 

 iTunes ITunes

iTunes is a digital [i] media player [i] application, introduced by Apple Computer [i] o... 

 does not natively support Vorbis, Xiph.org which can be used in iTunes and QuickTime on both Microsoft Windows Microsoft Windows

Microsoft Windows is a family of operating system [i]s by Microsoft [i].... 

 and Mac OS Mac OS

Mac OS, which stands for Macintosh Operating System, is a series of graphical user interface [i]... 

. On Windows, exist to decode Vorbis in multimedia players like Windows Media Player Windows Media Player

Windows Media Player is a proprietary [i] software [i] digital [i] media player [i] ... 

 and others which support DirectShow DirectShow

DirectShow, codename Quartz, is a multimedia framework [i] and API [i] ... 

. Vorbis is well-supported on the Linux Linux

Linux is a Unix-like [i] computer operating system [i]. ... 

 platform in programs like XMMS XMMS

[i] very similar to [[Winamp]... 

, xine Xine

xine is a multimedia [i] playback engine for Unix-like [i] operating system [i]s released under the GNU General Public License [i] ... 

, and many more.

More information about Vorbis-supporting software can be found at the . Users can test these programs using the list of Vorbis audio streams available at .

Trivia

  • "Ogg" is derived from ogging, jargon that arose in the computer game, Netrek Netrek

    Netrek is a free to play open source software [i] cross platform [i] multiplayer [i] hybrid multi-di ... 

    . Originally meaning a kamikaze attack and later, more generally, to do something forcefully possibly without consideration of the drain on future resources.
  • "Vorbis" is named after a Discworld Discworld

    Discworld is a series [i] of thirty-four fantasy novels, a number of short stories, and ... 

    character, High Priest Vorbis in Small Gods Small Gods

    Small Gods is a novel [i] by Terry Pratchett [i], the thirteenth part of the popular Discworld [i] ... 

    .

See also

and playing sound files on Wikipedia
  • Ogg Ogg

    Ogg is a patent [i]-free, fully open and standardised [i] multimedia [i] ... 

     bitstream format
  • Vorbis comment, metadata format used by Vorbis
  • XSPF, playlist format
  • Comparison of audio codecs
  • Xiph QuickTime Components Xiph QuickTime Components

    The Xiph QuickTime Components are Xiph.org [i]'s implementation of the Ogg [i] conta... 

    , official QuickTime implementation
  • FreeCast FreeCast

    FreeCast is a free software [i] application which allows peer-to-peer [i] streaming, sometimes called peercasting [i]... 

    , peer-to-peer Vorbis streaming

External links

  • - Xiph reference implementation
  • Other encoder / decoder implementation:
    • - aoTuV Vorbis tuned implementation
    • - Optimized versions of aoTuV Vorbis encoder and other SSE/MultiThread optmizations
  • Software / hardware supporting Vorbis:
    • [https://helixcommunity.org/projects/xiph/ RealPlayer Plug-In]
  • Other useful links: