mp4decryptjs
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i mp4decryptjs

Weekly Downloads

1

Version

1.0.2

License

GPL-2.0

Unpacked Size

5.33 MB

Total Files

578

Last publish

Collaborators

  • jaynator495