mp4decryptjs
v1.0.2
Published
Native NodeJS module to decrypt media
Downloads
6
Readme
mp4decryptjs
Take Encrypted media and decrypt it using Bento4's mp4decrypt
, within a node native module. Perfect for small files like DASH segments, and large encrypted files.
Example
import mp4decrypt from 'mp4decryptjs';
const keys = {
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa': 'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb'
};
mp4decrypt("input.mp4", "output.mp4", keys).then(success => {
if (success) {
//Do something here
}
});
Third-party software
This repo links to a modified version of Bento4 v1.6.0.641 as a submodule.