Skip to content

Jaynator495/mp4decryptjs

 
 

Repository files navigation

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.

About

Native NodeJS module to decrypt media

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 96.3%
  • JavaScript 2.0%
  • CMake 1.1%
  • TypeScript 0.6%