Vorbis Explained

Extension:.ogg[1]
Mime:application/ogg, audio/ogg, audio/vorbis, audio/vorbis-config
Owner:Xiph.Org Foundation
Latest Release Version:Vorbis I
Latest Release Date:[2]
Type:Lossy audio
Containedby:Ogg, Matroska, WebM
Open:Yes[3]
Free:Yes[4]
Standard:Specification
Url:https://xiph.org/vorbis/
libvorbis
Developer:Xiph.Org Foundation
Latest Release Version:1.3.7
Latest Release Date:[5]
Programming Language:C
Genre:Audio codec, reference implementation
License:Modified BSD license[6]
Website:Xiph.org downloads

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

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

Since February 2013,[23] 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[24] [25] —and lower encode/decode latency (in most cases, low enough for real-time applications such as internet telephony or live singing, rarely possible with Vorbis).[26]

Name

Vorbis is named after the character Exquisitor Vorbis in the Discworld novel Small Gods by Terry Pratchett. The Ogg format is named after ogging, jargon from the computer game Netrek.[10]

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.[27] 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,[28] and support in games has gradually improved.[29]

The Vorbis format has proven popular among supporters of free software.[30] 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 games store in-game audio as Vorbis, including , , , Minecraft, and World of Warcraft, among others.[31] Popular software players support Vorbis playback either natively or through an external plugin. A number of websites, including Wikipedia, use it.[32] [33] [34] [35] Others include Jamendo and Mindawn, as well as several national radio stations[32] like JazzRadio, Absolute Radio, NPR, Radio New Zealand[36] and Deutschlandradio.[37] The Spotify audio streaming service primarily uses Vorbis[38] [39] as well as AAC.[40] 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.[41]

Technical details

+ Vorbis nominal bitrate at quality levels for 44.1 kHz stereo input. The new libvorbis v1.2 usually compresses better than these values (effective bitrate may vary).
QualityNominal bitrate
Official Xiph.Org Foundation Vorbis
-q-145 kbit/s48 kbit/s
-q064 kbit/s
-q180 kbit/s
-q296 kbit/s
-q3112 kbit/s
-q4128 kbit/s
-q5160 kbit/s
-q6192 kbit/s
-q7224 kbit/s
-q8256 kbit/s
-q9320 kbit/s
-q10500 kbit/s

Outline of coder algorithm

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

Container formats

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

Metadata

Vorbis metadata, called Vorbis comments, supports metadata tags similar to those implemented in the ID3 standard for MP3. The metadata is stored in a vector of 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, 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.[48]

The strings are assumed to be encoded as UTF-8. Music tags are typically implemented as strings of the form "[TAG]=[VALUE]", for instance, "ARTIST=The John Smith Band". The 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 forks which adds support for encoding at lower bitrates.[49] aoTuV's changes were intended to be merged into the reference encoder periodically, but that only happened once in libvorbis 1.1,[50] due to future merges being a "taks that requires uninterrupted time, something I [<nowiki/>[[Chris Montgomery]]] don't have alot of."[51]

Licensing

Knowledge of Vorbis' specifications is in the public domain.[52] Concerning the specification itself, the Xiph.Org Foundation reserves the right to set the Vorbis specification and certify compliance. Its libraries are released under the revised 3-clause BSD license and its tools are released under the GNU General Public License. The libraries were originally released under the GNU Lesser General Public Licence, but a BSD license was later chosen with the endorsement of Richard Stallman.[53] The Xiph.Org Foundation states that Vorbis, like all its developments, is completely free from the licensing or patent 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.[54]

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

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

Support

Hardware

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).[55] Tremor, or platform-specific versions based on it, is more suited to implementation on the limited facilities available in commercial portable players. A number of versions that make adjustments for specific platforms and include customized optimizations for given embedded microprocessors have been produced. Several hardware manufacturers have expressed intentions to produce Vorbis-compliant devices and new Vorbis devices seem to be appearing at a steady rate.

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

Application software

