Who invented Opus codec?

Published:
Updated:
Who invented Opus codec?

The story of the Opus audio codec’s invention is less about a single lightning-bolt moment or one dedicated individual and more about a massive, necessary convergence driven by the demands of the modern internet. Opus is not a clean slate; it is a highly successful technological marriage, bringing together two distinct, powerful codecs that were already in service for different purposes. To ask who invented it is to ask who provided the constituent parts and who forged them into the unified standard we use today: the answer lies with Skype, the Xiph.Org Foundation, and the Internet Engineering Task Force (IETF). [5]

# Collaborative Conception

Who invented Opus codec?, Collaborative Conception

The journey toward Opus began in earnest around early 2007, stemming from the realization that the internet needed a single, adaptable audio codec capable of handling the entire spectrum of audio needs, from simple, low-bandwidth voice chat to high-fidelity music streaming. [2][5] Before Opus, developers often had to deploy multiple codecs to cover these bases—one optimized for low latency voice (like Speex or G.711) and another for high-quality music storage (like MP3 or Vorbis). [1][5] This fragmentation added complexity, cost, and reduced overall system efficiency for internet services. [1]

The IETF’s Codec Working Group took on the mission to create this universal replacement. [2][5] The solution they settled on was to base the new standard on the best available, open, and royalty-free technologies. This led to the core architecture: a seamless combination of two distinct pre-existing technologies: SILK and CELT. [1][2][5]

# Two Pillars of Technology

The inventive leap in Opus was not inventing new compression algorithms from scratch, but rather intelligently merging, optimizing, and standardizing existing high-quality components created by different organizations.

# The SILK Codec

The first pillar is the SILK codec. SILK was developed by Skype Limited. [1][2][5] This technology was specifically engineered to excel at compressing human speech, particularly in challenging, low-bandwidth, and lossy environments typical of VoIP and real-time communication. [2][5] SILK uses Linear Predictive Coding (LPC) techniques, which are exceptionally good at modeling the characteristics of the human voice, allowing it to sound intelligible and natural even at very low bitrates. [5]

Crucially, the version of SILK integrated into Opus is not a direct drop-in replacement for the one Skype originally shipped. [1] Programmers associated with the standardization process heavily modified the submitted SILK codec to fit the needs of the unified Opus standard, ensuring it could operate in concert with the second pillar. [1]

# The CELT Codec

The second, equally vital, component is CELT (Constrained Energy Lag Transform). CELT was a project originating from the Xiph.Org Foundation, the same organization behind Vorbis and FLAC. [1][5] Unlike SILK, which focused on speech modeling, CELT utilized frequency domain processing based on the Modified Discrete Cosine Transform (MDCT) and was designed to handle music and wideband audio with high fidelity and, importantly, very low delay. [1][5]

The involvement of Xiph.Org and other contributors, including developers from Mozilla, ensured that this part of the codec brought high-quality, general-purpose audio compression to the table. [4] CELT’s framework allowed Opus to achieve the necessary quality levels for music distribution and high-fidelity interaction that LPC-based speech codecs struggle with alone. [5]

# The Standardization as Invention

The process of taking these two separate codecs—one optimized for speech modeling (SILK) and one for general audio/music (CELT)—and fusing them into a single, specification-compliant codec defined by the IETF is arguably the true "invention" of Opus. [2] The standardization resulted in RFC 6716, published in 2012. [2][5]

This standardization effort was not just about picking the best technology; it was about engineering a functional switch between them. Opus gained a hybrid mode where speech frequencies below about 8 kHz are handled by the SILK-derived LPC mode, while frequencies above that (up to the maximum bandwidth) are handled by the CELT-derived MDCT mode. [1][5] This allowed the codec to dynamically transition between the two compression philosophies without causing any audible glitches or requiring external signaling, something that provided a massive technical advantage over maintaining separate streams. [1]

A fascinating, and rather unique, aspect of this standardization process relates to the normative nature of the final specification. While many standards rely on a prose description of the algorithm, the Opus specification deliberately made the reference implementation code itself the primary normative part. [3] This means that when a conflict or ambiguity arises, the C source code provided in the RFC is the ultimate authority. [3]

This technical decision, made for reasons of compatibility and testability, has a significant consequence that speaks to the nature of its invention. Because the code elements within the RFC are copyrighted (under a Simplified BSD License), creating a functionally identical, yet entirely separate, implementation that could be released into the public domain—like the popular stb libraries for other formats—becomes legally complicated for independent developers. [3] The invention, in this sense, is tightly bound to the specific, copyrighted reference code that was developed collaboratively under the IETF's umbrella, rather than just an abstract set of mathematical rules derived from that code. [3] This philosophical choice by the standardization body cemented the developers' control over the reference implementation while ensuring interoperability based on that exact code.

