All Topics  
Vorbis

 

   Email Print
   Bookmark   Link






 

Vorbis



 
 
Vorbis is a free
Free software

Free Software or software libre is software that can be used, studied, and modified without restriction, and which can be copied and redistributed in modified or unmodified form either without restriction, or with minimal restrictions only to ensure that further recipients can also do these things and to prevent consumer-facing hardware...
 and open source, lossy audio codec
Codec

A codec is a device or computer program capable of encoder and/or Decoding methods a digital data stream or signal . The word codec is a portmanteau of 'compressor-decompressor' or, most commonly, 'coder-decoder'....
 project headed by the Xiph.Org Foundation
Xiph.Org Foundation

The Xiph.Org Foundation is a 501 non-profit organization dedicated to producing free software multimedia formats and tools. Their primary focus is on the Ogg family of formats, the most successful of which has been Vorbis, an open and patent-free audio format and codec designed to compete with the patented MP3 and Advanced audio coding....
 and intended to serve as a replacement for MP3
MP3

MPEG-1 Audio Layer 3, more commonly referred to as MP3, is a digital audio Encoder format using a form of lossy data compression. It is a common audio format for consumer audio storage, as well as a de facto standard encoding for the transfer and playback of music on digital audio players....
. It is most commonly used in conjunction with the Ogg
Ogg

Ogg is a free file format, open standard container format maintained by the Xiph.Org Foundation. The Ogg format is unrestricted by software patents and is designed to provide for efficient streaming media and manipulation of high quality digital multimedia....
 container and is therefore called Ogg Vorbis.

Vorbis development began following a September 1998 letter from Fraunhofer Gesellschaft
Fraunhofer Society

The Fraunhofer Society is a Germany research organization with 58 institutes spread throughout Germany, each focusing on different fields of applied science ....
 announcing plans to charge licensing fees for the MP3 audio format. Soon after, founder Christopher "Monty" Montgomery
Chris Montgomery

Christopher "Chris" Montgomery is the creator of the Ogg Free Software container format and Vorbis audio codec and others, and the founder of Xiph.Org Foundation which promotes public domain multimedia Codecs....
 began work on the project and was assisted by a growing number of other developers.






Discussion
Ask a question about 'Vorbis'
Start a new discussion about 'Vorbis'
Answer questions from other users
Full Discussion Forum



Encyclopedia


Vorbis is a free
Free software

Free Software or software libre is software that can be used, studied, and modified without restriction, and which can be copied and redistributed in modified or unmodified form either without restriction, or with minimal restrictions only to ensure that further recipients can also do these things and to prevent consumer-facing hardware...
 and open source, lossy audio codec
Codec

A codec is a device or computer program capable of encoder and/or Decoding methods a digital data stream or signal . The word codec is a portmanteau of 'compressor-decompressor' or, most commonly, 'coder-decoder'....
 project headed by the Xiph.Org Foundation
Xiph.Org Foundation

The Xiph.Org Foundation is a 501 non-profit organization dedicated to producing free software multimedia formats and tools. Their primary focus is on the Ogg family of formats, the most successful of which has been Vorbis, an open and patent-free audio format and codec designed to compete with the patented MP3 and Advanced audio coding....
 and intended to serve as a replacement for MP3
MP3

MPEG-1 Audio Layer 3, more commonly referred to as MP3, is a digital audio Encoder format using a form of lossy data compression. It is a common audio format for consumer audio storage, as well as a de facto standard encoding for the transfer and playback of music on digital audio players....
. It is most commonly used in conjunction with the Ogg
Ogg

Ogg is a free file format, open standard container format maintained by the Xiph.Org Foundation. The Ogg format is unrestricted by software patents and is designed to provide for efficient streaming media and manipulation of high quality digital multimedia....
 container and is therefore called Ogg Vorbis.

Vorbis development began following a September 1998 letter from Fraunhofer Gesellschaft
Fraunhofer Society

The Fraunhofer Society is a Germany research organization with 58 institutes spread throughout Germany, each focusing on different fields of applied science ....
 announcing plans to charge licensing fees for the MP3 audio format. Soon after, founder Christopher "Monty" Montgomery
Chris Montgomery

Christopher "Chris" Montgomery is the creator of the Ogg Free Software container format and Vorbis audio codec and others, and the founder of Xiph.Org Foundation which promotes public domain multimedia Codecs....
 began work on the project and was assisted by a growing number of other developers. They continued refining the source code
Source code

In computer science, source code is any collection of statements or declarations written in some human-readable computer programming language....
 until a stable version 1.0 of the codec was released on July 19, 2002.

The latest official version is 1.2.0 released on July 25, 2007, but there are some fine-tuned forks
Fork (software development)

