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

Sparse intra only decode #991

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Tjoppen
Copy link
Contributor

@Tjoppen Tjoppen commented Jun 4, 2024

This fixes #986. It also brings the handling of rational numbers more in line with how ffmpeg does things, avoiding the use of floating point timestamp calculations.

With this change, if the output fps is lower than the source fps and the source is intra-only, then only packets that are actually necessary to decode are sent to the decoder. Frame threading is still done as before. This is most dramatic when decoding expensive formats like JPEG2000. If the output fps is the same or higher than the source fps then the behavior is as before.

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