Lossless Scaling

Lossless Scaling

StriK3FoRC3 Jun 2, 2024 @ 4:31am
Fun Fact: it works on videos!
You can use frame generation and upscaling on videos in your browser, as well as with other apps like VLC media player.

Thank you @(ノ°□°)ノ for creating this tool, love it :steamthis:

Edit: If you get a black screen when you start the upscaling, disable hardware acceleration in your browser. This happens because most streaming services have DRM protection.

Edit2: It does not work with Netflix and other streaming apps downloaded from the Microsoft Store due to DRM restrictions that cannot be bypassed, unlike in the browser.

Edit 3: Another Fun Fact: If you have a 21:9 monitor and encounter a video in "Fake 21:9" (black bars on all sides), you can set the scaling mode to custom and the scale factor to 1.333 (with "Resize before scaling" set to off) to achieve true 21:9. Additionally, experimenting with the scaling type can give you an even better picture compared to some browser add-ons that zoom in on the video.

This tool is a game changer, not just for playing games but also for watching videos. Thank you so much for this!
Last edited by StriK3FoRC3; Jun 2, 2024 @ 6:29am
< >
Showing 1-15 of 35 comments
FidRay16 Jun 2, 2024 @ 4:45am 
Does it work with all players or only with some of the supported ones? I wanna try anime in a browser
Last edited by FidRay16; Jun 2, 2024 @ 4:47am
StriK3FoRC3 Jun 2, 2024 @ 4:52am 
Originally posted by FidRay16:
Does it works with all players or only some of supported? I wanna try anime on browser
It should work with anything. To test it, enable the frame counter in LSFG. When it shows 40-60fps (most animes are made with about 25fps), it's working. Make sure to play in fullscreen without the video HUD showing; otherwise, it will upscale it with the refresh rate of your monitor.
Last edited by StriK3FoRC3; Jun 2, 2024 @ 4:53am
It's a Mind Game Jun 2, 2024 @ 6:03am 
Originally posted by FidRay16:
Does it work with all players or only with some of the supported ones? I wanna try anime in a browser
I have done some testing, and:
  • SMPlayer (with mpv backend) - framegen works without issues, upscaling seems to be doing nothing
  • VLC - same as above
  • Firefox (Youtube) - upscaling works. Framegen is really wild - with it set to off, it says on some content that it is 25 FPS (probably 23.9 in reality), however it seems to be attempting to frame gen up to my display max refresh rate (120), but it just can't achieve it. Looks really smooth at around 100 FPS, however, my RTX4090 is calling for ambulance. :steamhappy: This happens with both 2.0 and 1.1 versions.

    I've done some more testing and in general it seems that Firefox/Youtube is simply reporting inconsistiently how many FPS it is showing. Sometimes it will be 24 and other times 48 for the same video, which frame gen then doubles. Moving cursor around makes FPS go wild, but it was weird before even when not touching anything. I have done those recent tests with VRR disabled and my soundbar disconnected (from HDMI port). Will try reenabling VRR and see if it changes anything.
    Re-enabling VRR messed it up again, even when not moving cursor, so I would say that it pretty much confirms that VRR and Webbrowser frame gen don't like each other. But it does generating frames, possibly with bigger performance hit tho.

    Upscaling actually doesn't work, it only looked better thanks to frame gen.

I might do some extra testing later, because it is possible that my "second monitor" (soundbar connected via HDMI) is causing some issues.
Either way, I think it is worth it, if just for the upscaling part.

I also have VRR enabled, and this could potentially be source of some of those problems, since it seems like VRR support is deprecated for now. Might disable it later and retest.
Last edited by It's a Mind Game; Jun 2, 2024 @ 8:50am
FidRay16 Jun 2, 2024 @ 7:13am 
Originally posted by StriK3FoRC3:
Make sure to play in fullscreen without the video HUD showing
Thx for ur advice
FidRay16 Jun 2, 2024 @ 7:16am 
Originally posted by It's a Mind Game:
I also have VRR enabled, and this could potentially be source of some of those problems, since it seems like VRR support is deprecated for now. Might disable it later and retest.
I hope this won't be a problem for me. I also have a monitor with VRR
StriK3FoRC3 Jun 2, 2024 @ 7:31am 
Originally posted by FidRay16:
Originally posted by It's a Mind Game:
I also have VRR enabled, and this could potentially be source of some of those problems, since it seems like VRR support is deprecated for now. Might disable it later and retest.
I hope this won't be a problem for me. I also have a monitor with VRR

