World Library  
Flag as Inappropriate
Email this Article

Opus (audio format)

Article Id: WHEBN0031953149
Reproduction Date:

Title: Opus (audio format)  
Author: World Heritage Encyclopedia
Language: English
Subject: CELT, Speex, HTML5 Audio, Vorbis, FLAC
Collection: Free Audio Codecs, Lossy Compression Algorithms, Software Using the Bsd License, Speech Codecs, Xiph.Org Projects
Publisher: World Heritage Encyclopedia

Opus (audio format)

Filename extension .opus
Internet media type audio/opus,[1] audio/ogg [2]
Developed by IETF codec working group
Initial release September 11, 2012 (2012-09-11)
Type of format Audio
Contained by Ogg, Matroska, MPEG-TS
Extended from SILK, CELT
Standard RFC 6716
Open format? Yes
Website .orgopus-codec
Developer(s) Xiph.Org Foundation
Initial release August 26, 2012 (2012-08-26)
Stable release 1.1 / December 5, 2013 (2013-12-05)
Preview release 1.1.1-beta / October 15, 2014 (2014-10-15)
Written in C89
Platform Cross-platform
Type Audio codec, reference implementation
License 3-clause BSD license
Website Opus codec downloads

Opus is a lossy audio coding format developed by the Internet Engineering Task Force (IETF) that is particularly suitable for interactive real-time applications over the Internet.[3] As an open format standardized through RFC 6716, a reference implementation audio codec called opus-tools is provided under the 3-clause BSD license. All known software patents which cover Opus are licensed under royalty-free terms.[4]

Opus incorporates technology from two other audio coding formats: the speech-oriented SILK and the low-latency CELT.[3] Opus can be adjusted seamlessly between high and low bitrates, and internally, it transitions between linear predictive coding at lower bitrates and transform coding at higher bitrates (as well as a hybrid for a short overlap). Opus has a very low algorithmic delay (26.5 ms by default),[5] which is a necessity for use as part of a low audio latency communication link, which can permit natural conversation, networked music performances, or lip sync at live events. Opus permits trading-off quality or bitrate to achieve an even smaller algorithmic delay, down to 5 ms. Its delay is very low compared to well over 100 ms for popular music formats such as MP3, Ogg Vorbis and HE-AAC; yet Opus performs very competitively with these formats in terms of quality per bitrate.[6] Unlike Ogg Vorbis, Opus does not require the definition of large codebooks for each individual file, making it preferable to Vorbis for short clips of audio.[7]


  • Features 1
    • Sample rates 1.1
  • History 2
  • Quality comparison and low latency performance 3
  • Support 4
    • Software 4.1
    • Hardware 4.2
  • Notes 5
  • See also 6
  • References 7
  • External links 8


Possible bitrate and latency combinations compared with other audio formats

Opus supports constant and variable bitrate encoding from 6 kbit/s to 510 kbit/s, frame sizes from 2.5 ms to 60 ms, and certain sampling rates from 8 kHz (with 4 kHz bandwidth) to 48 kHz (with 20 kHz bandwidth, where the entire hearing range of the human auditory system can be reproduced). An Opus stream can support up to 255 audio channels, and it allows channel coupling between channels in groups of two using mid-side coding.

The inherently low delay in Opus (26.5 ms by default) makes it possible to be used in the same CELT codec. During any Opus stream (live or in a file), the bitrate, bandwidth, and delay can be changed quickly and seamlessly without introducing any distortion or discontinuity in the audio.

As an open standard, the algorithms are openly documented, and a software patents on some of the CELT algorithms, and Skype Technologies S.A./Microsoft own some on the SILK algorithms; but each has pledged to make them available royalty-free for use with Opus once the format was accepted as an IETF standard. They also reserve the right to make use of their patents to defend against infringement suits of third parties. The applicability of non royalty-free patent claims from Qualcomm and Huawei to Opus is disputed.[8][9]