See also: Use of Ogg formats in HTML5. Software supporting Vorbis exists for many platforms. The multi-platform open-source VLC media player and MPlayer can play Ogg Vorbis files, as can Winamp and foobar2000. Windows Media Player does not natively support Vorbis; however, DirectShow filters exist to decode Vorbis in Windows Media Player and other Windows multimedia players that support DirectShow.[63] Vorbis is also supported in the multi-platform audio editing software Audacity, in the multi-platform multimedia frameworks FFmpeg, GStreamer and Helix DNA. Vorbis is well-supported on the Linux platform in programs like XMMS, xine, Amarok. A list of Vorbis-supporting software can be found at the Xiph.Org Foundation wiki and Vorbis.com website.[64] [65] Users can test these programs using the list of Vorbis audio streams available on the same wiki.[66] For more information about support in software media players there is a comparison of media players available.

Some newer Ubisoft games use Vorbis files renamed with the filename extension . 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 .

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

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.[69]

Vorbis support by different operating systems
Microsoft WindowsmacOSLinuxAndroidiOS
Codec support
Container supportOn Windows 10 Fall Creators Update (1709) with Web Media Extensions add-on:
Ogg (.ogg is not recognised; requires pseudo extension)
Matroska (.mka, .mkv)
On Windows 10 October 2018 Update (1809):
WebM (.webm is recognised officially)
On Windows 10 May 2019 Update (1903):
Ogg (.ogg is recognised officially)
depends on applicationOgg (.ogg)
Matroska (.mka, .mkv)
WebM (.webm)
Ogg (.ogg, .oga)
Matroska (.mka, .mkv)
WebM (.webm)
depends on application
NotesOn Windows 10:
- Requires Fall Creators Update (1709) and installation of Web Media Extensions package.
- On April 2018 Update (1803) with Web Media Extensions preinstalled, Microsoft Edge (EdgeHTML 17) supports Vorbis audio embedded in
No native support in the macOS native multimedia framework.
In versions of Mac OS X prior to 10.11 El Capitan, Vorbis support could be added to QuickTime using the Xiph QuickTime Components.[70]
- - No native support in the iOS native multimedia framework.

See also

External links