Just disable VRR. I also have a monitor with VRR, but I can't notice any difference with it enabled or disabled, so I turned it off. If you get screen tearing, use RTSS to cap your FPS manually.
FidRay16 Jun 2, 2024 @ 8:47am 
Originally posted by It's a Mind Game:
Originally posted by FidRay16:
Does it work with all players or only with some of the supported ones? I wanna try anime in a browser
I have done some testing, and:
  • SMPlayer (with mpv backend) - framegen works without issues, upscaling seems to be doing nothing
  • VLC - same as above
  • Firefox (Youtube) - upscaling works. Framegen is really wild - with it set to off, it says on some content that it is 25 FPS (probably 23.9 in reality), however it seems to be attempting to frame gen up to my display max refresh rate (120), but it just can't achieve it. Looks really smooth at around 100 FPS, however, my RTX4090 is calling for ambulance. :steamhappy: This happens with both 2.0 and 1.1 versions.

I might do some extra testing later, because it is possible that my "second monitor" (soundbar connected via HDMI) is causing some issues.
Either way, I think it is worth it, if just for the upscaling part.

I also have VRR enabled, and this could potentially be source of some of those problems, since it seems like VRR support is deprecated for now. Might disable it later and retest.
Idk why but upscaling doesn't work at all. Nor in vlc (mpv or potplayer), nor in chrome. But fg works everywhere
https://imgur.com/a/qAnCUak
It's a Mind Game Jun 2, 2024 @ 8:52am 
Originally posted by FidRay16:
Idk why but upscaling doesn't work at all. Nor in vlc (mpv or potplayer), nor in chrome. But fg works everywhere
https://imgur.com/a/qAnCUak
Yeah, I have retested in Firefox and it sadly doesn't upscale. Video just looked better to me thanks to the frame gen. Hopefully they fix it, tho thankfully at least 1080p content looks good if it is anime.

Just FYI for me in Firefox, having VRR enabled messes up FG a bit, like I don't have stable FPS, but it works otherwise. No issues in normal video players tho.
Last edited by It's a Mind Game; Jun 2, 2024 @ 8:53am
FidRay16 Jun 2, 2024 @ 9:01am 
Originally posted by It's a Mind Game:
Yeah, I have retested in Firefox and it sadly doesn't upscale. Video just looked better to me thanks to the frame gen. Hopefully they fix it, tho thankfully at least 1080p content looks good if it is anime.

