Skip to content

Whether the video frame has reserved bytes ? #673

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

Closed
yangfangfang1204 opened this issue May 15, 2023 · 1 comment
Closed

Whether the video frame has reserved bytes ? #673

yangfangfang1204 opened this issue May 15, 2023 · 1 comment

Comments

@yangfangfang1204
Copy link

whether the webcodecs has reserved byes in input encodedVideoChunk ?
decode: Input the crop information of one video frame and transparently transmit the crop information in output .
such as:
(1) input:
const chunk = new EncodedVideoChunk({ data, timestamp, type, reserve:8, // reserved bytes that we could transmit to output. })
decodeobj.decode(chunk);
(2) output
output(frame){
let timestamp = frame.timestamp;
let cropwidth = frame.reserver;
}

@padenot
Copy link
Collaborator

padenot commented May 15, 2023

This is a duplicate of #189. There is no way to do this right now, but it's not the first time this has been asked for.

@padenot padenot closed this as completed May 15, 2023
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