Giter VIP home page Giter VIP logo

mp4decrypt-buffer's People

Contributors

ubuntuegor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mp4decrypt-buffer's Issues

Broken or am i doing something wrong ??

I am trying to use this to decrypt a dash media segment from a vod movie

i am using nodejs 18 this is the code i am using

`
keys = {
[row.vkid]:row.vkey
};

     const encrypted = fs.readFileSync(combinedLocation);

    mp4decrypt.decrypt(encrypted, keys).then(decrypted => {
         fs.writeFileSync('dec.mp4', decrypted)
    })

`

the media file does not play after decryption using vlc i get the following errors

faad warning: PCE shall be the first element in a frame
faad warning: Channel coupling not yet implemented
faad warning: Invalid number of channels
faad warning: Bitstream value not allowed by specification
faad warning: PCE shall be the first element in a frame
faad warning: Unexpected channel configuration change
faad warning: Channel coupling not yet implemented
faad warning: Bitstream value not allowed by specification
faad warning: Channel coupling not yet implemented
faad warning: Unexpected channel configuration change
faad warning: Bitstream value not allowed by specification
faad warning: Unexpected channel configuration change
faad warning: Invalid number of channels
faad warning: Bitstream value not allowed by specification
faad warning: Unexpected channel configuration change
faad warning: Bitstream value not allowed by specification
faad warning: Unexpected channel configuration change
faad warning: Unexpected fill element with SBR data
faad warning: Maximum number of bitstream elements exceeded
faad warning: PCE shall be the first element in a frame
faad warning: Channel coupling not yet implemented
faad warning: Unexpected channel configuration change
faad warning: Invalid number of channels
faad warning: Channel coupling not yet implemented
faad warning: Invalid number of channels
faad warning: Maximum number of bitstream elements exceeded
faad warning: Invalid number of channels
faad warning: Channel coupling not yet implemented
faad warning: Channel coupling not yet implemented
faad warning: Invalid number of channels
faad warning: Bitstream value not allowed by specification
faad warning: Channel coupling not yet implemented
faad warning: Unexpected channel configuration change
faad warning: PCE shall be the first element in a frame
faad warning: Bitstream value not allowed by specification
faad warning: Bitstream value not allowed by specification
faad warning: Unexpected channel configuration change
faad warning: Channel coupling not yet implemented
faad warning: Bitstream value not allowed by specification
faad warning: Invalid number of channels
faad warning: Channel coupling not yet implemented
faad warning: Gain control not yet implemented
faad warning: Invalid number of channels
faad warning: Bitstream value not allowed by specification
faad warning: Unexpected channel configuration change

I have tested the exact same media files kid and key using mp4decrypt running it as an spawned process and the output plays correctly it is only when using this modual i run into issues but there are no error messages or anything provided for failed decryption or anything so its really hard to tell what the issue is

More bento4?

Hi

Is there scope for adding additional bento4 utilities to this package? namely mp4split and mp4pssh

update to use the latest bento4

Hi could this be updated to use the latest bento4 ?

i have tried using it but i get the following errors

WARNING: atom serialized to fewer bytes than declared size
WARNING: padding would be too large

i have checked using mp4 decrypt its self and it works so i assume its because this is using an older version

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.