Skip to content

Conversation

shssoichiro
Copy link
Collaborator

Currently rav1e (assuming no low latency mode) will always code a mini-GOP with 4 input frames with a constant pyramid structure. This changeset adds support to rav1e for variable width and depth frame pyramids, whose size is selected based on frame heuristics; i.e. segments with less motion may have both wider and taller pyramids without losing quality, segments with more motion must have shallower pyramids to preserve quality.

Currently the framework for this changeset is setup, but I have been stuck for some time on figuring out the proper way to code the reference frame values, see src/encoder.rs:1040-1080. Any amount of help on this from rav1e knowers would be appreciated.

The ref frame code that has slot_idx math I don't understand
is at src/encoder.rs:1040-1080
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

Successfully merging this pull request may close these issues.

1 participant