Just FYI for me in Firefox, having VRR enabled messes up FG a bit, like I don't have stable FPS, but it works otherwise. No issues in normal video players tho.
Do u mean upscale worked for u some time ago, but doesn't work now? Or u didn't test it out earlier and just tested it?
I just tried fg with and without VRR and i have no difference. Both of them looks smooth, but without VRR fps counter (that implemented in LS app) is glitchy af while with VRR its stable at 48 (or 120 if i try YT video)
P.S. Srry, maybe it's hard to understand me because of my bad English :)
It's a Mind Game Jun 2, 2024 @ 9:06am 
Originally posted by FidRay16:
Do u mean upscale worked for u some time ago, but doesn't work now?
I'm pretty sure it didn't work for me, just placebo effect or sth. It was AMV made from content that had different resolutions/quality and maybe that made me think it was upscaled, because some parts looked really good. But it definitely makes no change in quality when I enable/disable this tool.
FidRay16 Jun 2, 2024 @ 9:10am 
Originally posted by It's a Mind Game:
Originally posted by FidRay16:
Do u mean upscale worked for u some time ago, but doesn't work now?
I'm pretty sure it didn't work for me, just placebo effect or sth. It was AMV made from content that had different resolutions/quality and maybe that made me think it was upscaled, because some parts looked really good. But it definitely makes no change in quality when I enable/disable this tool.
Got it. This is sad.
Tested mkv (instead of mp4) in vlc. Doesn't work either
https://imgur.com/a/dMywsv6
Tried Scaling Mode Auto and x3. No diff
FidRay16 Jun 2, 2024 @ 9:15am 
Originally posted by StriK3FoRC3:
Originally posted by FidRay16:
Does it works with all players or only some of supported? I wanna try anime on browser
It should work with anything. To test it, enable the frame counter in LSFG. When it shows 40-60fps (most animes are made with about 25fps), it's working. Make sure to play in fullscreen without the video HUD showing; otherwise, it will upscale it with the refresh rate of your monitor.
Can u please take a scrn of ur setting in LS app. For me upscaler doesn't work at all. I tested VLC, MPV and PotPlayer with mp4 and mkv videos and no one of them worked.
My settings:
https://imgur.com/a/T7PXMo6
It's a Mind Game Jun 2, 2024 @ 9:26am 
I think he just confused upscaling with FG, since refresh rate of monitor has nothing to do with upscaling. Or at least it shouldn't for a video like that, in games it can have an effect if upscaling is using temporal method (most do), and your monitor refresh rate is capping your FPS, since then it has less frames to work with.

Anyway, I also attempted to use just CLI version of MPV, so no GUI besides OSD, then left it windowed and let LS to upscale it - it only stretched it. Looks the same as if I just toggled fullscreen mode in MPV. So my idea that maybe it sees fullscreen video as 4K already and does nothing - didn't work out. :steamsad:
FidRay16 Jun 2, 2024 @ 9:40am 
Originally posted by It's a Mind Game:
I think he just confused upscaling with FG, since refresh rate of monitor has nothing to do with upscaling. Or at least it shouldn't for a video like that, in games it can have an effect if upscaling is using temporal method (most do), and your monitor refresh rate is capping your FPS, since then it has less frames to work with.

Anyway, I also attempted to use just CLI version of MPV, so no GUI besides OSD, then left it windowed and let LS to upscale it - it only stretched it. Looks the same as if I just toggled fullscreen mode in MPV. So my idea that maybe it sees fullscreen video as 4K already and does nothing - didn't work out. :steamsad:
Maybe.
I think with videos only works FG. With games works both upscale and FG. I going to try upscale in some game to test, maybe upscale dosn't work at all...
P.S. Tried it on CP2077 and its works. Upscale and FG
Last edited by FidRay16; Jun 2, 2024 @ 9:54am
StriK3FoRC3 Jun 2, 2024 @ 9:41am 
Originally posted by FidRay16:
Originally posted by StriK3FoRC3:
It should work with anything. To test it, enable the frame counter in LSFG. When it shows 40-60fps (most animes are made with about 25fps), it's working. Make sure to play in fullscreen without the video HUD showing; otherwise, it will upscale it with the refresh rate of your monitor.
Can u please take a scrn of ur setting in LS app. For me upscaler doesn't work at all. I tested VLC, MPV and PotPlayer with mp4 and mkv videos and no one of them worked.
My settings:
https://imgur.com/a/T7PXMo6

also upscaling works for me in vlc and browser https://i.ibb.co/6PDttth/Screenshot-2024-06-02-184456.png
anime is already in 1080p and i upscale to 1440p, to see if it does anything set your "scale Factor" to 10 and see if it gets worse, if it does that means it does upscale it.

click on the "status" thingy in the bottom left corner to see from what resolution it upscales to 1080p or whatever your monitors resolution is
Last edited by StriK3FoRC3; Jun 2, 2024 @ 9:46am
< >
Showing 1-15 of 35 comments
Per page: 1530 50

Date Posted: Jun 2, 2024 @ 4:31am
Posts: 35