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

Allow Specifying RAPs #1097

Open
dwbuiten opened this issue Mar 12, 2019 · 1 comment
Open

Allow Specifying RAPs #1097

dwbuiten opened this issue Mar 12, 2019 · 1 comment

Comments

@dwbuiten
Copy link
Collaborator

dwbuiten commented Mar 12, 2019

Not sure if this belongs here, on the crav1e repo, or both.

We need a way to specify whether or not a given frame passed into rav1e (via API) will be encode as a RAP or switch point (be it a keyframe, S-frame, or whatever).

This is useful because we want, for example, the encoder to place these sorts of frames whre it sees fit (at scene changes, where it makes sense cost-wise), but also at specified intervals as well, or at chunk boundaries, etc.

For some reason crav1e doesn't have a struct for frame properties, but instead has getter/setter functions, so I supposed it would have to be something like:

void rav1e_frame_set_type(RaFrame *frame, RaFrameType type);
@lu-zero
Copy link
Collaborator

lu-zero commented Mar 12, 2019

On this side to have the feature, on crav1e to have it exposed.

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

No branches or pull requests

2 participants