finds.dev← search

// the find

axiomatic-systems/Bento4

★ 2,454 · C++ · updated May 2026

Full-featured MP4 format, MPEG DASH, HLS, CMAF SDK and tools

Bento4 is a C++ library and CLI toolkit for reading, writing, encrypting, and packaging MP4-based media — covering DASH, HLS, CMAF, and CENC. It has no external dependencies and builds everywhere from Linux to Android NDK to iOS. If you're doing server-side video packaging, DRM preparation, or HLS/DASH segmentation without pulling in FFmpeg's entire universe, this is the library to reach for.

Zero external dependencies is genuinely useful — the whole thing compiles from source with cmake in about two minutes, which matters for CI pipelines and cross-compilation targets. The CLI tools (mp4fragment, mp4-dash, mp4encrypt) are production-grade; they're what most people actually use day-to-day and they handle edge cases like Dolby Vision NAL-unit-aware encryption correctly. The Python bindings exist and the C DLL wrapper means you can call into this from languages that can't easily link C++ directly. CENC support covers Widevine, PlayReady, and Marlin in one place, which is rare without paying for a commercial SDK.

The Visual Studio project files are still targeting vs2010/vs2015/vs2019 — the vs2010 solution file is not a confidence-inspiring sight in 2026, and it signals that the build system gets sporadic attention. There's no real API documentation; you're reading header files and CLI source code to understand the library API, which is a meaningful onboarding tax for anyone not using the CLI tools. The Python bindings are not clearly versioned or published to PyPI, so integrating them means vendoring the build, which most teams won't do. Issue tracker has open bugs going back years with no response, which suggests the maintainer bandwidth is thin — fine if you're using the stable CLI tools, a problem if you hit a parsing edge case and need it fixed.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →