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

Implement post-processing levels for VideoStreamPlayer and Theora #102410

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

berarma
Copy link
Contributor

@berarma berarma commented Feb 4, 2025

This is based on #102360 and #101958. I could have based this on master but I prefer to keep the order of the PRs. Otherwise, it would break my other PRs and it wouldn't be very useful by itself anyway. Each PR has its own commit with the commit message matching the PR title to avoid confusion.

This is part of a request for comments in godotengine/godot-proposals#11699 that I'm opening for this feature.

I'm adding a pp_level property to VideoStreamPlayer so that we can set a maximum preferred post-processing level from 0 (disabled) to 255 (max). The real max value used will depend on the codec implementation used. Since the requested value is a maximum, the codec will be able to choose.

I've also enabled post-processing in VideoStreamTheora. VideoStreamTheora will dinamically change the pp level depending on how much time is spent decoding frames between 0 and pp_level.

This property should be useful for other codecs added as plugins.

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

Successfully merging this pull request may close these issues.

2 participants