Player: allow setting mpv vf property for RTX Auto HDR / VSR support#43
Open
Aztup wants to merge 1 commit intoStremio:mainfrom
Open
Player: allow setting mpv vf property for RTX Auto HDR / VSR support#43Aztup wants to merge 1 commit intoStremio:mainfrom
Aztup wants to merge 1 commit intoStremio:mainfrom
Conversation
Member
|
Ok but needs update in libmpv first |
Author
|
Yea I didn't ship it with this pr because that might be considered unsafe |
Member
We are going to upgrade it soon and then merge your pr |
kKaskak
approved these changes
May 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Expose
vfproperty over IPCThis PR adds backend support for updating
vf(mpv's video filter chain) from the frontend — enabling things like NVIDIA RTX Auto HDR and RTX VSR (Video Super Resolution) once the corresponding toggles land instremio-web.Concretely: adds
Vfto theStrPropallowlist instremio_player::communicationso the web UI can send["mpv-set-prop", ["vf", "..."]]through the existing IPC path. No behavior changes by default.Example
Once this lands, the web UI can wire up RTX Auto HDR and RTX VSR toggles by sending the matching
mpv-set-propmessages. For example, to enable both at once:Or just RTX VSR (upscaling only, no HDR conversion):
Toggling off:
hwdecandvowere already on the allowlist;vfwas the missing piece. The existingvospecial-case inplayer.rsalready auto-appendsgpu-next(whichd3d11vpprequires), so the web UI doesn't need to manage that.Note: updating the bundled libmpv is required. The current bundle (
v0.40.0-465) produces purple frames when thed3d11vppfilter is engaged in embedded mode; this is fixed in mpvv0.41+.AI was used to assist with this change (research, debugging, and drafting).