ReadonlyavailableWhether the upscaler works now; false with UpscalingState.reason.
ReadonlyreasonWhy it does not work now; null while it does.
ReadonlyenabledThis plugin asked for upscaling (VideoUpscaling.set) and has not turned it off.
ReadonlyrequestedThe player has the upscaler in the video filter chain now, for this plugin or another one: upscaling is enabled and available and the video is shown larger than its own size. Not a sign that the GPU upscales (see the remarks).
ReadonlyfactorThe scale factor the upscaler was asked for (the area the video is
shown in over the video's size, in hundredths, above 1); null while
nothing is requested.
Optional ReadonlyvideoThe video's size as the upscaler gets it; null while no video
decodes. With UpscalingState.area it explains the factor.
Absent from players before 0.5.25.
Optional ReadonlyareaThe area the video is shown in, in pixels (the upscaler scales the
video to fit it); null while the player shows no video area. Absent
from players before 0.5.25.
Readonlywidth: numberWidth in physical pixels.
Readonlyheight: numberHeight in physical pixels.
Optional ReadonlygpuThe name of the GPU that renders, for example NVIDIA GeForce RTX 4070 Laptop GPU; null in software rendering and where the player does not
know it (macOS, Linux). Absent from players before 0.5.25.
Optional ReadonlyhwdecThe hardware decoder in use for this video, as mpv names it (d3d11va,
d3d11va-copy; no for software decoding); null while no video
decodes. For people and logs: branch on UpscalingReason.cause.
Absent from players before 0.5.25.
Optional ReadonlyinThe upscaler is in the player's video filter chain now, read from the
chain itself (requested is what the player asked for; they differ
only for a moment, while the chain changes). Still not a sign that the
GPU upscales: the driver gives none (see the remarks). Absent from
players before 0.5.25.
What VideoUpscaling.state and VideoUpscaling.set report: whether the upscaler works now and why not, whether this plugin turned it on, and whether the player asked the GPU to upscale.
Remarks
requestedis as far as the player can see. The player puts the upscaler last in the video filter chain, scaling the video to the area it is shown in; the driver gives no sign that it upscales. On Windows the user must also turn on Super Resolution in the NVIDIA app (System ▸ Video ▸ RTX Video Enhancement), which no program can read: say so next to the switch.Example: Label the item with what happens now
The plugin's menu item says whether upscaling is on and whether the video is being upscaled.
enabledis this plugin's own request;requestedis true while the player has the upscaler in the filter chain, which needs a video shown larger than its own size (factorabove 1).Player
0.5.16
Since
1.5.37