ubuntuegor / mp4decrypt-buffer Goto Github PK
View Code? Open in Web Editor NEWNative NodeJS module to decrypt media in-memory
License: GNU General Public License v2.0
Native NodeJS module to decrypt media in-memory
License: GNU General Public License v2.0
add_subdirectory given source "Bento4" which is not an existing directory.
i got this error when trying to install
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
Hi
Is there scope for adding additional bento4 utilities to this package? namely mp4split
and mp4pssh
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.