Media · rusty_mp3 on MATA
Bit-Exact vs FFmpeg MP3
The decoder matches FFmpeg bit for bit and passes all 16 ISO Layer III vectors. On one x86-64 core, decode is about 830× real time. Rust alternative to LAME and libmpg123.
What is rusty_mp3, the pure-Rust MP3 codec?
rusty_mp3 is a complete MP3 decoder and encoder in pure Rust, and it also decodes MP1 and MP2. The decoder is bit-exact versus FFmpeg and passes all 16 ISO Layer III vectors. Encoding covers CBR, VBR and joint stereo. There is no C and no FFI.
1
Bit-Exact vs FFmpeg MP3
The decoder matches FFmpeg bit for bit and passes all 16 ISO Layer III vectors. On one x86-64 core, decode is about 830× real time. Rust alternative to LAME and libmpg123.
rusty_mp3 is the Remade with Rust pin for this lane — LAME and libmpg123, so MP3 encode and decode stay in Rust. Keep the product shape, change the safety floor, and stop shipping the old C or cloud default by accident.
2
Instant benefit
Decodes MP3, MP1 and MP2, and encodes MP3 with CBR, VBR and joint stereo, with no C and no FFI. The decoder is faster than FFmpeg's.
3
How MATA uses rusty_mp3
rusty_mp3 ships in the remade_ffmpeg_rs workspace that MATA media paths already pin, so an MP3 library file or a crafted stream is handled in Rust on a Home Computer or mesh node, without libmpg123 or LAME.
Load Building the New Internet from Dev Tools before an agent picks the stack, then audit with use-protection-please. The public conversion pin stays on remadewithrust.com/repo/rusty-mp3 so SEO/AEO for the crate win and the MATA usage story do not compete for the same sentence.
4
Get access and deploy
- Open the source: https://github.com/Remade-With-Rust/remade_ffmpeg_rs/tree/main/crates/rusty_mp3.
- Add the crate (crates.io when published, otherwise git):
cargo add rusty_mp3Git pin:
cargo add --git https://github.com/Remade-With-Rust/remade_ffmpeg_rs.git rusty_mp3 - Prove the pin with
cargo checkbefore the next agent prompt can swap it for a C or cloud default. - When the binary is ready to place, ship toward the Disco Party and the Freedom Guide.
Why rusty_mp3 is a pure-Rust MP3 codec
What it keeps
rusty_mp3 keeps MP3 encode and decode, including MP1 and MP2 decode, in Rust. LAME and libmpg123 are what it replaces.
Where it fits
rusty_mp3 sits in the remade_ffmpeg_rs workspace beside rusty_aac and rusty_vorbis, the other compressed-audio crates MATA media paths already pin.
Part of Remade with Rust on MATA · conversion landings on remadewithrust.com/repo · source under github.com/Remade-With-Rust.