In software engineering, a project fork happens when developers take a copy of source code from one Computer software and start independent development on it, creating a distinct piece of software....
, most notably aoTuV, that offer better audio quality, particularly at low bitrates. Work is in progress to merge back those improvements. Source code (called libvorbis) for the Xiph.Org Foundation release is available from the official download page.

Name

"Vorbis" is named after a Discworld
Discworld

Discworld is a comedy fantasy book series by the British author Terry Pratchett, set on Discworld , a Flat Earth balanced on the backs of four elephants which, in turn, stand on the back of a giant turtle, Discworld #Great A'Tuin, the star turtle....
 character, Exquisitor Vorbis in Small Gods
Small Gods

Small Gods is the thirteenth of Terry Pratchett's popular Discworld novels, published in 1992. It tells the origin of the god Great God Om, and his relations with his prophet, the reformer Minor Discworld characters#Brutha....
, by Terry Pratchett
Terry Pratchett

Sir Terence David John Pratchett, Officer of the Order of the British Empire is an England novelist, known for his frequently comical work in the fantasy genre....
. Coincidentally, Nanny Ogg
Nanny Ogg

Gytha Ogg is a character from Terry Pratchett's Discworld series. She is a Witches and member of the Lancre coven....
 is another Discworld character, a witch who appears in several books including Witches Abroad
Witches Abroad

Witches Abroad is the twelfth Discworld novel by Terry Pratchett, originally published in 1991....
, though the Ogg
Ogg

Ogg is a free file format, open standard container format maintained by the Xiph.Org Foundation. The Ogg format is unrestricted by software patents and is designed to provide for efficient streaming media and manipulation of high quality digital multimedia....
 format was not named after her. "Ogg" is in fact derived from ogging
Ogging

Ogging is term for a tactic developed for the online multiplayer game Netrek. This game was among the very first multiplayer Internet based games, and was most popular in the 1990s on university Unix systems used for internet access, and is still played today, having been later adapted to Windows and Macintosh computers....
, jargon
Jargon

Jargon is terminology which has been especially defined in relationship to a specific activity, profession, or group. In other words, the term covers the language used by people who work in a particular area or who have a common interest....
 that arose in the computer game Netrek
Netrek

Netrek is an Internet game for up to 16 players. It is free to download and play, written almost entirely in open source software, is cross platform, and can be classed as a hybrid shoot 'em up and real time strategy game....
.

Usage


The Vorbis format has proven popular among supporters of free software
Free software

Free Software or software libre is software that can be used, studied, and modified without restriction, and which can be copied and redistributed in modified or unmodified form either without restriction, or with minimal restrictions only to ensure that further recipients can also do these things and to prevent consumer-facing hardware...
. 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. However, MP3 has been widely used since the late-1990s and as of 2009, continues to remain popular in the consumer electronics industry.

Vorbis has different uses for consumer products. Many video game titles such as 18 Wheels of Steel
18 Wheels of Steel

18 Wheels of Steel is a series of trucking simulators published by ValuSoft and developed by SCS Software. The series currently has 6 installments....
, Halo, Unreal Tournament
Unreal Tournament

Unreal Tournament is a first-person shooter video game co-developed by Epic Games and Digital Extremes. It was published in 1999 by GT Interactive....
, Mafia: The City of Lost Heaven
Mafia: The City of Lost Heaven

Mafia: The City of Lost Heaven is a third-person shooter video game initially made for Personal computer and released in . It was later Porting to the Sony PlayStation 2 and the Microsoft Xbox in ....
, Grand Theft Auto: San Andreas
Grand Theft Auto: San Andreas

Grand Theft Auto: San Andreas is a Nonlinear gameplay action-adventure game computer game and video game developed by Rockstar North. It is the third 3D computer graphics game in the Grand Theft Auto video game franchise and fifth original game overall....
, Crimsonland
Crimsonland

Crimsonland is a shoot 'em up style computer game, released in April 22, 2003. The player must defend himself against thousands of Extraterrestrial lifes that surround him....
, Devil May Cry 3 and Guitar Hero: On Tour
Guitar Hero: On Tour

Guitar Hero: On Tour is a music video game for the Nintendo DS system, based on the Guitar Hero series of video games. The game is developed by Vicarious Visions and published by RedOctane and Activision....
 store in-game audio as Vorbis. Popular software players support Vorbis playback either natively or through an external plugin
Plugin

In computing, a plug-in consists of a computer program that interacts with a host application software to provide a certain, usually very specific, function "on demand"....
. A number of Web sites use it, such as Jamendo
Jamendo

