FidelityFX-CLI: Command line tool that processes image files using the FidelityFX Super Resolution (FSR) shader system

1 : Anonymous2021/08/17 18:30 ID: p69dj1
FidelityFX-CLI: Command line tool that processes image files using the FidelityFX Super Resolution (FSR) shader system
2 : Anonymous2021/08/17 21:16 ID: h9c3qmk


some more tools for you 😉

ID: h9cdqlf

Now we just need Gamers Nexus to say which one they use..

ID: h9dqqvz

Didn’t they comment under the Philips video, saying they use waifu2x?

ID: h9dvvsh
ID: h9fo657


3 : Anonymous2021/08/17 23:11 ID: h9cinht

All these projects spinning off so quickly from making FSR open source just make me real happy. It's beautiful to see.

ID: h9dcx6n

Open Source is wonderful.

ID: h9dnu18

spinning off

This is official AMD software. Made by an AMD engineer and posted on an official GPUOpen account.

4 : Anonymous2021/08/17 18:40 ID: h9bhcgu

You can use this tool to resize your own pictures with the FSR algorithm. This way you can see how FSR would look in any game without having this game actually implement FSR.

Page with the download links:

Look for the file named similar to ""

Usage: FidelityFX_CLI.exe -Scale 1920 1080 "Input_720p.png" "Output_1080p.png" Modify -Scale 1920 1080 to configure the desired resolution of the output image Replace "Input_720p.png" with the name of the image file you want to apply FSR to Replace "Output_1080p.png" with the name of the file which will be created by the tool
ID: h9bk7bn

Important to note the mode(s) as well:

-Mode Modes from FSR package: EASU - Edge Adaptive Spatial Upsampling (default) aliases: FSR, FSR1 RCAS - Robust Contrast Adaptive Sharpening (doesn't support Scale) Modes from CAS package: CAS - Contrast Adaptive Sharpening Modes from Windows Imaging Component (WICBitmapInterpolationMode): NearestNeighbor, Linear, Cubic, HighQualityCubic, Fant -Sharpness -Mode CAS: range from 0.0 (default) to 1.0 (maximum extra sharpness) -Mode RCAS: range from 0.0 (maximum sharpness) to number of stops (halving) of the reduction of sharpness
ID: h9c80ee

Since it's working with 8 bit RGB channels, it's not remotely usable as a comparison. In-engine, it's working with 32 bit, or 64 bit colour data, unless the devs are exceptionally inept.

Edit: 8 bit RGB channels, not pictures

ID: h9bxhbx

Is there a way to find out how the algo works with sort of an ELI5 method of explaination?

ID: h9c8ku5

The main github?


" class="reddit-press-link" target="_blank" rel="noopener">

Actual code with lots of comments:

-fs_fsr1.h" class="reddit-press-link" target="_blank" rel="noopener">

5 : Anonymous2021/08/17 21:30 ID: h9c5nca

upscaling 360p old... research videos is becoming more of a reality with every passing day. I am glad

ID: h9ccyis

There is lots of technology to do this already. Look at TopazLabs software such as Video Enhance AI and GigaPixel AI, it works incredibly well but even with high end hardware takes a long time.

There is also software called MadVR which does video in real-time using something similar to FSR. Combine the AI upscaling (NGU they call it) with some artifact removal and sharpening and it can make old stuff look cleaner.

ID: h9dd70z

I wish we had competitors to TopazLabs. They do great work but unfortunately all their software is proprietary and I dont like their licensing system. They also don't even let you use their software in a virtual machine.

ID: h9cqjo5

Note that there is other software which does this much, much better. Just not in real time

ID: h9dd6zh

Which ones?

ID: h9c8xe0

The future sure is bright!

ID: h9dqkyx

Bruh what 360p porn is still worth watching

6 : Anonymous2021/08/17 19:45 ID: h9bqj1q

Some more information in the GPUOpen post written by the author of FidelityFX-CLI here:

7 : Anonymous2021/08/17 22:26 ID: h9cd1l3

This is a great idea! Not sure if OP is the author, but It'd be cool to have some examples and comparisons in the README 🙂

8 : Anonymous2021/08/17 22:06 ID: h9caedy

How would this compare to something like Waifu2x for upscaling?

ID: h9chla0

It's a lot worse than waifu2x for anime, and waifu2x is also a lot more computationally intensive. For games and live action footage it may look better, but only because waifu2x haven't been designed for that, so you should compare it against RealSR for example.

However, the main advantage of FSR is that it can run in real time, so a much better comparison would be against madVR's NGU and against FSRCNNX primarily, because those are probably the best algorithms for upscaling videos in real time.

ID: h9cazu0

Waifu2x is only for anime/manga and it can't be done in real time.

9 : Anonymous2021/08/17 20:27 ID: h9bwpv6

Holy cow it works so well on areas with detail damn

10 : Anonymous2021/08/17 23:44 ID: h9cmnau

Will this run under proton?

ID: h9d1ev3

It seems to work fine with vanilla wine64: (wine64 FidelityFX_CLI.exe ARGUMENTS), at least it managed to upscale a picture so I assume it's working correctly (I didn't exhaustively test all of the options it has).

ID: h9dmts4

Damn. CMake got my hopes up. Requires MSVC 🙁

11 : Anonymous2021/08/18 05:53 ID: h9dp805

Could anyone show some results of this?

12 : Anonymous2021/08/17 21:05 ID: h9c271k

Interesting tool, though motion as a factor being removed doesn't represent FSR completely.

ID: h9c5a0d

I believe FSR works on a per frame basis so unless there’s some trash AA it shouldn’t make a difference

ID: h9c5qek

I mean, one's capacity to see quality issues at 60fps+.

ID: h9c8g3v

Fsr doesn't produce motion artifacts

ID: h9c8yvg

I'm comparing a human's perception of a static image to 60fps+ video. But, good to know.

13 : Anonymous2021/08/17 21:05 ID: h9c24sj

I wonder what Adobe thinks of all that.

ID: h9c43ei

Interesting thought. I wonder why I couldn't export every frame of a video shot in old 720 or 1080 and process it through fsr and the reassemble it on an editing timeline.

ID: h9cmmzd

This is literally how film conversions are done. All the frames are photographed at high res and shot in RAW then stored in uncompressed TIFF or similar files. Editing magic happens per frame, then your editing software combines it all for you

ID: h9dvd82

You absolutely can, I did that with Waifu2x a lot of times, but I would prefer if someone could make a GLSL shader you can apply to the video directly through a video editing software. After all, having to spend time extracting the frames, upscaling and encoding them into a video kinda defeats the purpose of FSR being such a fast upscaler.

14 : Anonymous2021/08/18 09:58 ID: h9e5crf

Interesting. Could this be used for a FFmpeg filter to upscale videos?


Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x