Notes and References

  1. Web site: MIME Types and File Extensions - XiphWiki. wiki.xiph.org.
  2. Web site: Xiph.Org Foundation . Vorbis I specification . 2012-01-20 . 2012-01-31 . Xiph.Org Foundation.
  3. Web site: PlayOgg! - FSF - Free Software Foundation . 2013-10-01. 2010-03-17.
  4. Library of Congress . Washington, D.C. . Sustainability of Digital Formats . Full draft . Ogg Vorbis Audio Format . 19 February 2008 . 13 December 2021.
  5. Web site: [Vorbis] vorbis 1.3.7 release]. Ralph. Giles. July 4, 2020.
  6. Web site: Xiph.Org Foundation . Sample Xiph.Org Variant of the BSD License . 2009-08-29.
  7. Web site: Xiph.Org . libVorbis 1.3.4 released. 2014-01-22. 2014-02-09.
  8. Web site: MIME Types and File Extensions . Xiph.org wiki . 2007-10-13.
  9. Web site: Interview: Christopher Montgomery of Xiphophorus . Advogado . 2000-04-04 . 2009-09-02 . 2017-06-28 . https://web.archive.org/web/20170628144125/http://www.advogato.org/article/56.html . dead .
  10. Web site: naming. Xiph.Org Foundation . https://web.archive.org/web/20200411164006/https://xiph.org/xiphname . 2020-04-11.
  11. Web site: Xiph.org . About . 2009-08-31.
  12. Web site: Michael . Robertson . Fraunhofer Lowers Patent Boom on MP3 Software Developers . 1998-09-11 . 2009-08-31 . https://web.archive.org/web/20000816002547/http://www.mp3.com/news/095.html . 2000-08-16.
  13. Web site: Dvorak Interviews Monty . vorbis . Brian . Zisk . Xiph . 2000-04-19. 2008-09-04.
  14. Web site: Ogg . project homepage . Xiphophorus . 2000-05-20 . 2008-09-02 . https://web.archive.org/web/20000520212458/http://xiph.org/ogg/ . 2000-05-20.
  15. Web site: Christopher . Montgomery . Merge done . 2000-05-08 . vorbis-dev . 2009-09-03.
  16. Web site: Xiph.Org Foundation . Ogg Vorbis . 2009-09-11.
  17. Web site: Xiphophorus co . The Ogg Vorbis CODEC project . 2000-05-11 . 2009-09-03 . https://web.archive.org/web/20000610211737/http://www.xiph.org/ogg/vorbis/ . 2000-06-10.
  18. http://lists.xiph.org/pipermail/vorbis/2001-February/001758.html February 2001
  19. https://lwn.net/2001/0301/a/rms-ov-license.php3 RMS on license change
  20. Web site: AfterDawn . OGG Vorbis 1.0 officially released. 2002-07-19 . 2009-06-04.
  21. Web site: CNET . News . Ogg Vorbis official release is here. 2002-07-19 . 2009-06-04.
  22. Montgomery . Christopher . Chris Montgomery . vorbis . Vorbis 1.0 released . 2002-07-19 . 2009-06-04.
  23. Web site: 2013-02-03. OpusFAQ - XiphWiki. live. https://web.archive.org/web/20201204191733/https://wiki.xiph.org/index.php?title=OpusFAQ&oldid=13856. 2020-12-04. 2020-12-04. wiki.xiph.org.
  24. Hoene. Christian. Valin. Jean-Marc. Vos. Koen. Skoglund. Jan. 2013-05-17. Summary of Opus listening test results. live. https://web.archive.org/web/20191215165304/https://tools.ietf.org/html/draft-ietf-codec-results-03.html. 2019-12-15. 2020-12-04. Ietf Datatracker. en.
  25. Web site: Results of the public multiformat listening test (July 2014). live. https://web.archive.org/web/20201112035112/http://listening-test.coresv.net/results.htm. 2020-11-12. 2020-12-04. listening-test.coresv.net.
  26. Web site: 2020-10-03. OpusFAQ - XiphWiki. live. https://web.archive.org/web/20201117221321/https://wiki.xiph.org/OpusFAQ. 2020-11-17. 2020-12-04. wiki.xiph.org.
  27. Book: Sharpless Smith, Susan. Web-based Instruction: A Guide for Libraries. American Library Association. 138. 2010. 978-0-8389-1056-6.
  28. Book: Brown, Andrew. Computers in Music Education: Amplifying Musicality. 148. Routledge. 2007. 978-0-4159-7850-7.
  29. Book: Dawes, Adam. Windows Mobile Game Development: Building games for the Windows Phone and other mobile devices. Apress. 158. 2010. 978-1-4302-2929-2.
  30. Web site: Recordings about our Philosophy . GNU Project . Free Software Foundation (FSF) . 2008-01-12 . https://web.archive.org/web/20071126020329/https://www.gnu.org/philosophy/audio/audio.html . 2007-11-26.
  31. Web site: Xiph.Org Wiki, Games that use Vorbis. 2018-03-03. 2024-01-25 .
  32. Web site: Ogg Sites . Free Software Foundation . 2009-10-02.
  33. Web site: Ogg Vorbis — no future? . 2007-11-04 . 2009-10-02.
  34. [Wikipedia:WikiProject Spoken Wikipedia]
  35. Web site: First steps/Quality and description . Wikimedia Commons . 2009-10-02.
  36. Web site: Radio New Zealand Oggcasts . 2009-01-14.
  37. Web site: Deutschlandradio im Internet mit OGG-Vorbis-Stream. 2009-10-08. 2009-08-30. https://web.archive.org/web/20090830061154/http://www.dradio.de/wir/ogg. dead.
  38. Web site: February 3, 2019 . Audio Quality on Spotify . dead . https://web.archive.org/web/20190203051705/https://support.spotify.com/dk/article/high-quality-streaming/ . February 3, 2019.
  39. Web site: Bumping up the Bitrate . 2009-06-25 . Spotify News . 2018-03-28 . https://web.archive.org/web/20180328164652/https://news.spotify.com/us/2009/06/25/bumping-up-the-bitrate/ . 2018-03-28 . dead .
  40. Web site: June 6, 2020 . Audio Quality . 2018-03-28.
  41. Web site: Qobuz FAQ. 2013-04-15 . https://web.archive.org/web/20130424070217/http://www.qobuz.com/aide/guide-qobuz?qref=cpa#format-choice . 2013-04-24 . dead .
  42. Web site: Xiph.Org Foundation . Xiph.Org Foundation . Vorbis I specification - 1.1.2 Classification . 2009-06-02 . 2009-09-22.
  43. Web site: Oggless proposal. Xiph.Org Foundation.
  44. Web site: Xiph.Org announces support for the WebM open media project. Xiph.Org . 2010-05-20 . 2010-05-19.
  45. Web site: Introducing WebM, an open web media project . 2010-05-19 . 2010-05-19.
  46. Web site: FAQ . WebM . Google . 2010-05-19.
  47. Web site: RFC 5215 — RTP Payload Format for Vorbis Encoded Audio . August 2008 . 2010-06-16 . IETF. Barbato . Luca . 10.17487/RFC5215 .
  48. Web site: Vorbis Comment Field Documentation . 2007-03-14 . Xiph.Org Foundation.
  49. Web site: Recommended Ogg Vorbis - Hydrogenaudio Knowledgebase. 2022-06-30.
  50. Web site: libvorbis 1.1 changelog . 2004-09-22. 2022-06-30.
  51. Web site: Xiph.Org Monthly Meeting, 2007/02. 2007-02-07. https://web.archive.org/web/20080930165436/https://people.xiph.org/~giles/2007/200702_meeting.txt . 2022-06-30. 2008-09-30 .
  52. Web site: Xiph.Org Foundation . Vorbis.com FAQ . https://web.archive.org/web/20051001065649/http://vorbis.com/faq/#flic . dead . 2005-10-01 . 2009-08-29 .
  53. Web site: [icecast-dev] Xiph.org announces Vorbis Beta 4 and the Xiph.org Foundation . 2006-11-13 . Jack Moffitt . 2001-02-26.
  54. Web site: Vorbis development, status & patent issues . 2003 . 2006-11-13 . https://web.archive.org/web/20150625020659/http://www.hydrogenaud.io/forums/index.php?showtopic=13531 . 2015-06-25 . dead.
  55. Web site: [vorbis-dev] tremor relicensed as BSD. 2002-09-03. 2008-03-15.
  56. Web site: Android SDK m5-rc14 now available . 2008-12-15 . Android Developers' Blog.
  57. Web site: Supported media formats. Android Developers.
  58. Web site: PortablePlayers - XiphWiki. wiki.xiph.org.
  59. Web site: Redesign Your Life Style, IRIVER. https://web.archive.org/web/20081103022042/http://www.iriver.com/product/p_detail.asp?pidx=80. dead. November 3, 2008. www.iriver.co.kr.
  60. Web site: Redesign Your Life Style, IRIVER. https://web.archive.org/web/20090428125637/http://www.iriver.com/product/p_detail.asp?pidx=82. dead. April 28, 2009. www.iriver.co.kr.
  61. Web site: Redesign Your Life Style, IRIVER. https://web.archive.org/web/20100604132109/http://www.iriver.com/product/p_detail.asp?pidx=85. dead. June 4, 2010. www.iriver.co.kr.
  62. Web site: VorbisHardware - XiphWiki . 2008-01-13 . Xiph.Org Foundation.
  63. Web site: illiminable Ogg Directshow Filters for Speex, Vorbis, Theora and FLAC . 2008-06-24.
  64. Web site: VorbisSoftwarePlayers - XiphWiki . 2008-01-13 . Xiph.Org Foundation.
  65. Web site: Vorbis.com: 3rd party software . 2009-10-12 . Xiph.Org Foundation . https://web.archive.org/web/20091016094206/http://www.vorbis.com/software/ . 2009-10-16 . dead .
  66. Web site: VorbisStreams - XiphWiki . 2008-01-13 . Xiph.Org Foundation.
  67. Web site: (re-)Introducing . Philip Jägenstedt . Opera . 2009-12-31 . 2010-01-02.
  68. Web site: Happy New Year! - Official blog for Core developers at Opera . Arjan van Leeuwen . Opera . 2009-12-31 . 2010-01-02.
  69. Web site: Microsoft adds Ogg, Theora, and Vorbis media formats to Windows 10. Daniel. Aleksandersen. www.ctrl.blog. 28 December 2021 .
  70. Web site: 13.06.2016 - XiphQT discontinued . Xiph.Org: QuickTime Components . 2019-02-19.