Jamendo is a music platform and community.All music on Jamendo is free to download and licensed through one of several Creative Commons licenses or the Free Art License, making it legal to copy and share, as well as to modify and make commercial use of for some, depending on the license....
 and Mindawn
Mindawn

Mindawn is an online music store that, unlike most major services of its type, offers its songs in lossless FLAC format without copy protection of any kind....
, as well as several national radio stations like CBC Radio
CBC Radio

CBC Radio is the radio division of the Canadian Broadcasting Corporation. The division operates a number of radio networks serving different audiences and programming niches....
, JazzRadio, Virgin Radio
Virgin Radio

Absolute Radio, , is one of the UK's three Independent National Radio stations. The station rebranded to its current name at 7.45am on 29 September 2008....
 and Radio New Zealand
Radio New Zealand

Radio New Zealand Limited is New Zealand's public service radio broadcasting. It is currently a Crown Entity established by the Radio New Zealand Act 1995, incorporated under the Companies Act 1993, and a designated lifeline utility under the Civil Defence Emergency Management Act 2002, Schedule A....
.

Quality: Codec comparisons


For many applications, Vorbis has clear advantages over other lossy audio codecs
List of codecs

The following is a list of codecs....
 in that it is patent-free and has free and open-source
Open-source software

Open source software is defined as computer software for which the source code and certain other rights normally reserved for copyright holders are provided under a computer software license that meets the Open Source Definition or that is in the public domain....
 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 bitrate
Bitrate

In telecommunications and computing, bitrate is the number of bits that are conveyed or processed per unit of time.The bit rate is quantified using the Data rate units unit, often in conjunction with an SI prefix such as kilo- , mega- , giga- or tera- ....
s. Some conclusions made by recent listening tests:
  • Low bitrate (less than 64 kbit/s): the most recent public multiformat test at 48 kbit/s shows that aoTuV Vorbis has a better quality than WMA
    Windows Media Audio

    Windows Media Audio is an audio data compression technology developed by Microsoft. The name can be used to refer to its audio file format or its audio codecs....
     and LC-AAC
    Advanced Audio Coding

    Advanced Audio Coding is a standardized, lossy data compression Audio data compression and encoder scheme for digital audio. Designed to be the successor of the MP3 format, AAC generally achieves better sound quality than MP3 at many bit rates....
    , the same quality as WMA Professional
    Windows Media Audio

    Windows Media Audio is an audio data compression technology developed by Microsoft. The name can be used to refer to its audio file format or its audio codecs....
    , and a lower quality than HE-AAC
    HE-AAC

    High-Efficiency Advanced Audio Coding is a lossy data compression scheme for digital audio. It is an extension of Low Complexity Advanced Audio Coding optimized for low-bitrate applications such as streaming audio....
    .
  • Mid to low bitrates (less than 128 kbit/s down to 64 kbit/s): private tests at 80 kbit/s and 96 kbit/s shows that aoTuV Vorbis has a better quality than other lossy audio codecs (LC-AAC
    Advanced Audio Coding

    Advanced Audio Coding is a standardized, lossy data compression Audio data compression and encoder scheme for digital audio. Designed to be the successor of the MP3 format, AAC generally achieves better sound quality than MP3 at many bit rates....
    , HE-AAC
    HE-AAC

    High-Efficiency Advanced Audio Coding is a lossy data compression scheme for digital audio. It is an extension of Low Complexity Advanced Audio Coding optimized for low-bitrate applications such as streaming audio....
    , MP3
    MP3

    MPEG-1 Audio Layer 3, more commonly referred to as MP3, is a digital audio Encoder format using a form of lossy data compression. It is a common audio format for consumer audio storage, as well as a de facto standard encoding for the transfer and playback of music on digital audio players....
    , MPC
    Musepack

    Musepack or MPC is an open source audio data compression#Lossy compression, specifically optimized for transparency compression of stereo audio at bitrates of 160–180 bit rate....
    , WMA
    Windows Media Audio

    Windows Media Audio is an audio data compression technology developed by Microsoft. The name can be used to refer to its audio file format or its audio codecs....
    ).
  • Mid bitrate (128kbit/s): most recent public multiformat test at 128 kbit/s shows a four-way tie between aoTuV Vorbis, LAME
    LAME

    LAME is a free software software application used to encoder audio into the MP3 file format. The name LAME is a recursive acronym for LAME Ain't an MP3 Encoder, reflecting LAME's early history when it was not actually an encoder, but merely a set of patches against the freely available ISO demonstration source code....
    -encoded MP3, WMA Pro
    Windows Media Audio

    Windows Media Audio is an audio data compression technology developed by Microsoft. The name can be used to refer to its audio file format or its audio codecs....
    , and QuickTime
    QuickTime

    QuickTime is a multimedia framework developed by Apple Inc., capable of handling various formats of digital video, media clips, sound, text, animation, music, and QuickTime VRs....
     AAC
    Advanced Audio Coding

    Advanced Audio Coding is a standardized, lossy data compression Audio data compression and encoder scheme for digital audio. Designed to be the successor of the MP3 format, AAC generally achieves better sound quality than MP3 at many bit rates....
    , with each codec essentially transparent (sounds identical to the original music file).
  • High bitrates (more than 128 kbit/s): most people do not hear significant differences. However, trained listeners can often hear significant differences between codecs at identical bitrates, and aoTuV Vorbis performs better than LC-AAC
    Advanced Audio Coding

    Advanced Audio Coding is a standardized, lossy data compression Audio data compression and encoder scheme for digital audio. Designed to be the successor of the MP3 format, AAC generally achieves better sound quality than MP3 at many bit rates....
    , MP3
    MP3

    MPEG-1 Audio Layer 3, more commonly referred to as MP3, is a digital audio Encoder format using a form of lossy data compression. It is a common audio format for consumer audio storage, as well as a de facto standard encoding for the transfer and playback of music on digital audio players....
    , and MPC
    Musepack

    Musepack or MPC is an open source audio data compression#Lossy compression, specifically optimized for transparency compression of stereo audio at bitrates of 160–180 bit rate....
    .


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 test
ABX test

