Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to process the raw stream of h265 and then convert it to binary jpeg #78

Open
USTCtuoluo opened this issue Sep 29, 2021 · 1 comment

Comments

@USTCtuoluo
Copy link

let packet = beamcoder.packet({ data: Buffer.from(message.data) });
let decoder = beamcoder.decoder({ name: 'hevc', width: 1920, height: 1080,codec_type: 'video' });

decode cannot be compiled

@Bahlinc-Dev
Copy link

Check the error output. Add beamcoder.logging('debug') after import. See what it says, my guess is you are not passing clean h265 to the decoder. Also, if you are creating a packet from scratch you have to set the pts, dts, duration, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants