free and open-source software
Free and open-source software (FOSS) is software available under a license that grants users the right to use, modify, and distribute the software modified or not to everyone free of charge. FOSS is an inclusive umbrella term encompassing free ...
codec
A codec is a computer hardware or software component that encodes or decodes a data stream or signal. ''Codec'' is a portmanteau of coder/decoder.
In electronic communications, an endec is a device that acts as both an encoder and a decoder o ...
) for lossyaudio compression, libvorbis. Vorbis is most commonly used in conjunction with the Oggcontainer format and it is therefore often referred to as Ogg Vorbis.
Version 1.0 of Vorbis was released in May 2000. Since 2013, the Xiph.Org Foundation has stated that the use of Vorbis should be deprecated in favor of the Opus codec, an improved and more efficient format that has also been developed by Xiph.Org.
Name
Vorbis is named after the character Exquisitor Vorbis in the '' Discworld'' novel '' Small Gods'' by
Terry Pratchett
Sir Terence David John Pratchett (28 April 1948 – 12 March 2015) was an English author, humorist, and Satire, satirist, best known for the ''Discworld'' series of 41 comic fantasy novels published between 1983 and 2015, and for the Apocalyp ...
jargon
Jargon, or technical language, is the specialized terminology associated with a particular field or area of activity. Jargon is normally employed in a particular Context (language use), communicative context and may not be well understood outside ...
from the computer game ''
Netrek
''Netrek'' is an Internet game for up to 16 players, written almost entirely in cross-platform open-source software, open-source code. It combines features of Shoot 'em up, multi-directional shooters and team-based real-time strategy games. Player ...
''.
Development
Vorbis is a continuation of audio compression development started in 1993 by Chris Montgomery. Intensive development began following a September 1998 letter from the
Fraunhofer Society
The Fraunhofer Society () is a German publicly-owned research organization with 76institutes spread throughout Germany, each focusing on different fields of applied science (as opposed to the Max Planck Society, which works primarily on Basic re ...
announcing plans to charge licensing fees for the MP3 audio format. The Vorbis project started as part of the Xiphophorus company's Ogg project (also known as OggSquish multimedia project). Chris Montgomery began work on the project and was assisted by a growing number of other developers. They continued refining the
source code
In computing, source code, or simply code or source, is a plain text computer program written in a programming language. A programmer writes the human readable source code to control the behavior of a computer.
Since a computer, at base, only ...
until the Vorbis file format was frozen for 1.0 in May 2000. Originally licensed as
LGPL
The GNU Lesser General Public License (LGPL) is a free-software license published by the Free Software Foundation (FSF). The license allows developers and companies to use and integrate a software component released under the LGPL into their own ...
, in 2001 the Vorbis license was changed to the
BSD license
BSD licenses are a family of permissive free software licenses, imposing minimal restrictions on the use and distribution of covered software. This is in contrast to copyleft licenses, which have share-alike requirements. The original BSD lic ...
to encourage adoption, with the endorsement of
Richard Stallman
Richard Matthew Stallman ( ; born March 16, 1953), also known by his initials, rms, is an American free software movement activist and programmer. He campaigns for software to be distributed in such a manner that its users have the freedom to ...
. A stable version (1.0) of the reference software was released on July 19, 2002.
Since February 2013, Xiph.Org has stated that the use of Vorbis should be deprecated in favor of the Opus codec, which is also a Xiph.Org Foundation project and also free and open-source. Compared to Vorbis, Opus can simultaneously achieve higher compression efficiency—per both Xiph.Org itself and third-party listening tests—and lower encode/decode latency (in most cases, low enough for real-time applications such as
internet telephony
Voice over Internet Protocol (VoIP), also known as IP telephony, is a set of technologies used primarily for voice communication sessions over Internet Protocol (IP) networks, such as the Internet. VoIP enables voice calls to be transmitted as ...
or live singing, rarely possible with Vorbis).
Usage
Vorbis faces competition from other audio formats, such as MP3. Though Vorbis is technically superior (addressing many of the limitations inherent to the MP3 design), MP3 has a far higher public profile. 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, and support in games has gradually improved.
The Vorbis format has proven popular among supporters of
free software
Free software, libre software, libreware sometimes known as freedom-respecting software is computer software distributed open-source license, under terms that allow users to run the software for any purpose as well as to study, change, distribut ...
. They argue that its higher fidelity and completely free nature, unencumbered by patents, make it a well-suited replacement for patented and restricted formats.
Vorbis has different uses for consumer products. Many
video game
A video game or computer game is an electronic game that involves interaction with a user interface or input device (such as a joystick, game controller, controller, computer keyboard, keyboard, or motion sensing device) to generate visual fe ...
Minecraft
''Minecraft'' is a 2011 sandbox game developed and published by the Swedish video game developer Mojang Studios. Originally created by Markus Persson, Markus "Notch" Persson using the Java (programming language), Java programming language, the ...
'', and ''
World of Warcraft
''World of Warcraft'' (''WoW'') is a 2004 massively multiplayer online role-playing (MMORPG) video game developed and published by Blizzard Entertainment for Windows and Mac OS X. Set in the '' Warcraft'' fantasy universe, ''World of War ...
'', among others. Popular software players support Vorbis playback either natively or through an external plugin. A number of websites, including
Wikipedia
Wikipedia is a free content, free Online content, online encyclopedia that is written and maintained by a community of volunteers, known as Wikipedians, through open collaboration and the wiki software MediaWiki. Founded by Jimmy Wales and La ...
, use it. Others include Jamendo and Mindawn, as well as several national radio stations like JazzRadio, Absolute Radio, NPR,
Radio New Zealand
Radio New Zealand (), commonly known as RNZ or Radio NZ, is a New Zealand public service broadcaster and Crown entity. Established under the Radio New Zealand Act 1995, it operates news and current affairs station, RNZ National, and a classi ...
Spotify
Spotify (; ) is a List of companies of Sweden, Swedish Music streaming service, audio streaming and media service provider founded on 23 April 2006 by Daniel Ek and Martin Lorentzon. , it is one of the largest providers of music streaming services ...
audio streaming service primarily uses Vorbis as well as AAC. 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
Bandcamp is an American online music distribution platform founded in 2008 by Oddpost co-founder Ethan Diamond and programmers Shawn Grunberger, Joe Holt and Neal Tucker, with an office and record store in Oakland, California. Acquired by Epic ...
.
Technical details
Outline of coder algorithm
Vorbis I is a forward-adaptive monolithic transform codec based on the modified discrete cosine transform (MDCT). Vorbis uses the modified discrete cosine transform for converting sound data from the
time domain
In mathematics and signal processing, the time domain is a representation of how a signal, function, or data set varies with time. It is used for the analysis of mathematical functions, physical signals or time series of economic or environmental ...
to the
frequency domain
In mathematics, physics, electronics, control systems engineering, and statistics, the frequency domain refers to the analysis of mathematical functions or signals with respect to frequency (and possibly phase), rather than time, as in time ser ...
. The resulting frequency-domain data is broken into
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, where noise is defined as any signal other than the one being monitored.
In radio com ...
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 is similar to reverberations in a large space.
Container formats
Vorbis streams can be encapsulated in other media container formats besides Ogg. A commonly used alternative is Matroska. It is also used in
WebM
WebM is an audiovisual media file format. It is primarily intended to offer a royalty-free alternative to use in the HTML video and the HTML audio elements. It has a sister project, WebP, for images. The development of the format is sponsored by ...
, a container format based on a subset of Matroska. Vorbis streams can also be encapsulated in an RTP payload format.
Metadata
Vorbis
metadata
Metadata (or metainformation) is "data that provides information about other data", but not the content of the data itself, such as the text of a message or the image itself. There are many distinct types of metadata, including:
* Descriptive ...
, called Vorbis comments, supports metadata tags similar to those implemented in the ID3 standard for MP3. The metadata is stored in a vector of byte 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
Billion is a word for a large number, and it has two distinct definitions:
* 1,000,000,000, i.e. one thousand million, or (ten to the ninth power), as defined on the short scale. This is now the most common sense of the word in all varieties of ...
, 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.
The strings are assumed to be encoded as
UTF-8
UTF-8 is a character encoding standard used for electronic communication. Defined by the Unicode Standard, the name is derived from ''Unicode Transformation Format 8-bit''. Almost every webpage is transmitted as UTF-8.
UTF-8 supports all 1,112,0 ...
. Music tags are typically implemented as strings of the form " AGALUE, for instance, "ARTIST=The John Smith Band". The tag names 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 disc number and ReplayGain information.
Variants
is a notable fork which adds support for encoding at lower bitrates. aoTuV's changes were intended to be merged into the reference encoder periodically, but that only happened once in libvorbis 1.1, due to future merges being a "task that requires uninterrupted time, something I Chris Montgomery">nowiki/> Chris Montgomerydon't have a lot of."
Licensing
Knowledge of Vorbis' specifications is in the
public domain
The public domain (PD) consists of all the creative work to which no Exclusive exclusive intellectual property rights apply. Those rights may have expired, been forfeited, expressly Waiver, waived, or may be inapplicable. Because no one holds ...
. 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
BSD licenses are a family of permissive free software licenses, imposing minimal restrictions on the use and distribution of covered software. This is in contrast to copyleft licenses, which have share-alike requirements. The original BSD lic ...
and its tools are released under the
GNU General Public License
The GNU General Public Licenses (GNU GPL or simply GPL) are a series of widely used free software licenses, or ''copyleft'' licenses, that guarantee end users the freedom to run, study, share, or modify the software. The GPL was the first ...
. 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 Matthew Stallman ( ; born March 16, 1953), also known by his initials, rms, is an American free software movement activist and programmer. He campaigns for software to be distributed in such a manner that its users have the freedom to ...
. The Xiph.Org Foundation states that Vorbis, like all its developments, is completely free from the licensing or
patent
A patent is a type of intellectual property that gives its owner the legal right to exclude others from making, using, or selling an invention for a limited period of time in exchange for publishing an sufficiency of disclosure, enabling discl ...
issues raised by proprietary formats. 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 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
Samsung Group (; stylised as SΛMSUNG) is a South Korean Multinational corporation, multinational manufacturing Conglomerate (company), conglomerate headquartered in the Samsung Town office complex in Seoul. The group consists of numerous a ...
Tremor
A tremor is an involuntary, somewhat rhythmic muscle contraction and relaxation involving neural oscillations, oscillations or twitching movements of one or more body parts. It is the most common of all involuntary movements and can affect the h ...
'', a version of the Vorbis decoder which uses
fixed-point arithmetic
In computing, fixed-point is a method of representing fractional (non-integer) numbers by storing a fixed number of digits of their fractional part. Dollar amounts, for example, are often stored with exactly two fractional digits, represen ...
(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 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.
* Sailfish OS devices
*
Tizen
Tizen () is a Linux-based operating system primarily developed by Samsung Electronics and supported by the Linux Foundation.
The project was originally conceived as an HTML5-based platform for mobile devices to succeed MeeGo. It was backed by o ...
devices
* Openmoko Neo 1973 and Neo Freerunner
*Devices based on
Google
Google LLC (, ) is an American multinational corporation and technology company focusing on online advertising, search engine technology, cloud computing, computer software, quantum computing, e-commerce, consumer electronics, and artificial ...
's Android platform support Ogg Vorbis media files.
*Digital audio players such as Cowon's D2 and iAudio X5 ship with Ogg Vorbis support.
*
Samsung
Samsung Group (; stylised as SΛMSUNG) is a South Korean Multinational corporation, multinational manufacturing Conglomerate (company), conglomerate headquartered in the Samsung Town office complex in Seoul. The group consists of numerous a ...
YP series of digital audio players ships with Ogg Vorbis support.
*The majority of iriver devices provide Ogg Vorbis support up to Q10 bitrates. (as July 2008)
* Cowon C2 (Ogg and FLAC support)
* Some SanDisk portable media players including the Fuze and Clip
*
Meizu
Meizu (sometimes stylized in all caps) (Chinese name: 星纪魅族集团) is a technology company registered in Zhuhai, China. Its predecessor, Meizu Technology, was founded by Huang Zhang in 2003 and was famous for its MP3 player and s ...
's M6 and M3 Digital Audio Players
* S1 MP3 Players also supports Ogg Vorbis since at least 2006, though this is not typically listed on the player's packaging.
* GamePark Holding's Linux based portable gaming consoles (GP32, GP2X F100-F200, GP2X Wiz) officially support Ogg Vorbis.
* RIMBlackBerry 9800 "Torch" and 9670 "Style"
* HP
TouchPad
A touchpad or trackpad is a type of pointing device. Its largest component is a tactile sensor: an electronic device with a flat surface, that detects the motion and position of a user's fingers, and translates them to 2D motion, to control a Cu ...
was given support for Ogg Vorbis with the webOS 3.0.4 update
*
Denon
is a Japanese electronics company dealing with audio equipment. The Denon brand came from a merger of Denki Onkyo (not to be confused with the other Onkyo) and others in 1939. It originally started as Nippon Chikuonki Shoukai in 1910 by Freder ...
SC5000 Prime media player
*
Ultra HD Blu-ray
Ultra HD Blu-ray (4K Ultra HD, UHD-BD, or 4K Blu-ray) is a digital optical disc data storage format that is an enhanced variant of Blu-ray. Ultra HD Blu-ray supports 4K UHD (3840 × 2160 pixel resolution) video at frame rates up to 60 progre ...
players support decoding of
4K resolution
4K resolution refers to a horizontal display resolution of approximately 4,000 pixels. Digital television and digital cinematography commonly use several different 4K resolutions. In television and consumer media, 38402160 (4K UHD) with a 16:9 asp ...
iPod
The iPod is a series of portable media players and multi-purpose mobile devices that were designed and marketed by Apple Inc. from 2001 to 2022. The iPod Classic#1st generation, first version was released on November 10, 2001, about mon ...
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. Also see
Internet radio device
An Internet radio device, also called network music player is a hardware device that is capable of receiving and playing streaming media, streamed media from either Internet radio stations or a home network.
Background
Streaming media became main ...
for an overview.
Application software
Software supporting Vorbis exists for many platforms. The multi-platform open-source
VLC media player
VLC media player (previously the VideoLAN Client) is a free and open-source software, free and open-source, software portability, portable, cross-platform media player software and streaming media Server (computing), server developed by the Vide ...
and
MPlayer
MPlayer is a free and open-source media player software application. It is available for Linux, OS X and Microsoft Windows. Versions for OS/2, Syllable Desktop, Syllable, AmigaOS, MorphOS and AROS Research Operating System are also available. A ...
Windows Media Player
Windows Media Player (WMP, officially referred to as Windows Media Player Legacy to retronym, distinguish it from Windows Media Player (2022), the new Windows Media Player introduced with Windows 11) is the first media player (application soft ...
does not natively support Vorbis; however, DirectShow filters exist 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 framework
A multimedia framework is a software framework that handles Electronic media, media on a computer and through a network. A good multimedia framework offers an intuitive Application programming interface, API and a modular architecture to easily a ...
s
FFmpeg
FFmpeg is a free and open-source software project consisting of a suite of libraries and programs for handling video, audio, and other multimedia files and streams. At its core is the command-line ffmpeg tool itself, designed for processing vide ...
,
GStreamer
GStreamer is a Pipeline (computing), pipeline-based multimedia framework that links together a wide variety of media processing systems to complete complex workflows. For instance, GStreamer can be used to build a system that reads files in one f ...
Linux
Linux ( ) is a family of open source Unix-like operating systems based on the Linux kernel, an kernel (operating system), operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically package manager, pac ...
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 (xine-lib) that supports different frontend player applications. xine uses libraries fr ...
, Amarok. A list of Vorbis-supporting software can be found at the Xiph.Org Foundation wiki and Vorbis.com website. Users can test these programs using the list of Vorbis audio streams available on the same wiki. For more information about support in software media players there is a comparison of media players available.
Some newer
Ubisoft
Ubisoft Entertainment SA (; ; formerly Ubi Soft Entertainment SA) is a French video game publisher headquartered in Saint-Mandé with development studios across the world. Its video game franchises include '' Anno'', '' Assassin's Creed'', ' ...
games use Vorbis files renamed with the
filename extension
A filename extension, file name extension or file extension is a suffix to the name of a computer file (for example, .txt, .mp3, .exe) that indicates a characteristic of the file contents or its intended use. A filename extension is typically d ...
. 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 browser
A web browser, often shortened to browser, is an application for accessing websites. When a user requests a web page from a particular website, the browser retrieves its files from a web server and then displays the page on the user's scr ...
s natively support Vorbis audio (without a plug-in) using the element: Mozilla Firefox 3.5 (and later versions),
Google Chrome
Google Chrome is a web browser developed by Google. It was first released in 2008 for Microsoft Windows, built with free software components from Apple WebKit and Mozilla Firefox. Versions were later released for Linux, macOS, iOS, iPadOS, an ...
(from version 3.0.182.2),SeaMonkey (from version 2.0).
Opera
Opera is a form of History of theatre#European theatre, Western theatre in which music is a fundamental component and dramatic roles are taken by Singing, singers. Such a "work" (the literal translation of the Italian word "opera") is typically ...
9.5 experimental video builds released in 2007 and 2008 have only support and play back Vorbis audio included in Ogg video files.Opera 10.5 browser has support for Vorbis audio, WAVE PCM audio and
Theora
Theora is a free lossy video compression format. It was developed by the Xiph.Org Foundation and distributed without licensing fees alongside their other free and open media projects, including the Vorbis audio format and the Ogg contai ...
video.
The game design software RPG Maker MV, released in October 2015, is the first version of that program to drop MP3 support in favor of Ogg Vorbis.
In October 2017, Microsoft released support for Ogg media container, and Theora and Vorbis media formats as an optional add-on to Windows 10 and Xbox One, available for free in the Microsoft Store.
Icecast
Icecast is a streaming media project released as free software maintained by the Xiph.Org Foundation. It also refers specifically to the Server (computing), server program which is part of the project. Icecast was created in December 1998/Janua ...
, streaming media server which currently supports Ogg (Vorbis and Theora), Opus and
WebM
WebM is an audiovisual media file format. It is primarily intended to offer a royalty-free alternative to use in the HTML video and the HTML audio elements. It has a sister project, WebP, for images. The development of the format is sponsored by ...
streams.
*
JUCE
JUCE is an open-source software, open-source cross-platform C++ application framework, used for the development of desktop and mobile applications. JUCE is used in particular for its graphical user interface, GUI and Plug-in (computing), plug-in ...
, cross-platform C++ toolkit with embedded Vorbis support
* Ogg bitstream container
* Opus, audio format by Xiph that is biased towards latency
* Vorbis comment, metadata format used by Vorbis
* XML Shareable Playlist Format,
playlist
A playlist is a list of video or audio files that can be played back on a media player, either sequentially or in a shuffled order. In its most general form, an audio playlist is simply a list of songs that can be played once or in a loop. ...