An ABX test is a method of comparing two kinds of sensory stimuli to identify detectable differences. A subject is presented with two known samples ....
s, 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 judgement of the quality. Otherwise, the encoded version is considered to be transparent. Below are links to several listening test results.
  • 2005-2006 Public group test of Lame MP3, Vorbis AoTuV, iTunes AAC, Nero AAC, and WMA Pro at ~135 kbit/s nominal. Results suggest that further group testing at this bitrate is unnecessary because all codecs are statistically tied near transparency.
  • 2005, July comparison - AAC vs MP3 vs Vorbis vs WMA at 80 kbit/s. 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 a free software software application used to encoder audio into the MP3 file format. The name LAME is a recursive acronym for LAME Ain't an MP3 Encoder, reflecting LAME's early history when it was not actually an encoder, but merely a set of patches against the freely available ISO demonstration source code....
     ABR MP3 at 128 kbit/s.
  • 2005, August comparison - AAC vs MP3 vs Vorbis vs WMA at 96 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.
  • 2005, August comparison - MPC vs VORBIS vs MP3 vs AAC at 180 kbit/s. An audiophile
    Audiophile

    An audiophile, from Latin audio "I hear" and Greek language philos "loving," is a person, who typically listens to music on high-end audio electronics....
     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.


Audio quality: Characteristic artifacts

The most consistently cited problem with Vorbis is pre-echo
Pre-echo

Pre-echo is an audio compression artifact where a sound is heard before it occurs . It is most noticeable in impulsive sounds from percussion instruments such as castanets or cymbals....
, a faint copy of a sharp attack that occurs just before the actual sound (the sound of castanets is commonly cited as causing this effect). This also occurs in similar codecs based on transforming to the frequency domain
Frequency domain

In electronics and control systems engineering, frequency domain is a term used to describe the analysis of mathematical functions or Signal with respect to frequency, rather than time....
, including MP3 and AAC.

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. This is considered more pleasant than the metallic warbling that MP3 exhibits in the same situation; Vorbis's behavior is due to the noise floor
Noise floor

In signal theory, the noise floor is the measure of the signal created from the sum of all the noise sources and unwanted signals within a measurement system....
 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 compress 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
