Optimizing rav1d, the Rust AV1 decoder (Prossimo)
Engineering writeup from ISRG's Prossimo on closing the performance gap between rav1d and dav1d, detailing the specific Rust codegen and memory-layout changes that mattered.
Link
Related resources
- Video Encoding on Graviton in 2025Benchmark-heavy report on Arm video encoding: Graviton4 vs Graviton3 gains, x265 3.6+ improvements of 16-34%, SVT-AV1 Arm SIMD optimization…
- rav1d-safe — rav1d fork replacing hand-written asm with safe Rust SIMDFork of the rav1d AV1 decoder that swaps ~160k lines of hand-written x86/ARM assembly for safe Rust SIMD intrinsics while targeting within…
- rusty-av1-toolkit — rav1e fork with fast paths and bitstream speed moderav1e fork offering a byte-identical fast path plus a --racecar bitstream-changing speed mode, using a rav1d fork as its conformance oracle.
- SVT-AV1-PSY — release notes and psychovisual tuning historyOfficial release site for the SVT-AV1-PSY psychovisual encoder fork, documenting each release's tuning changes (e.g. --sharp-tx defaults) u…
- libiamf — AOMedia IAMF Reference ImplementationReference decoder library for the Immersive Audio Model and Formats specification, supporting the base-enhanced profile.
- GPAC MP4Box — Fragmentation, Segmentation, Splitting and Interleaving guideOfficial GPAC wiki reference for MP4Box's DASH/CMAF segmenter: -dash, -frag, -split and -inter options, DASH profile conformance, and live/…
- Jellyfin Hardware Acceleration DocumentationPractical guide to Intel, AMD, NVIDIA, Apple and Rockchip hardware transcoding, jellyfin-ffmpeg requirements, VPP HDR10 tone mapping and re…
- NVENC Video Encoder API Programming Guide (Video Codec SDK 13.0)Current NVENC API guide covering nvEncodeAPI.h usage, P1–P7 presets, rate control and low-latency vs high-quality tuning info.
- OpenAPV — Reference Encoder/Decoder for Samsung APVASWF-hosted reference implementation of the APV intra-only mezzanine codec (4:0:0–4:4:4:4, 10-16 bit) with NEON and AVX optimizations, back…
- Tinkering with AV1-SVC Support in JanusMeetecho engineering write-up on implementing AV1 SVC layer forwarding in a production SFU, including Dependency Descriptor handling.
- MSVP: Meta's Scalable Video Processor ASICMeta's engineering description of its first video transcoding ASIC: PCIe-DMA architecture, on-chip scheduling, H.264/VP9 support and ~9x li…
- Writing an MP4 Muxer for Fun and Profit (OBS Studio)Engineering deep dive on regular vs fragmented MP4 tradeoffs and the hybrid MP4 muxer OBS built for crash-resilient recording.
- MP4Box Documentation — GPAC WikiCanonical MP4Box reference: ISOBMFF packaging, DASH/HLS segmentation, CENC encryption, hinting, dumping and filter-engine transcoding.