Spectrogram of an Opus-encoded music recording at different average bitrates (~32 to ~160 kbit/s) clearly show the lowpass behavior of the encoder and the comparatively good preservation of the band energy with CELT (compare ).

The Opus format is based on the low-latency CELT format and the speech-oriented SILK format (both of which have been heavily modified, rendering them incompatible with their original formats). The transform layer (CELT) is based on the modified discrete cosine transform (MDCT) with approaches from CELP (codebooks for excitation, although in the frequency domain). CELT was modified and among other things, support for 20 ms frames was added. The SILK layer that specializes in speech signals is based on linear predictive coding (LPC) and an optional Long-Term Prediction filter. SILK was modified and among other things, support for 10 ms frames was added. To minimize packet overhead at low bitrates, SILK has support for larger frames of 60 ms (versus CELT's 20 ms). The shared range encoding of both parts of a hybrid stream was taken from CELT.

The format has three different modes, two being for pure speech signals, and a third for general audio (including music and speech). One of the speech modes is capable of reproducing the full spectrum of the human hearing range. In this mode, CELT is used for the upper part of the frequency range (from 8 kHz upwards), and SILK is used for the lower part. For low bitrates (below about 30 kbit/s), the upper frequencies can be cut off and the CELT layer left out. For audio at higher bitrates, the SILK layer that specializes in speech signals is left out, and the non-specialized CELT layer is used.

The reference implementation is written in C and compiles on hardware architectures with or without a floating-point unit.

Opus data can be encapsulated in Ogg containers. The content of such Ogg Opus streams should be specified as audio/ogg; codecs=opus and for Ogg Opus files the .opus filename extension is recommended.[2] Support for encapsulation of Opus in Matroska containers has been completed.[10] Opus is also allowed as a registered format in MPEG-TS.[11]

Sample rates

Following sample rates are defined in Opus Request for Comments:[12]
Abbreviation Audio bandwidth Effective sample rate
NB (narrowband) 4 kHz 8 kHz
MB (medium-band) 6 kHz 12 kHz
WB (wideband) 8 kHz 16 kHz
SWB (super-wideband) 12 kHz 24 kHz
FB (fullband) 20 kHz [nb 1] 48 kHz


Opus was proposed for the standardization of a new audio format at the IETF, which was eventually accepted and granted by the codec Wikimedia), and Christopher Montgomery (Xiph.Org) were also involved.

The development of the CELT part of the format goes back to thoughts on a successor for Speex, an earlier project of Jean-Marc Valin. CELT has been worked on since November 2007.

The SILK part has been under development at Skype since January 2007 as the successor of their SVOPC, an internal project to make the company independent from third-party codecs like iSAC and iLBC and respective license payments.

In March 2009, Skype suggested the development and standardization of a wideband audio format within the IETF. Nearly a year passed with much debate on the formation of an appropriate working group.[13] Representatives of several companies which were taking part in the standardization of patent-encumbered competing formats stated objections against the start of the standardization process for a royalty-free format: representatives of Polycom and Ericsson—the creators and licensors of G.719—as well as France Télécom, Huawei and the Orange Labs (department of France Télécom), which were involved in the creation of G.718. The working group finally formed in February 2010, and even the corresponding Study Group 16 from the ITU-T pledged to support its work.

In July 2010, a prototype of a hybrid format was presented that combined the two proposed format candidates SILK and CELT. In September 2010, Opus was submitted to the IETF as proposal for standardization. For a short time the format went under the name of Harmony before it got its present name in October 2010.[14][15] At the beginning of February 2011, the bitstream format was tentatively frozen, subject to last changes.[16] Near the end of July 2011, Jean-Marc Valin was hired by the Mozilla Corporation to continue working on Opus.[17] In November 2011, the working group issued the last call for changes on the bitstream format. The bitstream has been frozen since January 8, 2012.[18] On July 2, 2012, Opus was approved by the IETF for standardization.[19] The reference software entered release candidate state on August 8.[20] The final specification was released as RFC 6716 on September 10, 2012.[8][21] and versions 1.0 and 1.0.1 of the reference implementation were released the day after.