Given 44.1 kHz (standard CD
Compact Disc

A Compact Disc is an optical disc used to store Data , originally developed for storing digital audio. The CD, available on the market since October 1982, remains the standard physical medium for sale of commercial Sound recording and reproduction to the present day....
 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 settings run from -1 to 10 (-2 to 10 for aoTuV tunings). 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 bitrates mentioned above are only approximate; Vorbis is inherently variable-bitrate (VBR), so bitrate may vary considerably from sample to sample.

Vorbis aims to be more efficient than MP3, with transparency
Transparency (data compression)

In data compression or psychoacoustics, transparency is the ideal result of lossy data compression. If a lossily compressed result is perception indistinguishable from the uncompressed input, then the compression can be declared to be transparent....
 being available at lower bitrates.

Outline of codec

Vorbis uses the modified discrete cosine transform
Modified discrete cosine transform

The modified discrete cosine transform is a List of Fourier-related transforms based on the type-IV discrete cosine transform , with the additional property of being lapped: it is designed to be performed on consecutive blocks of a larger dataset,...
 (MDCT) for converting sound data from the time domain
Time domain

Time domain is a term used to describe the analysis of mathematical function s, or physical signal s, with respect to time. In the time domain, the signal or function's value is known for all real numbers, for the case of continuous time, or at various separate instants in the case of discrete time....
 to the frequency domain
Frequency domain

In electronics and control systems engineering, frequency domain is a term used to describe the analysis of mathematical functions or Signal with respect to frequency, rather than time....
. The resulting frequency-domain data is broken into noise floor
Noise floor

In signal theory, the noise floor is the measure of the signal created from the sum of all the noise sources and unwanted signals within a measurement system....
 and residue components, and then quantized and entropy coded using a codebook
Codebook

In cryptography, a codebook is a document used for implementing a code . A codebook contains a lookup table for coding and decoding; each word or phrase has one or more strings which replace it....
-based vector quantization
Vector quantization

Vector quantization is a classical quantization technique from signal processing which allows the modeling of probability density functions by the distribution of prototype vectors....
 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), which many people find more pleasant than the metallic warbling in the MP3 format. The sound of the compression artifacts at low bitrates can be perhaps described as reverberations in an amphithreatre 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. The most consistently cited problem with Vorbis is pre-echo
Pre-echo

Pre-echo is an audio compression artifact where a sound is heard before it occurs . It is most noticeable in impulsive sounds from percussion instruments such as castanets or cymbals....
, a faint copy of a sharp attack that occurs just before the actual sound (the sound of castanet
Castanet

Castanets are percussion instrument , much used in Moorish, Ottoman music, Music of ancient Rome, Italian music, Spanish music, Portuguese music and Latin American music....
s is commonly cited as causing this effect). Most of the tuned versions of Vorbis attempt to fix this 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.

Bitrate peeling

The Vorbis format supports bitrate peeling
Bitrate peeling

Bitrate Peeling is a technique used in Ogg Vorbis Audio data compression streaming media, wherein a stream can be data compression at one bit rate but can be served at that or any lower bitrate....
 for reducing the bitrate of already encoded files without re-encoding, and several experimental implementations exist. However, the quality is "unusable", and markedly inferior to decoding and re-encoding.

The reason that naïve peeling programs degrade quality so severely is that the format does not specify the relative importance of signal data, nor do existing encoders 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 format
Container format

A container or wrapper format is a file format whose specifications regard only the way data are stored within the file, and how many metadata could or are effectively stored, whereas no specific codification of the data themselves is implied or specified....
s besides Ogg. A commonly used alternative is Matroska
Matroska

The Matroska Multimedia Container is an open standard free file format container format , a file format that can hold an unlimited number of video, audio, picture or subtitle tracks inside a single file....
.

Metadata

Vorbis metadata
Metadata

Metadata is "data about other data", of any sort in any media. An item of metadata may describe an individual datum, or content item, or a collection of data including multiple content items and hierarchical levels, for example a database schema....
, called Vorbis comments
Vorbis comment

A Vorbis comment is a metadata container used in the Vorbis, FLAC, and Speex audio file formats. It allows information such as the title, artist, album, track number or other information about the file to be added to the file itself....
, support metadata 'tags' similar to those implemented in the ID3
ID3

ID3 is a metadata container most often used in conjunction with the MP3 audio file format. It allows information such as the title, artist, album, track number, or other information about the file to be stored in the file itself....
 standard for MP3. The metadata is stored in a vector of eight-bit-clean
8-bit clean

Eight-bit clean describes a computer system that correctly handles 8-bit character , such as the ISO 8859 series and the UTF-8 encoding of Unicode....
 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
1000000000 (number)

1,000,000,000 is the natural number following 999,999,999 and preceding 1,000,000,001.In scientific notation, it is written as 109....
, or any integer that can be expressed in 32 bits). 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-width encoding character encoding for Unicode. It is able to represent any character in the Unicode standard, yet the initial encoding of byte codes and character assignments for UTF-8 is backward compatibility with ASCII....
. 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 Replay Gain
Replay Gain

Replay Gain is a proposed standard published in 2001 to Audio normalization the perception loudness of computer Sound recording and reproduction formats such as MP3 and Vorbis....
 information.

Licensing

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

File:PD-icon.svgThe public domain is a range of abstract materials?commonly referred to as intellectual property?which are not owned or controlled by anyone....
. 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
GNU General Public License

The GNU General Public License is a widely used free software license, originally written by Richard Stallman for the GNU project. The GPL is the most popular and well-known example of the type of strong copyleft license that requires derived works to be available under the same copyleft....
. 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
Richard Stallman

