Symphonia splits audio decoding into per-format crates, and MP3 and AAC stay off until you ask
Pure Rust multimedia format demuxing, tag reading, and audio decoding library
At a glance
- What is it?
- Symphonia is a pure Rust library for demuxing media containers, reading tags and decoding audio. This article covers the default feature set, the Good, Great and Excellent status scale, the gapless gaps and the workspace layout.
- Who is it for?
- Symphonia fits a Rust application that needs to decode FLAC, Vorbis, WAV, PCM or MP3 without linking C libraries, and that can read a status table before trusting a format. It is the wrong pick if you need HE-AAC, Opus or WavPack decoding today, or gapless playback from MP4 and MKV.
- Can I use it commercially?
- Yes, with conditions. MPL-2.0 is a weak copyleft licence: you can use it inside commercial and closed-source software, but if you distribute changes to its own files, you must publish those changes under the same licence.
- Is it still maintained?
- Yes. The repository last received commits 1 day ago.
- What is it written in?
- Mainly Rust, according to GitHub's language statistics.
Answers come from the project's GitHub data, last synced on November 24, 2026, and from our analysis. They are not legal advice.
Star history
- pdeljanov/Symphonia3,493 ★ · +66
| Repository | 2026-10-08 | 2026-11-24 |
|---|---|---|
| pdeljanov/Symphonia | 3.4k | 3.5k |
66 Stars in the last 47 days, measured from the daily GitHub snapshot. Compare with other projects
Editorial analysis
Pure Rust demuxing, tag reading and decoding for fifteen named formats
Symphonia is a pure Rust audio decoding and media demuxing library. The headline lists AAC, ADPCM, AIFF, ALAC, CAF, FLAC, MKV, MP1, MP2, MP3, MP4, OGG, Vorbis, WAV and WebM. Three jobs sit behind that list: demuxing containers, reading metadata and tagging formats, and decoding audio.
The feature list claims automatic format and decoder detection, so you hand it a stream and it picks the demuxer and decoder. It also claims basic audio primitives for manipulating audio data, 100% safe Rust, minimal dependencies, and gapless playback support for the most popular codecs.
Two items are marked planned rather than shipped: a C API for integration into other languages, and a WASM API for web usage. A project in C, Python or the browser cannot use Symphonia through those routes today, and no date is given. The library is for Rust code calling Rust code.
The front page also links Getting Started, the docs.rs documentation, an examples directory and a benchmarks file. The claim Fast with no compromises in performance is a tagline; BENCHMARKS.md is where any figures would live.
Only royalty-free open standards are on by default, so MP3 and AAC need a feature flag
Support for each codec and format is a separate crate. By default, Symphonia enables only royalty-free open standard codecs and formats. Others come through feature flags.
The tables make the consequence concrete. Among formats, MKV/WebM (mkv), OGG (ogg) and Wave (wav) are default on. AIFF (aiff), CAF (caf) and ISO/MP4 (isomp4) are default off. Among codecs, ADPCM, FLAC, Opus, PCM, Vorbis and WavPack are default on, while AAC-LC (aac), ALAC (alac), MP1, MP2 and MP3 are default off.
So a project that lists MP3 on its supported format line but adds Symphonia without flags will not decode MP3. The MP3 flags are mp3 and mpa, where mpa enables all MPEG audio codecs. Three catch-all flags exist: all enables every format and codec, all-formats enables every format, and all-codecs enables every codec.
The cost of all is more code compiled into your binary, and a dependency tree wider than your application may need. Picking individual flags keeps the build smaller.
Good means some streams may panic, error or glitch, and Excellent needs compliance tests
Each format and codec carries a status, and the scale has teeth. Good means many media streams play, but some may panic, error or produce audible glitches, and some features may not be supported. Great means most streams play, inaudible glitches may be present and most common features are supported. Excellent means all media streams play with no audible or inaudible glitches and all required features supported. A dash means in work or not started yet.
Great is described as a state acceptable for most applications. Excellent is assigned only after the feature passes all compliance tests. Where none exist, Excellent needs Symphonia's output to match a reference implementation, or ffmpeg, over a large test corpus.
Current ratings: Wave, FLAC, MP3, PCM and Vorbis are Excellent. AIFF, ISO/MP4, OGG, AAC-LC, ALAC, MP1 and MP2 are Great. CAF, MKV/WebM and ADPCM are Good, so a service decoding arbitrary uploaded MKV or WebM files has to expect that some streams error or panic and handle that at the call site.
Gapless playback needs both halves, and MP4, MKV and AAC-LC have neither
A footnote in the format table says gapless playback requires support from both the demuxer and decoder. That rule decides which combinations work.
On the demuxer side, AIFF, OGG and Wave are marked gapless Yes. CAF, ISO/MP4 and MKV/WebM are marked No. On the decoder side, ADPCM, ALAC, FLAC, MP3, PCM and Vorbis are Yes, while AAC-LC, MP1 and MP2 are No.
Applying the footnote: FLAC in a FLAC file, Vorbis in OGG and PCM in Wave are covered on both sides. AAC-LC inside an ISO/MP4 container fails on both sides, since the demuxer and the decoder are each marked No. ALAC inside MP4 has a gapless decoder but a demuxer marked No, so the rule is not satisfied.
For a music player, that matters more than the Great ratings suggest. An album of tracks meant to flow together, stored as M4A, will not play without gaps through Symphonia as the tables stand. MP3 is a bundle, a decoder combined with its own native demuxer, and is marked gapless Yes.
Nineteen workspace members, with RIFF shared by Wave and AIFF
The Cargo workspace lists nineteen members. The facade crate is symphonia. The building blocks are symphonia-core and symphonia-common, with symphonia-metadata for tags. Format crates are symphonia-format-isomp4, symphonia-format-mkv, symphonia-format-ogg, symphonia-format-riff and, in the repository, symphonia-format-caf. Codec crates are symphonia-codec-aac, adpcm, alac, opus, pcm, vorbis and wavpack. Two bundle crates, symphonia-bundle-flac and symphonia-bundle-mp3, each combine a decoder with a native demuxer.
The RIFF crate serves both Wave and AIFF, so the aiff feature flag and the wav flag point at one crate. Two tools sit beside the libraries: symphonia-play and symphonia-check.
The workspace uses edition 2024, requires Rust 1.85 and is at version 0.6.1. The lint config warns on clippy unwrap_used. Shared dependencies are small: lazy_static, log and smallvec. A project on a toolchain older than 1.85 cannot build this release.
HE-AAC, Opus and WavPack are listed without a status, and Opus and WavPack still read as default on
Three codec rows have a dash for status and gapless, meaning in work or not started yet. HE-AAC (feature he-aac) and HE-AACv2 (he-aac-v2) are off by default and share the symphonia-codec-aac crate with AAC-LC. Opus (opus) and WavPack (wavpack) have their own crates in the repository, yet the table lists both as default on.
That combination is confusing. A feature flag and a crate directory exist for Opus and WavPack, and the status column says no usable decoder is claimed. Do not plan a product around decoding Opus or WavPack with Symphonia on the strength of the crate names.
The practical gap for AAC is that only AAC-LC is rated. Streams that use the HE profiles are outside the rated support. Streaming radio and many mobile recordings tend to use them, but that is outside what the README states, so test your own files.
The metadata section, Tags (Readers), is provided by the symphonia-metadata crate. Its table is not reproduced here.
Version 0.6.1 landed in August 2026, and the crates are still below 1.0
The recent releases are v0.6.1 on 13 August 2026, v0.6.0 on 15 May 2026 and v0.5.5 on 11 October 2025. The last push to main was on 13 August 2026 and the repository is not archived. The license is MPL-2.0, through the LICENSE file.
A version below 1.0 is a fact worth reading into your dependency policy. The workspace version is 0.6.1, so pin it exactly in production and read the release notes on each bump.
For learning, the repository gives you GETTING_STARTED.md, an examples directory under symphonia/examples, symphonia-play as a player tool and symphonia-check as a checking tool. benchtest/ and BENCHMARKS.md cover performance. CONTRIBUTING.md and a CONTRIBUTORS file describe how to take part. A Rust 1.85 badge on the front page matches the workspace rust-version, and the crate is on crates.io with API docs on docs.rs.
Editorial conclusion
Symphonia fits a Rust application that needs to decode FLAC, Vorbis, WAV, PCM or MP3 without linking C libraries, and that can read a status table before trusting a format. It is the wrong pick if you need HE-AAC, Opus or WavPack decoding today, or gapless playback from MP4 and MKV. Before adopting, enable the exact formats you use and check each against the status and gapless columns.
Frequently asked questions
What audio formats does Symphonia support?
Symphonia supports AAC, ADPCM, AIFF, ALAC, CAF, FLAC, MKV, MP1, MP2, MP3, MP4, OGG, Vorbis, WAV and WebM. Only royalty-free open standard codecs and formats are enabled by default.
How do I enable MP3 in Symphonia?
MP3 is off by default. Turn it on with the mp3 or mpa feature flag, or use the all or all-codecs flags to enable everything.
What Rust version does Symphonia need?
The workspace sets rust-version 1.85 and edition 2024. The current workspace version is 0.6.1 under the MPL-2.0 license.
Official sources
Add this badge to your README
If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.
[](https://hysenlabs.com/projects/pdeljanov-symphonia)Star history chart for your README
[](https://hysenlabs.com/projects/pdeljanov-symphonia)Was this useful?