This crate provides a safe function to decrypt, encrypted mp4 data stream using Bento4.
Add this to your Cargo.toml file.
toml
[dependencies]
mp4decrypt = "0.4.0"
Or add from command line.
bash
$ cargo add mp4decrypt
See docs and examples to know how to use it.
Dual Licensed