Skip to content

This repo provides a simple GUI for upscaling images and videos, based on Real-ESRGAN ncnn Vulkan, with features for pausing/canceling and performing bulk upscale operations on multiple files or folder contents.

Notifications You must be signed in to change notification settings

PeteJobi/RealEsrganUpscalerGUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Real-ESRGAN Upscaler GUI

This repo provides a simple GUI for upscaling images and videos, based on Real-ESRGAN ncnn Vulkan, with features for pausing/canceling and performing bulk upscale operations on multiple files or folder contents. Only supports Windows 10 and 11 (not tested on other versions of Windows).

image image

How to build

You need to have at least .NET 6 runtime installed to build the software. Download the latest runtime here. If you're not sure which one to download, try .NET 6.0 Version 6.0.16

In the project folder, run the below

dotnet publish -p:PublishSingleFile=true -r win-x64 -c Release --self-contained false

When that completes, go to \bin\Release\net<version>-windows\win-x64\publish and you'll find the Upscaler.exe amongst other files. All the files are necessary for the software to run properly. Run Upscaler.exe to use the software.

Run without building

You can also just download the release builds if you don't wish to build manually. The assets release contains the assets used by the software. The standard release contains the compiled executable. Download them both, extract the assets to a folder and drop the executable in that folder.

If you wish to run the software without installing the required .NET runtime, download the self-contained release.

How to use

The file types supported are ".mkv", ".mp4", ".jpg", ".jpeg" and ".png". The software decides automatically if the file to be upscaled is an image or a video.

Two options are available depending on the type of media you want to upscale. Use Animation for anime or cartoon or anything painted. Use Realistic for everything else.

You can decide the upscale quality to use. X2 means the image/video will be upscaled to twice its resolution and X4 means 4 times its original resolution. For animation videos, the higher the quality, the longer it will take to complete. Note that for realistic videos, as well as images of both types, a X4 scale is always used, and the image/video is downscaled to the resolution corresponding to the selected upscale quality. This means X2 takes the same amount of time and resources as X4 in those cases. Only animation videos truly have the 3 different levels of upscale quality.

When you're done with the parameters, click Select files to select multiple files to be upscaled or Select folder to upscale every image and video in that folder. You can also drag and drop files into the window.

NOTE: Depending on your GPU and CPU, upscaling large videos can take very long. Video upscaling progress can be saved to be resumed after closing the app. If your PC shuts down while you're upscaling a very large video, worry not. The process will continue where you left of if you try to upscale the video again. Just be sure to not delete the generated files. Also note: The framerate that upscaled videos are encoded in is reported in the video header. A video may report a wrong frame rate and if this happens, the audio may be out of sync with the upscaled video. Most videos are 24 FPS, and so a checkbox has been provided to enforce that regardless of what the video header reports. Try it again with this box checked and the it might fix the sync issue.

About

This repo provides a simple GUI for upscaling images and videos, based on Real-ESRGAN ncnn Vulkan, with features for pausing/canceling and performing bulk upscale operations on multiple files or folder contents.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages