Free OPUS sample, test and dummy files (.opus)
Low-latency, full-band 48 kHz IETF Opus audio streams encapsulated in Ogg containers per RFC 7845. Ideal for testing WebRTC voice pipelines, Discord/Telegram voice-note uploaders, and HTML5 MediaRecorder outputs.
Quick facts: .opus format
| Extension | .opus |
|---|---|
| Full name | IETF Opus Interactive Audio Codec (Ogg Opus) |
| MIME type | audio/opus |
| Category | Audio |
| Compression / Encoding | Lossy hybrid speech (SILK) and music (CELT) transform codec |
| Magic bytes (signature) | 4F 67 67 53 ('OggS') with 'OpusHead' at byte offset 28 |
| Specification | IETF RFC 6716 (Opus Codec) and RFC 7845 (Ogg Encapsulation for the Opus Audio Codec) |
Download sample OPUS files
Every file below is a spec-compliant .opus fixture generated deterministically for automated and manual testing. Verify the exact byte count and SHA-256 digest after downloading, or open the custom-size file generator to build additional fixtures in your browser.
| File | Size | Variant & contents | SHA-256 checksum | Download |
|---|---|---|---|---|
| sample-opus-48khz.opus | 50.00 KB51,195 bytes | 3-second 48 kHz stereo Opus audio in Ogg container (RFC 7845) | 20cc21429cfea5a135386c404e9b24d69cd9954813a3e30e6319d81a52dec27c |
Download OPUS |
| sample-opus-voice.opus | 30.04 KB30,759 bytes | 5-second 48 kHz mono low-bitrate Opus voice-band test stream | 755837e1197da97ed756af0eee5b831731f46043a3813f603dc3d2a3373e9003 |
Download OPUS |
What is a OPUS file?
Opus is an open, royalty-free audio codec standardized by the Internet Engineering Task Force (IETF) in RFC 6716. Designed jointly by Xiph.Org, Mozilla, Skype (Microsoft), and Broadcom, Opus combines two coding technologies into a single hybrid bitstream: a linear predictive speech coder derived from SILK (optimized for human voice between 6 kbps and 40 kbps) and a low-delay Modified Discrete Cosine Transform coder derived from CELT (optimized for music and full-spectrum audio up to 510 kbps).
When stored on disk as a .opus file (defined by RFC 7845), the bitstream is wrapped in an Ogg container whose first logical packet begins with the 8-byte ASCII signature OpusHead and whose second packet begins with OpusTags. Internally, the Opus codec always operates at a canonical 48,000 Hz clock rate regardless of the original input sample rate.
How to open a .opus file on Windows, macOS, Linux, Android and iOS
- Windows: Chrome, Edge, Firefox, VLC Media Player, Audacity, and Windows 10/11 Media Player decode
.opusfiles natively. - macOS: Safari, QuickTime, Chrome, Firefox, and IINA play Ogg Opus streams.
- Linux:
opusdec(fromopus-tools), FFmpeg, MPV, PipeWire, and GStreamer support Opus out of the box. - Android and iOS: Native platform support on Android 5.0+ and iOS 11+ (CoreAudio / WebRTC).
What to test with OPUS sample files
- Pre-skip sample trimming: The 19-byte
OpusHeadheader contains a 16-bit little-endianpre-skipcount at offset 10 that tells decoders how many initial 48 kHz samples to discard on startup. Test whether your audio trimmer preserves sample alignment. - R128 output gain adjustment: Unlike Vorbis or MP3, Ogg Opus stores a signed 16-bit Q7.8 decibel gain value directly in the
OpusHeadheader (offset 16) in addition to optionalR128_TRACK_gaintags. - MIME type normalization: Browsers and uploaders may report
audio/opus,audio/ogg; codecs=opus, orapplication/ogg. Ensure your backend file validator accepts all three when the magic bytes showOggS+OpusHead.
Common problems when handling .opus files
A common parser error occurs when software inspects only the first 4 bytes (OggS) and passes a .opus file to a legacy Vorbis-only decoder library (such as libvorbisfile), which then fails with a "not Vorbis header" error because byte 28 contains OpusHead instead of \x01vorbis.
Need to convert or inspect a file right away? Use ConvertFerry Audio Converter or drop any local file into our in-browser Magic-Byte File Inspector.
Related formats and testing resources
Frequently asked questions
- Why do all Opus files report a 48,000 Hz sample rate in ffprobe?
- The Opus specification (RFC 6716) mandates an internal 48 kHz master sample clock for all streams. The original input sample rate is stored only as an informational 32-bit field at byte 12 of the OpusHead header.
- How do I tell an Ogg Opus file apart from an Ogg Vorbis file by its bytes?
- Both start with OggS (4F 67 67 53) at byte 0, but an Ogg Opus file contains the ASCII string OpusHead (4F 70 75 73 48 65 61 64) at byte offset 28, whereas Ogg Vorbis has 01 76 6F 72 62 69 73.
- Is Opus supported in WebRTC and MediaRecorder?
- Yes. Opus is a mandatory codec in the WebRTC specification, and Chrome and Firefox use Opus as the default audio codec when recording audio/webm or audio/ogg via MediaRecorder.
- What bitrate is used in these sample Opus files?
- We provide a 96 kbps stereo full-band fixture and a 32 kbps mono voice-band fixture.