# Engineering Priorities

The developers prioritized use cases that defined the modern internet: low latency and adaptability. Opus achieved its goal of serving as a universal codec by optimizing for these traits even when it meant abstracting certain common user expectations.

One core engineering decision illustrates this focus on internet-centric performance: Opus standardizes on an internal processing frequency of 48 kHz. [1] While input audio can be provided at other common rates, such as 44.1 kHz (standard for music CDs), the encoder tools will internally convert this to 48 kHz, and any data above 20 kHz (the approximate limit of human hearing) is discarded, as it is deemed irrelevant for lossy compression efficiency. [1]

It is worth noting a technical trade-off here that demonstrates the inventors' mindset. While some might argue that forcing a resample from 44.1 kHz to 48 kHz could introduce unacceptable degradation, the development team acknowledged this but justified it based on relative quality loss. [1] They suggested that the quality loss from a good 44.1 \leftrightarrow 48 kHz resampler is significantly less damaging than the distortion caused by using a lower bitrate in a lossy codec to save bandwidth. [1] Furthermore, because many modern audio hardware devices and streaming protocols favor 48 kHz, this choice effectively shifts the necessary resampling burden from the decoder (which is often constrained in real-time apps) to the encoder, allowing the decoder to operate at its optimal, tested rate. [1] This focus on tuning the quality once at the source configuration streamlines the development effort and ensures a consistent quality ceiling across the vast array of end-user devices. [1]

# Defining Versatility Through Parameters

The inventors defined Opus not by a single bitrate or delay, but by its massive operational range, which solidifies its claim to being a "universal" codec. This versatility is encoded in how its parameters are managed:

  • Bitrate Scalability: Opus can scale its bitrate fluidly from as low as about 6 kb/s up to 512 kb/s, with increments as small as 0.4 kb/s. [1][2] This extremely granular control allows for fine-tuning based on immediate network conditions, a necessity for interactive applications where bandwidth availability fluctuates rapidly. [2]
  • Frame Size Control: Latency is directly tied to frame size. Opus allows frame durations between 2.5 ms and 60 ms, which can even change from one packet to the next. [1][5] For VoIP, the default 20 ms frame size yields a very low overall latency of around 26.5 ms, which is imperceptible in conversation. [2]

This ability to vary frame size dynamically is a key feature differentiating it from codecs that require a fixed frame size for an entire stream. [1]

# The Ongoing Evolution

The "invention" of Opus was successfully concluded with its standardization, but the contributors ensured its development would not stop there. Because the specification is defined primarily by the decoder (RFC 6716), the encoder implementation, known as libopus, can continue to be improved without breaking compatibility with existing decoders. [1] This mirrors the success seen in projects like LAME for MP3, where continuous encoder innovation pushes quality far beyond the original reference implementation. [1] Subsequent releases of libopus have indeed demonstrated this ongoing evolutionary capacity, bringing improvements in areas like packet loss robustness via new techniques like Deep Redundancy (DRED) and integrating machine learning components. [2]

The fact that the original developers made the reference implementation available under a liberal, royalty-free BSD license was a strategic choice that propelled adoption. [1] By eliminating the financial and legal uncertainty associated with patents—a common inhibitor in codec adoption—they cleared the path for widespread integration into fundamental internet infrastructure like WebRTC, which subsequently mandated its use. [2] This decision, rooted in the Xiph.Org philosophy of making standards common infrastructure, is as much a part of the codec’s success as the underlying mathematics of SILK and CELT. [1]

In summary, the invention of Opus was a triumph of engineering collaboration: Skype provided the low-delay speech expertise (SILK), Xiph.Org/Mozilla provided the high-quality general audio framework (CELT), and the IETF provided the forum and the mechanism (RFC 6716) to formally merge these streams into a singular, royalty-free, and highly adaptive standard that serves all facets of internet audio transmission. [1][5]

#Citations

  1. Opus Codec: The Audio Format Explained | WebRTC Streaming
  2. Why there is no stb_opus - Sean Barrett
  3. OpusFAQ - XiphWiki - Xiph.org
  4. Exclusive: Dolby-backed Opus pool reveals royalty demands
  5. What is Opus Audio Codec? - Castr's Blog

Written by

Michelle Morgan
inventoraudiocompressioncodecOpus