On July 11, 2013, the first beta of version 1.1 was released incorporating significant encoder side improvements for quality and efficiency, and significant speed improvements for both encoding and decoding detailed in the release information. Surround sound encoding has better channel bitrate allocation, improved Low-Frequency Effects quality and efficiency, and use of cross-channel masking. Tonality estimation provides a bitrate boost to highly tonal sounds like harpsichord, significantly improving quality in Opus's weakest samples from previous public 64kbps tests in which it had otherwise performed well. Automated speech/music detection is enabled to improve quality. Other improvements include stereo bitrate saving when channels are closely correlated, dynamic allocation to improve quality for transients and high-energy bands adjacent to low-energy bands, DC rejection below 3 Hz to improve bass analysis. True unconstrained VBR improves quality consistency for same target bitrate, while Temporal VBR is a serendipitous discovery that improves quality on a number of samples.

Also on July 11, 2013, stable version 1.0.3 was introduced implementing a backport of the new 1.1 surround API mentioned in beta 1.1 above as well as some minor bug fixes.

Opus 1.1 was officially released on December 5, 2013, incorporating the features of the 1.1 beta.

Quality comparison and low latency performance

Comparison of coding efficiency between Opus and other popular audio formats

Opus has been shown to have excellent quality,[6] and at higher bit rates, it turns out to be competitive with audio formats with much higher delay, such as HE-AAC and Vorbis.[22]

In listening tests at around 64 kbit/s Opus shows superior quality compared to HE-AAC codecs, which have so far been dominant in that area because of their use of the proprietary spectral band replication (SBR) technology.[23][24]

Opus has very low algorithmic delay,[3] a necessity for use as part of a low audio latency communication link, which can permit natural conversation, networked music performances, or lip sync at live events. Total algorithmic delay for an audio format is the sum of delays that must be incurred in the encoder and the decoder of a live audio stream regardless of processing speed and transmission speed, such as buffering audio samples into blocks or frames, allowing for window overlap and possibly allowing for noise-shaping look-ahead in a decoder and any other forms of look-ahead, or for an MP3 encoder, the use of bit reservoir.[25]

Total one-way latency below 150 ms is the preferred target of most VoIP systems,[26] to enable natural conversation with turn-taking little affected by delay. Musicians typically feel in-time with up to around 30 ms audio latency,[27] roughly in accord with the fusion time of the Haas effect, though matching playback delay of each user's own instrument to the round-trip latency can also help.[28] It is suggested for lip sync that around 45-100 ms audio latency may be acceptable.[29]

Opus permits trading-off reduced quality or increased bitrate to achieve an even smaller algorithmic delay (5.0 ms minimum).[30] While the reference implementation's default Opus frame is 20.0 ms long, the SILK layer requires a further 5.0 ms lookahead plus 1.5 ms for resampling, giving a default delay of 26.5 ms. When the CELT layer is active, it requires 2.5 ms lookahead for window overlap to which a matching delay of 4.0 ms is added by default to synchronize with the SILK layer. If the encoder is instantiated in the special restricted low delay mode, the 4.0 ms matching delay is removed and the SILK layer is disabled, permitting the minimum algorithmic delay of 5.0 ms.[5]

The first is uncompressed wav file. The second is a mp3 file encoded at 16kbps using LAME, and third is an opus file encoded at 16kbps.

Problems playing this file? See .


The format and algorithms are openly documented and the reference implementation is published as free software. Xiph's reference implementation is called opus-tools, and it consists of a separate encoder and decoder; it is published under the terms of a BSD-like license. It is written in C and can be compiled for hardware architectures with or without a floating point unit. The accompanying diagnostic tool opusinfo reports detailed technical information about Opus files, including information on the standard compliance of the bitstream format. It is based on ogginfo from the vorbis-tools and therefore — unlike the encoder and decoder — is available under the terms of version 2 of the GPL.