Richard Matthew Stallman , often abbreviated "rms","'Richard Stallman' is just my mundane name; you can call me 'rms'"|last= Stallman...
. The Xiph.Org Foundation
Xiph.Org Foundation

The Xiph.Org Foundation is a 501 non-profit organization dedicated to producing free software multimedia formats and tools. Their primary focus is on the Ogg family of formats, the most successful of which has been Vorbis, an open and patent-free audio format and codec designed to compete with the patented MP3 and Advanced audio coding....
 states that Vorbis, like all its developments, is completely free from the licensing or patent
Software patent

Software patent does not have a universally accepted definition. One definition suggested by the Foundation for a Free Information Infrastructure is that a software patent is a "patent on any performance of a computer realised by means of a computer program"....
 issues raised by other proprietary
Proprietary software

Proprietary software is a term coined by advocates of the free software movement to describe computer software which is the legal property of one party....
 formats such as MP3
MP3

MPEG-1 Audio Layer 3, more commonly referred to as MP3, is a digital audio Encoder format using a form of lossy data compression. It is a common audio format for consumer audio storage, as well as a de facto standard encoding for the transfer and playback of music on digital audio players....
. 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.

The Xiph.Org Foundation maintains that it was privately issued a legal opinion subject to attorney-client privilege
Attorney-client privilege

Attorney-client privilege is a legal concept that protects communications between a client and his or her Lawyer and keeps those communications confidential....
. 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 "fear, uncertainty and doubt
Fear, uncertainty and doubt

Fear, uncertainty and doubt is a tactic of rhetoric and fallacy used in sales, marketing, public relations, politics and propaganda. FUD is generally a strategic attempt to influence public perception by disseminating negative information designed to undermine the credibility of their beliefs....
" (also known as "FUD"): misinformation spread by large companies with a vested interest
Vested interest

Vested interest is a communication theory that seeks to explain how influences impact behaviors. Coined by William Crano, vested interest refers to the amount that an attitude object is deemed wikt:hedonically relevant by the attitude holder ....
.

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

A digital audio player, more commonly referred to as an MP3 player, is a consumer electronics device that stores, organizes and plays audio file formats....
 manufacturers such as Samsung, Rio
Rio (digital audio players)

Rio was the brand name of a line of digital audio players, best known for producing the Rio PMP300 model that was the impetus for a lawsuit in 1998 by the Recording Industry Association of America....
, Neuros Technology
Neuros Technology

Neuros Technology is a Chicago, Illinois-based company that produces a number of audio and video devices with the brand name Neuros. Founded by Joe_Born in 2001 as a division of Digital Innovations and previously operated under the name Neuros Audio....
, Cowon
Cowon

Cowon Systems, Inc. is a South Korean electronics company established in 1995. The company's focus initially was software. In 2000, Cowon expanded their business to the portable digital audio player market with the introduction of the iaudio#iAudio CW100 .26 CW100s....
, and iriver
Iriver

iriver is a brand and division of ReignCom, manufacturer of digital audio players and other portable products. They typically include USB mass storage device class, or the Media Transfer Protocol, multiple codecs, tuner , recording capabilities, and upgradeable firmware....
. 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.

Support


Hardware

Tremor
Tremor (software)

Tremor by the Xiph.Org Foundation is a fixed-point arithmetic version of the Vorbis decoder for those platforms without floating point operations....
, a version of the Vorbis decoder which uses fixed-point arithmetic
Fixed-point arithmetic

In computing, a fixed-point number representation is a real data type for a number that has a fixed number of digits after the radix point . Fixed-point number representation can be compared to the more complicated floating point number representation....
 (rather than floating point
Floating point

In computing, floating point describes a system for numerical representation in which a String of digits represents a rational number.The term floating point refers to the fact that the radix point can "float": that is, it can be placed anywhere relative to the Significant figures of the number....
), was made available to the public on September 2, 2002 (also under a BSD-style license). 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.

  • Telephones based on Google's
    Google

    Google Inc. is an United States public company, earning revenue from AdWords related to its Google search, Gmail, Google Maps, Google Apps, Orkut, and YouTube services as well as selling advertising-free versions of the Google Search Appliance....
     Android platform support Ogg Vorbis media files.
  • Digital audio players such as Cowon
    Cowon

    Cowon Systems, Inc. is a South Korean electronics company established in 1995. The company's focus initially was software. In 2000, Cowon expanded their business to the portable digital audio player market with the introduction of the iaudio#iAudio CW100 .26 CW100s....
    's D2
    Cowon D2

    The Cowon D2 is a portable media player with touch screen interface designed and marketed by Cowon Systems Inc. To date, it is one of their most popular MP3-players available....
    ,
  • Samsung YP series of digital audio playersand iAudio X5
    IAUDIO

    iAUDIO is a brand of portable digital audio player produced by Cowon....
     ship with Ogg Vorbis support.
  • the majority of iRiver
    Iriver

    iriver is a brand and division of ReignCom, manufacturer of digital audio players and other portable products. They typically include USB mass storage device class, or the Media Transfer Protocol, multiple codecs, tuner , recording capabilities, and upgradeable firmware....
     devices provide Ogg Vorbis support up to Q10 bitrates. (as July 2008)
  • Sandisk added Vorbis capability to the for the Sansa Clip player. (added in May 2008)
  • Sandisk added Vorbis capability for the Sansa Fuze player in the firmware update. (added October 3, 2008)
  • Elta 8844 MPEG4 DVD/DivX player can play music files in both MP3 or Ogg/Vorbis format


