#mp4 #api-bindings

mp4decrypt

Decrypt mp4 streams using Bento4

11 releases

Uses new Rust 2024

0.5.1 Jun 9, 2025
0.5.0 Jun 9, 2025
0.4.2 Jun 12, 2023
0.4.1 May 10, 2023
0.1.1+1.6.0-639 Aug 31, 2022

#2420 in Cryptography


Used in 2 crates

MIT/Apache

215KB
3.5K SLoC

C++ 3.5K SLoC // 0.3% comments Rust 204 SLoC // 0.0% comments

mp4decrypt

This crate provides a safe function to decrypt, encrypted mp4 data stream using Bento4.

Getting Started

Add this to your Cargo.toml file.

[dependencies]
mp4decrypt = "0.5.1"

Or add from command line.

$ cargo add mp4decrypt

See docs and examples to know how to use it.

License

Dual Licensed

No runtime deps

~0–265KB