Most end-user software relies on OpenCodecs.

While support in multimedia frameworks automatically enables Opus support in software which is built on top of such frameworks, several applications developers made additional efforts for supporting the Opus audio format in their software. Such support was added to AIMP,[35] Amarok,[36] cmus, foobar2000,[37] Mpxplay, MusicBee,[38] SMplayer, VLC media player,[39] Winamp[40] and Xmplay audio players; Icecast,[41] Liquidsoap and Airtime[42] audio streaming software; and Asunder audio CD ripper, CDBurnerXP CD burner, FFmpeg, Libav and MediaCoder media encoding tools. Streaming Icecast radio trials are live since September 2012 and January 2013.[43][44] SteamOS uses Opus or Vorbis for streaming audio.

Opus support is mandatory for WebRTC implementations.[45] Opus is supported in Mozilla Firefox,[46] Chromium and Google Chrome,[47] Blink-based Opera,[48][49] as well as all browsers for Unix-like systems relying on GStreamer for multimedia formats support. Although Internet Explorer doesn't provide Opus playback natively, support for the format may be added by installing OpenCodecs by Xiph.Org Foundation.

Due to its abilities, Opus gained early interest from VoIP software vendors. Several [50] Line2 (currently only on iOS),[51] Linphone, Phoner and PhonerLite, SFLphone,[52] Mumble and TeamSpeak 3 voice chat software also support Opus.[53][54][55] TrueConf supports Opus in its VoIP products.[56] Asterisk lacks builtin Opus support for legal reasons,[57] but third-party patch is available for download.[58]

The GatesAir Intraplex IP Link and Tieline Merlin and Genie families of broadcast IP audio codecs and Tieline Report-IT mobile codecs add Opus support to embedded and mobile devices.[59]

Digital Radio Mondiale - a digital radio format for AM frequencies — can broadcast and receive Opus audio (albeit not recognised in official standard) using Dream software-defined radio.


Since version 3.13 Rockbox enables Opus playback on supported portable media players, including products from the iPod series by Apple, devices made by iriver, Archos and Sandisk, and on Android devices using "Rockbox as an Application" (RaaA).[60][61] Chromecast supports Opus decoding.

Grandstream GXV3240 and GXV3275 video IP phones supports Opus audio both for encoding and decoding.


  1. ^ Although the Nyquist–Shannon sampling theorem allows a bandwidth as large as half the sampling rate, Opus never codes audio above 20 kHz, the generally accepted upper limit of the human hearing range.

