Opus Encoder & Decoder SDK¶
AVBlocks provides a cross-platform Opus encoder SDK and Opus decoder SDK for C++, .NET (C#, VB, F#) and Python on Windows, macOS and Linux.
Opus is the modern, open audio codec built for the internet — excellent for both speech and music at low bitrates, with very low latency. It is the standard codec for WebRTC, voice chat and many streaming platforms.
Opus encoding¶
Encode raw PCM to Opus.
Optimize for speech or music; control bitrate, complexity and frame size.
Mux into WebM / Matroska or pair Opus audio with VP9 / VP8 video.
Opus decoding¶
Decode Opus to raw PCM.
Read from WebM / Matroska and other containers.
Feed decoded audio into your own processing or playback pipeline.
Typical uses¶
VoIP and voice chat — low-latency, high-quality speech.
WebRTC media pipelines — record, store and convert Opus.
HTML5 audio — produce Opus in WebM for browsers.
Transcode MP3 or AAC libraries to Opus to save bandwidth.
Get started¶
Part of the Audio SDK and Voice SDK. See also the AAC SDK and WebM / VP9 SDK.