Apple's iPod
IPod

iPod is a brand of portable media players designed and marketed by Apple Inc. and launched on . The product line-up includes the hard drive-based iPod Classic, the touchscreen iPod Touch, the video-capable iPod Nano, and the compact iPod Shuffle....
 does not natively support Vorbis but through the use of Rockbox
Rockbox

Rockbox is a free software replacement for the firmware held on various forms of digital audio players . Rockbox offers an alternative to the host device's operating system firmware which provides a plug-in architecture for adding various enhancements and functionality to DAPs which are not present in the original OS....
, an open-source firmware project, is capable of decoding Vorbis files. The Xiph.Org Foundation wiki has an up-to-date list of Vorbis-supporting hardware, such as portables, PDAs, and microchips. Also see Internet radio device
Internet radio device

An Internet radio device or network music player is a hardware device that autonomously receives and plays audio from Internet radio stations....
 for an overview.

Software

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

Apple Inc., formerly Apple Computer Inc., is an United States multinational corporation which designs and manufactures consumer electronics and software products....
 iTunes
ITunes

iTunes is a Proprietary software digital media media player application, used for playing and organizing digital music and video files. The program is also an interface to manage the contents on Apple's popular iPod digital media players as well as the iPhone....
 does not natively support Vorbis, the Xiph.Org Foundation provides a QuickTime component which can be used in iTunes and QuickTime on both Microsoft Windows
Microsoft Windows

Microsoft Windows is a series of software operating systems and graphical user interfaces produced by Microsoft. Microsoft first introduced an operating environment named Windows in November 1985 as an add-on to MS-DOS in response to the growing interest in graphical user interfaces ....
 and Mac OS
Mac OS

Mac OS is the trademarked name for a series of graphical user interface-based operating systems developed by Apple Inc. for their Macintosh line of computer systems....
. Windows Media Player
Windows Media Player

Windows Media Player is a digital media media player and media library application developed by Microsoft that is used for playing sound reproduction, video and viewing s on personal computers running the Microsoft Windows operating system, as well as on Pocket PC and Windows Mobile-based devices....
 also does not natively support Vorbis; however, DirectShow filters exist to decode Vorbis in Windows Media Player and other Windows multimedia players that support DirectShow
DirectShow

DirectShow , codename Quartz, is a multimedia framework and application programming interface produced by Microsoft for software developers to perform various operations with media files or streams....
. Vorbis is well-supported on the Linux
Linux

Linux is a generic term referring to Unix-like computer operating systems based on the Linux kernel. Their development is one of the most prominent examples of free and open source software collaboration; typically all the underlying source code can be used, freely modified, and redistributed by anyone under the terms of the GNU GPL license...
 platform in programs like XMMS
XMMS

The X Multimedia System is a free software audio player very similar to Winamp, that runs on many Unix-like operating systems.History ...
, xine
Xine

xine is a multimedia playback engine for Unix-like operating systems released under the GNU General Public License. xine is built around a shared library that supports different frontend player applications....
, and many more. More information about Vorbis-supporting software can be found at the Xiph.Org Foundation wiki. Users can test these programs using the list of Vorbis audio streams available on the same wiki. Winamp
Winamp

Winamp is a proprietary software media player written by Nullsoft, now a subsidiary of Time Warner. It is skin nable, multi-format freeware/shareware....
 can also play ".ogg" vorbis files, as can the open-source VLC media player
VLC media player

VLC media player is an open source, free software media player written by the VideoLAN project.VLC is a portable multimedia player, encoder, and streamer supporting many audio and video codecs and file formats as well as DVDs, Video CD, and various streaming media Communications protocol....
 and Foobar2000
Foobar2000

foobar2000 is a freeware audio player for Microsoft Windows developed by Peter Pawlowski, a former freelance contractor for Nullsoft. It is known for its highly customizable Graphical user interface....
.

Implementations

