Vorbis
|
- This page is about the audio compression codec. For the Discworld character, see Minor Discworld characters.
Oggvorbis.png
ogg Vorbis logo
Vorbis is an open and free audio compression (codec) project from the Xiph.org Foundation. It is frequently used in conjunction with the Ogg container and is then called Ogg Vorbis. It is often mistakenly called just Ogg (or "OGG").
Vorbis was started following a September 1998 letter from Fraunhofer Gesellschaft announcing plans to charge licensing fees for the MP3 format. Soon after founder Christopher "Monty" Montgomery began work on the project, he was assisted by a growing collection of other developers. They continued refining the code until a stable version 1.0 of the codec was released on July 19, 2002.
The latest version is 1.1.0 (http://lists.xiph.org/pipermail/vorbis-dev/2004-September/017670.html) released on 2004-09-22. Source code for this release is available from the official Vorbis web site (http://www.vorbis.com/), while many Windows binaries can be downloaded at Rarewares (http://www.rarewares.org/).
Contents |
Popularity growth
The Ogg Vorbis format has proved popular among open source communities; they argue that its higher fidelity and completely free nature make it a natural replacement for the entrenched MP3 format. However, MP3 has been widely used since the mid-1990s and, as of 2005, is still the most prevalent lossy audio format.
In the commercial sector, Vorbis is being used in many newer video game titles (such as Epic Games' Unreal Tournament 2003 and Unreal Tournament 2004, the PC port of Microsoft's Halo and Uru being notable examples). The increasing number of hardware players that support Vorbis is encouraging its growth as of July 2004; see the compatible hardware below. Many popular software players support the Vorbis format, with a few needing an external plug-in; see the compatible software below. Another indication of Ogg Vorbis' increasing popularity is the number of music websites using it, like Jamendo or Mindawn, as well as several national radio stations—such as Radio France and CBC Radio—providing additional Vorbis streams.
Codec comparisons
Many other lossy audio codecs exist, including:
- MPEG-4 AAC, used by LiquidAudio and Apple Computer's iTunes Music Store;
- AC-3, used in Dolby Digital and DVD;
- ATRAC, used in Sony's Minidisc;
- MP2, MPEG-1/2 Audio Layer 2, MP3's predecessor;
- mp3PRO from Thomson Multimedia combining MP3 with SBR;
- MPC, also known as Musepack (formerly MP+), a derivative of MP2;
- QDesign, used in QuickTime at high bitrates;
- AMR-WB+ Enhanced Adaptive Multi Rate WideBand codec, optimized for cellular and other limited bandwidth use;
- RealAudio from RealNetworks, frequently in use for streaming on websites;
- WMA (Windows Media Audio) from Microsoft, which like MP3 is widely supported by hardware devices;
Listening tests [1] (http://www.rjamorim.com/test/) have attempted to find the best quality lossy audio codecs at certain bitrates. The tests show that: at 128 kbit/s, Ogg Vorbis and MPC performed marginally better than other codecs. At 64 kbit/s, AAC and mp3PRO performed marginally better than other codecs. At higher bitrates (128 kbit/s or more), most people do not hear significant differences.
Based on this, Vorbis can be considered a high quality codec. For most applications Vorbis is a good codec to use, but would only be considered superior to other modern codecs because it is patent free.
Technical details
Ogg quality levels | |
Quality | Bitrate |
-q-1 | ~45 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 audio sample frequency) stereo input, the current encoder as of September 2004 will produce output from 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. Vorbis is inherently variable-bitrate (VBR).
Vorbis uses the modified discrete cosine transform (MDCT) 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), which many people find more pleasing to the ears than metallic warbling as in MP3.
Many users feel that Vorbis reaches transparency (sound quality that is indistinguishable from the original source recording) 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 (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, 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). Most of the tuned versions of Vorbis attempt to fix this problem and to increase the sound quality of lower quality settings (-q0 through -q4). Some tuning suggestions created by the Vorbis user community (http://www.hydrogenaudio.org/forums/index.php?showtopic=15049&st=0) (especially the aoTuV (http://www.geocities.jp/aoyoume/aotuv/) tunings) have been incorporated into the 1.1.0 release.
The Vorbis format supports bitrate peeling for reducing the bitrate of already encoded files, although no encoder has implemented this feature yet (http://wiki.xiph.org/index.php/Bounties#Ogg_Vorbis_Bitrate_Peeling).
Licensing
Knowledge of Vorbis's specifications is in the public domain. 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 and its tools are released under the GPL (GNU General Public License).
The Xiph.org Foundation says that Vorbis, like all its developments, is completely free from the licensing or patent issues raised by other proprietary formats such as MP3. Although Xiph says 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. Xiph says 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 manufacturers such as Rio, Neuros and iRiver. 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
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). Tremor, or platform specific versions based on it, is more suited to implementation on the limited facilities available in commercial audio systems (such as portable players). A number of versions, which make adjustments for specific platforms, and which include customised optimisations 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, although availability might differ from country to country.
Hardware
The VorbisHardware node at the xiph.org wiki (http://wiki.xiph.org/VorbisHardware) has an up-to-date list of Vorbis-supporting hardware, such as portables, PDAs, and microchips.
Some devices that play Ogg Vorbis files:
- All iRiver harddisk players (except H10 and N10) support Ogg Vorbis. Most of the flash-memory players will play Ogg Vorbis without a firmware upgrade.
- The Neuros (site) (http://www.neurosaudio.com) portable player released a firmware upgrade offering Ogg Vorbis support after a beta testing period in the latter half of 2003. Firmware (http://www.neurosaudio.com/support/support_updates.asp) versions 1.45 and newer support Ogg Vorbis.
- Rio Karma (http://www.digitalnetworksna.com/shop/_templates/item_main_Rio.asp?model=261), an mp3 player which supports both Ogg Vorbis and FLAC.
- The Jens of Sweden MP-130 (site) (http://www.jensofsweden.com/) supports Ogg Vorbis.
- The Xclef HD800 [2] (http://www.xclef.com/main.htm) supports Ogg Vorbis amongst other formats.
- Cowon iAudio M3 [3] (http://eng.cowon.com/product/iAUDIOM3/about.html) and iAudio 5 (up to -Q10) [4] (http://www.cowonamerica.com/products/iaudio/5/)
- Samsung YP-60V, and the Samsung YP-MT6 series supports Ogg right out of the box.
- KiSS DVD-Players (site) (http://www.kiss-technology.com/) are supporting Ogg Vorbis, MP3 and WMA. Some models have an Ethernet port allowing to stream audio and video from a PC on the network or listen to Web radio.
- The Muzio JM-200, 250, 300, H1000 (site) (http://www.muzio.co.kr/) all support Ogg Vorbis (through firmware upgrade for the 200/250 models).
- The Mpeye HTS-200 offers native Ogg Vorbis support (q1-q10) (site) (http://www.advancedmp3players.co.uk/shop/product_info.php?products_id=569)
Software
Again, the VorbisSoftwarePlayers node at the xiph.org wiki (http://wiki.xiph.org/index.php/VorbisSoftwarePlayers) has an up-to-date list of Vorbis-supporting software for all operating systems. You can test these players using the list of Vorbis audio streams available at [5] (http://wiki.xiph.org/index.php/VorbisStreams).
Ogg Vorbis can be played using these (and other) players:
- JustOgg (http://hyperarchive.lcs.mit.edu/HyperArchive/Abstracts/gst/snd/HyperArchive.html) for MacOS 9 and lower.
- CoolPlayer (http://coolplayer.sourceforge.net) for Windows (GPL, Open-Source) Light, high quality audio player
- ogg123 for Unix-like systems (GPL), a simple but sufficient commandline player
- Beep Media Player for Unix-like systems (GPL), an XMMS fork
- XMMS for Unix-like systems (GPL) [formerly known as X11amp]
- MPlayer for Unix-like systems (GPL)
- Rhythmbox for Unix-like systems, GNOME based and GPL
- amaroK for Unix-like systems, KDE based and GPL
- xine for Unix-like systems, GPL
- Totem for Unix-like systems, GNOME based and GPL
- zinf for Linux and Windows (GPL) [formerly known as FreeAmp]
- mp3blaster (http://www.stack.nl/~brama/mp3blaster/) for Unix-like systems, ncurses based
- GStreamer for Unix-like systems (GPL)
- Winamp for Windows (freeware)
- JetAudio for Windows (freeware)
- JOrbis pure Java (LGPL)
- foobar2000 for Windows (freeware) focused on high quality playback
- VLC media player for Windows, Mac OS X, and Unix-like systems. (GPL)
- iRecordMusic (http://www.irecordmusic.com), encodes Internet audio streams to Ogg Vorbis on Mac OS X
- Ogg Drop (http://www.nouturn.com/oggdrop/index.html) encodes media files to Ogg Vorbis on Mac OS X (freeware)
- PocketOgg for Pocket PC
- PocketMusic for Windows Smartphone
- Quintessential Player for Windows (freeware)
- Sonique for Windows (freeware)
- Pocket Tunes for PalmOS 5
- AeroPlayer (http://www.aerodrome.us/aeroplayer/index.html) for PalmOS 5
- Symbian OggPlay (http://symbianoggplay.sourceforge.net/) for Symbian OS (Series 60 as well as UIQ) based Smartphones
- XMPlay for Windows (freeware)
- dBpowerAMP for Windows
- Easy CD-DA Extractor 8.1 for Windows saves DA to the Ogg Vorbis format
- Vorbis can be played by Microsoft's Windows Media Player using an Ogg Vorbis DirectShow filter available at [6] (http://tobias.everwicked.com); a different DirectShow filter is available at [7] (http://www.illiminable.com/ogg).
- There is a QuickTime component available at the qtcomponents SourceForge project (http://qtcomponents.sourceforge.net/). This allows Vorbis audio to be played by the popular iTunes software. This software is currently incompatible, however, with the most recent release of QuickTime (7.0).
In July 2002, RealNetworks announced that they will support Ogg Vorbis in their products. See Helix project for more details.
Trivia
"Ogg" is not named after the witch Nanny Ogg in Terry Pratchett's Discworld books; see Ogg for the correct definition. However, "Vorbis" is named after another Discworld character, High Priest Vorbis in Small Gods.
See also
- Help with Ogg Vorbis and playing sound files on Wikipedia
- Ogg bitstream format
- Speex, speech codec
- FLAC, lossless audio codec
- Theora, video codec
- Tarkin, video codec
External links
- Xiph.org Foundation (http://www.xiph.org/)
- Ogg Vorbis site (http://www.vorbis.com/)
- Listening test comparing Vorbis to MP3, RealAudio, WMA, etc. (http://www.xiph.org/ogg/vorbis/listen.html)
- Ogg Vorbis wiki - mostly developer information (http://wiki.xiph.org/index.php/Main_Page)
- List of Vorbis audio streams (http://wiki.xiph.org/VorbisStreams)
- Vorbis FAQ (http://www.vorbis.com/faq.psp)
- Vorbis documentation (http://www.xiph.org/ogg/vorbis/docs.html)
- modified discrete cosine transform Description (http://www.free-comp-shop.com/vorbis.html)
- Christopher "Monty" Montgomery (main developer) interview, slashdot.org (http://slashdot.org/article.pl?sid=00/08/14/1034209)
- Listening Tests conducted by Roberto J. Amorim (comparing MP3, Vorbis, AAC, etc) (http://www.rjamorim.com/test/)
- Ogg Vorbis binaries at Rarewares (http://www.rarewares.org/ogg.html)
- Ogg Vorbis Hydrogenaudio wiki (http://wiki.hydrogenaudio.org/index.php?title=Ogg_Vorbis)
- jamendo.com : Largest archive of Creative Commons licensed Ogg Vorbis music (http://www.jamendo.com)
- A simple guide to producing good Ogg Vorbis files from a CD (http://www.chrismyden.com/nuke/modules.php?op=modload&name=Elite_DAE&file=painlessOGG)ca:Ogg Vorbis
da:Ogg Vorbis de:Vorbis es:Ogg Vorbis fr:Ogg Vorbis it:Ogg Vorbis he:Ogg Vorbis hu:Vorbis nl:Ogg Vorbis ja:Ogg Vorbis pl:Vorbis pt:Vorbis ru:Ogg vorbis fi:Ogg Vorbis sv:Ogg Vorbis tr:Ogg Vorbis