See also


  1. ^ "RTP Payload Format for Opus Speech and Audio Codec, draft-ietf-payload-rtp-opus-03". 2014-07-30. Retrieved 2014-09-27. 
  2. ^ a b "Ogg Encapsulation for the Opus Audio Codec". IETF. 2012-07-16. Retrieved 2012-09-12. 
  3. ^ a b c "Opus Codec". Opus (Home page). Foundation. Retrieved July 31, 2012. 
  4. ^ Bright, Peter (2012-09-12). "Newly standardized Opus audio codec fills every role from online chat to music".  
  5. ^ a b Jean-Marc Valin; Gregory Maxwell; Timothy B. Terriberry; Koen Vos (October 17–20, 2013). "High-Quality, Low-Delay Music Coding in the Opus Codec". New York, USA: Xiph.Org Foundation. p. 2. Retrieved 19 August 2014. CELT's look-ahead is 2.5 ms, while SILK's look-ahead is 5 ms, plus 1.5 ms for the resampling (including both encoder and decoder resampling). For this reason, the CELT path in the encoder adds a 4 ms delay. However, an application can restrict the encoder to CELT and omit that delay. This reduces the total look-ahead to 2.5 ms. 
  6. ^ a b Raymond Chen et al. Opus Testing. IETF 80
  7. ^ Terriberry, Timothy (2012-07-19). "Firefox Beta 15 supports the new Opus audio format". Mozilla Hacks. Mozilla Foundation. Retrieved 2012-07-31. 
  8. ^ a b "It's Opus, it rocks and now it's an audio codec standard!". Mozilla Hacks. Retrieved 2012-09-12. 
  9. ^ "Nokia's VP8 patent claims: we've been here before". OSNews. 2013-05-25. Retrieved 2014-07-17. 
  10. ^ Bunkus, Moritz (2013-09-16). "MKVToolNix v6.4.0 released". Matroska users mailing list. Retrieved 2013-12-24.
  11. ^
  12. ^ Valin, Jean-Marc; Vos, Koen; Terriberry, Timothy B. (2012-09-11). "Opus Codec Overview". Definition of the Opus Audio Codec. p. 7. sec. 2.. . Retrieved 2014-06-21.
  13. ^ "IETF working towards royalty-free audio codec". 2009-11-13. Archived from the original on 25 January 2013. Retrieved 2012-09-12. 
  14. ^ Vos, Koen (2010-10-15). "Harmony became Opus". ietfcodec Discussion Archive mailing list. Retrieved 2011-06-19.
  15. ^ "[codec] Harmony became Opus". 2010-10-15. Retrieved 2012-09-12. 
  16. ^ "IETF Opus codec now ready for testing". Hydrogenaudio. Retrieved 2012-09-12. 
  17. ^ Valin, Jean-Marc (2011-08-01). "IETF update, Mozilla". Retrieved 2012-10-05. 
  18. ^ "Opus Codec". Opus Codec. Retrieved 2012-09-12. 
  19. ^ "Opus approved by the IETF". 2012-07-03. Retrieved 2012-09-12. 
  20. ^ "[opus] Release candidates for 1.0.0 and 1.0.1 are available". Retrieved 2012-10-05. 
  21. ^ "RFC 6716 on Definition of the Opus Audio Codec". Retrieved 2012-09-12. 
  22. ^ Maxwell, Gregory (2011). "64kbit/sec stereo multiformat listening test — unofficial results page". Xiph.Org Foundation. Retrieved 2011-06-19. 
  23. ^ Next-Gen Low-Latency Open Codec Beats HE-AAC, Slashdot-Meldung vom 14. April 2011
  24. ^ Valin, Jean-Marc; Vos, Koen; Skoglund, Jan (2011-10-24). Hoene, Christian, ed. "Summary of Opus listening test results". Internet Engineering Task Force. Retrieved 2012-01-16. 
  25. ^ Lutzky, Manfred; Schuller, Gerald; Gayer, Marc; Krämer, Ulrich; Wabnik, Stefan (2004). "A guideline to audio codec delay". In AES 116th convention, Berlin, Germany: 8–11. Retrieved 30 October 2012. 
  26. ^ Lironi, F.; Masseroni, C.; Trivisonno, R.; Ball, C.F. (2005). "Multi RAB-based multimedia services over GERAN mobile networks". Vehicular Technology Conference, VTC-2005-Fall. IEEE 62nd 3: 1662–1666. Retrieved 30 October 2012. 
  27. ^ Lago, Nelson Posse; Kon, Fabio (November 2004). "The quest for low latency". In Proceedings of the International Computer Music Conference: 33–36. Retrieved 30 October 2012. 
  28. ^ Carôt, Alexander (2010). "Low Latency Audio Streaming for Internet-Based Musical Interaction." in Streaming Media Architectures: Techniques and Applications: Recent Advances. IGI Global. pp. 362–383.  
  29. ^ YE, NONG, VAN CHEN, and TONI FARLEY (2003). "Qos Requirements Of Multimedia Data On Computer Networks." Proceedings of the Second International Conference on Active Media Technology, Chongqing, PR China, 29-31 May 2003. World Scientific Publishing Company Incorporated. pp. 183–189.  
  30. ^ Montgomery, Christopher. "A quick showcase of the bleeding edge... CELT 0.10.0 @ constant PEAQ value, varying latency". CELT v0.10 (latest prior to Opus integration). Retrieved 30 October 2012. 
  31. ^ "GStreamer: news". Retrieved 2012-10-05. 
  32. ^ "Audio Codecs".  
  33. ^ "Audio Codecs".  
  34. ^ "lavfilters — Open-Source DirectShow Media Splitter and Decoders". Google Project Hosting. Retrieved 2012-10-05. 
  35. ^ "AIMP: Home Page". Retrieved 2012-10-05. 
  36. ^ "Amarok 2.8 "Return To The Origin" released".  
  37. ^ "foobar2000 v1.1.14 beta". Hydrogenaudio Forums. Retrieved 2012-10-05. 
  38. ^ "MusicBee". MusicBee Forum. Retrieved 2013-08-17. 
  39. ^ "VLC 2.0.4 Twoflower". VideoLAN. Retrieved 2012-10-19. 
  40. ^ "Winamp". Winamp Forums. Retrieved 2013-01-04. 
  41. ^ "Icecast 2.4 beta release". Retrieved 2012-09-12. 
  42. ^ Airtime, Changelog. "Airtime/changelog at 2.4.x". Sourcefabric. Retrieved 1 July 2013. 
  43. ^ Radio Jackie, Listen Now. "Opus Stream". Radio Jackie. Retrieved 14 May 2013. 
  44. ^ Absolute Radio, Listen Labs. "Opus Streaming Trial". Absolute Radio. Retrieved 30 October 2012. 
  45. ^ "Zwei Audio-Codecs für Echtzeit-Kommunikation im Browser". Retrieved 2012-09-12. 
  46. ^ "Media formats supported by the HTML audio and video elements". 2012-09-03. Retrieved 2012-09-12. 
  47. ^ "Issue 104241: Support OPUS in Ogg files for the audio tag and Audio object".  
  48. ^ "Why no official mention of Opus support?". 2012-07-19. Retrieved 2012-09-12. 
  49. ^ Shankland, Stephen (2012-08-17). "How corporate bickering hobbled better Web audio". CNET News. Retrieved 2012-09-12. 
  50. ^ Bocquet, Ludovic (2013-03-07). "Jitsi 2.0 Now Released!". XMPP Foundation. Retrieved 2014-05-28. 
  51. ^ "A new Line2 for iOS experience with improved sound quality". Line2. 2012-10-18. Retrieved 2013-03-15. 
  52. ^ "SFLphone — Task #14602: [Codec] Implement opus". Savoir-faire Linux. 2012-08-13. Retrieved 2012-09-12. 
  53. ^ Brandon (2013-06-19). "Mumble 1.2.4 Has been released". Mumblevoice Blog. Retrieved 2014-05-28. 
  54. ^ "TeamSpeak 3 Client 3.0.10 released". TeamSpeak Forums. Retrieved 2013-03-04. 
  55. ^ "TeamSpeak 3 Server Version 3.0.7 released". TeamSpeak Forums. Retrieved 2013-03-04. 
  56. ^ "TrueConf сделал ставку на аудиокодек Opus" [TrueConf opted for Opus audio codec] (Press release) (in Russian). Moscow, Russia. 2012-09-19. Retrieved 2014-05-28. 
  57. ^ Jordan, Matthew (2013-05-29). "Opus and VP8". asterisk-dev mailing list. Retrieved 2014-05-28.
  58. ^ "Asterisk Opus/VP8 patch".  
  59. ^ "Tieline Integrates OPUS into Report-IT and IP codecs". Radio Magazine. 2012-12-18. Retrieved 2012-12-18. 
  60. ^ Rockbox Contributors (2013-03-05). "Release notes for Rockbox v.3.13". Rockbox. Retrieved 2013-03-21. 
  61. ^ "RockboxAsAnApplication2010 < Main < Wiki". Retrieved 2012-10-05. 

External links

  • Official website
  • Opus on Hydrogenaudio Knowledgebase
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from World eBook Library are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.