Docs — architecture, codecs, and status
Benchmarks — measured BD-rate and speed
Config — CLI, options, and offline build
FAQ — common build and codec questions
Status: active development, pre-alpha. Not ready for production: APIs, file formats, and encoded streams change without notice.
A Rust-only multimedia framework built from the standards, not ported from FFmpeg: demux, decode, filter, encode, mux, and transport. Pre-alpha.
cargo build --release --workspace
cargo run -p rustmpeg-cli -- version
cargo run -p rustmpeg-video --example vvc_dump -- 64 64 26 3 /tmp/out \
--bit-depth 8 --chroma-format 420
cargo run -p rustmpeg-video --example vvc_decode -- /tmp/out.vvc /tmp/out.yuvNightly is pinned in rust-toolchain.toml (std::simd). More commands:
docs/configs/CONFIG.md.
| Area | Implemented | Status |
|---|---|---|
| Containers | Matroska/WebM, ISOBMFF/CMAF | demux + mux |
| Video | H.266/VVC (intra + multi-tool P/B + general decoder, VTM 24.0 + VVdeC exact), AV2 (intra/inter/tiles/filters/grain, AVM + dav2d exact), APV intra | beta |
| Audio | Opus (SILK + CELT + Hybrid + Multistream + CELT/SILK encoders), FLAC, LPCM, LC3/LC3plus, IAMF/OAR | stable across all 6 audio components (verified scopes) |
| Image | JPEG XL (JxlDecoder + JxlEncoder), OpenEXR (ExrDecoder + ExrEncoder, 13 codecs incl. HTJ2K256/HTJ2K32), moxcms |
stable (JXL, OpenEXR) |
| Transport | — | planned |
| GPU | Vulkan Compute (wgpu/naga, pooled VRAM pipeline: RGBA/I420, bilinear/bicubic scale, HDR10 PQ→SDR tone map, AV2 deblock, SSE/SAD metrics, calibrated scheduler) |
beta (verified bit-exact, 1.8x–20x measured GPU speedup) |
Pre-alpha. Self-reported workspace completion is in the footer and in
docs/status.json; conformance is claimed only where an
external oracle was run (VVC status).
A v<version> tag or a manual Release workflow run verifies the tree
(cargo fmt, clippy, tests, license audit), builds the release examples, and
publishes a GitHub Release with the source archive, the example binaries, and
their checksums. Crates are published in dependency order only when the
CARGO_REGISTRY_TOKEN repository secret is configured; otherwise the step
records the skip in the run summary.
Apache-2.0. Recorded permissive third-party derivations: VTM 24.0 (BSD-3-Clause,
VVC), dav2d (BSD-2-Clause, AV2), liblc3 (Apache-2.0, LC3 tables and decoder
portions), OpenEXR 3.5.2 OpenEXRCore (BSD-3-Clause, OpenEXR), jxl-oxide
(MIT OR Apache-2.0) and libjxl (BSD-3-Clause) portions plus normative RFC 7932
Brotli dictionary data (BSD-3-Clause, JPEG XL), RFC 6716 Appendix A / libopus
/ rusty-opus normative tables and definitions (BSD-3-Clause, Opus), and one
OpenAPV test vector (BSD-3-Clause). See THIRD_PARTY.md and
NOTICE.
Rust lines: 225,816 · workspace completion: 88% · unsafe: 0 · source tokens: ~2,122,665 (chars/4)