xiph/opus
FreeModern audio compression for the internet.
About xiph/opus
Opus is a highly versatile audio codec designed for interactive speech and audio transmission over the Internet. It handles a wide range of applications from low bit-rate narrowband speech to high-quality stereo music, making it suitable for Voice over IP, videoconferencing, in-game chat, and remote live music performances. Opus is also used for non-realtime stored-file applications like music distribution and game soundtracks, offering lower latency than traditional formats like MP3, AAC, or Vorbis. The implementation provides a shared library for encoding and decoding raw Opus bitstreams and includes a deep learning-based redundancy encoder (added in Opus 1.5) to improve audio quality in lossy network environments.
Key Features
Pros & Cons
- Handles wide range of audio quality from narrowband to stereo
- Low latency ideal for real-time communication
- Royalty-free open standard with permissive licensing
- Deep learning based redundancy encoder improves quality on lossy networks
- Well-established with IETF specification (RFC 6716)
- Open source implementation with active development
- Raw Opus bitstreams are not suitable for file storage as they include debugging data and cannot support seeking
- Requires Ogg encapsulation for proper file distribution and seeking support
- Not all platforms have native Opus support, requiring additional libraries or codec packs