Git Product home page Git Product logo

realesrganupscalergui's Introduction

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.

realesrganupscalergui's People

Contributors

petejobi avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

pinkuburu dxfb

realesrganupscalergui's Issues

wtf is this crap ?

it shows only image extension and you said it can do video too but nah and even i try png image its a shit crap do nothing

1x option a possibility?

Thanks for putting this together. Works like a charm. Any way you could add a 1x option to the upscaling choices so I could run the AI to 4K sources without upscaling?

mp4 video

Hello! The program does not select MP4 videos, only photos are available.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.