Because of Vorbis' free and open nature, developers are free to write compliant encoders and decoders.

Official

The Xiph.Org Foundation's reference implementation is free and open source, and licensed under the BSD License and the GNU Lesser General Public License.

aoTuV


aoTuV is a modified version of the reference encoder which improves its quality, especially at lower bitrates. Initially built upon Vorbis 1.0, the improvements of aoTuV Beta2 were merged back into Vorbis 1.1. Further improvements were released, the current Beta 5.61 version (released on December 16th, 2008) is an improvement of libvorbis 1.2.1 RC2.

Lancer is a modified version of aoTuV which keeps the quality of aoTuV and significantly improves its encoding speed, using architecture-specific SIMD
SIMD

In computing, SIMD is a technique employed to achieve data level parallelism....
 instructions instead of floating-point instructions. The last version is based on aoTuV Beta 5 (released on November 11th, 2006).

Tremor

Tremor is an implementation of a Vorbis decoder using fixed-point arithmetic. It is intended for environments when a floating-point arithmetic unit is unavailable. The Xiph.Org Foundation has expressed interest in modifying Tremor into a floating-point version, which would replace the current floating-point reference decoder.

FFmpeg

The libavcodec
Libavcodec

libavcodec is a free software/open source GNU Lesser General Public License-licensed library of codecs for encoding and decoding video and audio data....
 library contains an LGPL-licensed Vorbis decoder that is faster than the reference implementation.

stb_vorbis


stb_vorbis is a C implementation of an Ogg Vorbis decoder placed in the public domain. It lacks some minor features present in the reference implementation (notably seeking), but is still fully compliant with the format specification.

See also


  • Comparison of audio codecs
    Comparison of audio codecs

    The following tables compare general and technical information for a variety of audio codecs. For listening tests comparing the perceived audio quality of audio codecs, see the article Codec listening test....
  • FreeCast
    FreeCast

    FreeCast is a free software application which allows peer-to-peer streaming, sometimes called peercasting. It makes possible an audio or video stream broadcast to a large number of listeners from a simple Digital Subscriber Line connection....
    , peer-to-peer Vorbis streaming
  • Juce
    Juce

    Juce is a free software, cross-platform C++ application framework, used for the development of graphical user interface applications and plug-ins....
    , cross-platform C++ toolkit with embedded Vorbis support
  • Ogg
    Ogg

    Ogg is a free file format, open standard container format maintained by the Xiph.Org Foundation. The Ogg format is unrestricted by software patents and is designed to provide for efficient streaming media and manipulation of high quality digital multimedia....
     bitstream format
  • PocketOgg
    PocketOgg

    PocketOgg is an Ogg Vorbis player program for Windows CE and for Pocket PC.External links...
    : a Vorbis player program for Windows CE for Pocket PC
  • Sb0
    Sb0

    .sb0 is a form of high rate sound used in the newer Ubisoft games. It is basically an Ogg Vorbis sound file and can therefore be played using a compatible player, although sometimes one must force a different sampling frequency to hear it correctly....
    , a file format related to Vorbis, used in certain Ubisoft
    Ubisoft

    Ubisoft Entertainment is a computer game and video game publisher and video game developer with headquarters in Montreuil, Seine-Saint-Denis, France....
     games
  • Vorbis comment
    Vorbis comment

    A Vorbis comment is a metadata container used in the Vorbis, FLAC, and Speex audio file formats. It allows information such as the title, artist, album, track number or other information about the file to be added to the file itself....
    , metadata format used by Vorbis
  • XSPF
    XSPF

    XML Shareable Playlist Format , pronounced spiff, is an XML-based playlist format for digital media, sponsored by the Xiph.Org Foundation. Lucas Gonze of Yahoo.com/Webjay.org originated the format in 2004....
    , playlist
    Playlist

    In its most general form, a playlist is simply a list of songs. The term has several specialized meanings in the realms of radio broadcasting and personal computers....
     format
  • Xiph QuickTime Components
    Xiph QuickTime Components

    The Xiph QuickTime Components are Xiph.Org Foundation's implementation of the Ogg container along with the Speex, Theora, FLAC and Vorbis codecs for QuickTime....
    , official QuickTime implementation


External links

  • - Xiph reference implementation
    • [https://www.thoreg.org/misc/libvorbis-documentation/html/classes.html Cross Reference and Data Structures]
  • Other encoder / decoder implementation:
    • - aoTuV Vorbis tuned implementation
    • - Optimized versions of aoTuV Vorbis encoder and other SSE/MultiThread optimizations
  • Software / hardware supporting Vorbis:
    • [https://helixcommunity.org/projects/xiph/ RealPlayer Plug-In]
  • Other useful links: