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.
Link
Related resources
- Unified Origin Live — just-in-time live packaging documentationOfficial docs for running Unified Origin as a live JIT-packaging origin: DASH-IF Live Media Ingest Interface 1 (encoder HTTP POST), archive…
- 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/…
- DASH-IF Live Media Ingest ProtocolSpecification defining Interface 1 (CMAF track ingest) and Interface 2 (DASH/HLS ingest) for pushing live media from encoders to origins/pa…
- MP4Box Documentation — GPAC WikiCanonical MP4Box reference: ISOBMFF packaging, DASH/HLS segmentation, CENC encryption, hinting, dumping and filter-engine transcoding.
- 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 me…
- 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.
- 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…
- libiamf — AOMedia IAMF Reference ImplementationReference decoder library for the Immersive Audio Model and Formats specification, supporting the base-enhanced profile.
- 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…
- 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…