Expand description
This crate provides a safe function to decrypt, encrypted mp4 data stream using Bento4.
Maximum supported stream size is around 4.29
G.B i.e. u32::MAX.
§Environment Variables
A set of environment variables that can be used to find ap4 library from Bento4 installation.
- BENTO4_DIR - If specified, the directory of an Bento4 installation. The directory should contain lib and include subdirectories containing the libraries and headers respectively.
- BENTO4_VENDOR - If set, always build and link against Bento4 vendored version.
Additionally, these variables can be prefixed with the upper-cased target architecture (e.g. X86_64_UNKNOWN_LINUX_GNU_BENTO4_DIR), which can be useful when cross compiling.
Functions§
- mp4decrypt
- Decrypt encrypted mp4 data stream using given keys.