Skip to content

reav-ui - Upscale videos using R-ESRGAN

Notifications You must be signed in to change notification settings

Nenotriple/R-ESRGAN-AnimeVideo-UI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

96 Commits
 
 
 
 
 
 

Repository files navigation

  app_cover

R-ESRGAN-AnimeVideo-UI (reav-ui)

Upscale your videos using R-ESRGAN

  app_sample

📝 Usage

  • Run the portable executable file or the R-ESRGAN-AnimeVideo-UI.pyw script to launch the UI.
  • Select a video file that you want to upscale.
  • Follow the steps labeled in the UI.

Note: The Upscale and Merge operations delete the previous frames by default. If you want to keep the frames, make sure to enable the Keep Frames option.

After Extracting or Upscaling, you have the option to scale the frames to any size, either by percent or exact resolution.

mp4, gif, avi, mkv, webm, mov, m4v, wmv, are supported.

  • Other Uses:
    • Batch Upscale a folder of images.
    • Upscale a single image.
    • You can also use these models for upscaling: RealESRGAN_General_x4_3, realesrgan-x4plus, realesrgan-x4plus-anime
    • Output any video as a gif, and/or output gif as mp4.

🤷 Why?

Why use this over an application like Chainner, or Topaz Video AI?

While both applications are undoubtedly more than capable, (among others, I'm sure) I found xinntao's implementation is extremely fast compared to Chainner. And of course free is always better than Topaz Video AI's high cost.

Other upscale models are popular, but realesr-animevideov3 remains a favorite of mine for multiple reasons.

  • It's very fast. Speed Tests⏱️
  • While it does have somewhat heavy smoothing, it doesn't totally destroy fine details like grain.
  • In my opinion, it has superb line reconstruction compared to others like RealESRGAN_x4plus_anime_6B

Check out these comparisons.✨

🚩 Requirements

Tip

You don't need to worry about these requirements if you're using the portable/executable version.

You must have Python 3.10+ installed to the system PATH

You will need Pillow.

To install Pillow: pip install pillow

ffmpeg.exe and ffprobe.exe needs to be in the bin folder. (v6.0+)

realesrgan-ncnn-vulkan-20220424-windows.zip must be extracted to the bin folder. Download

📜 Version History

v1.18 changes:

  • Fixed:

    • Fixed issue with downloading file requirements. The executable version is now bundled with all the needed resources.
    • Fix output folder selection in Batch Upscale function not working.
    • Fix "Skip Upscale" checkbutton permanently disabling the "Keep upscaled frames" checkbutton.
      • Also fixed button alignment.
    • Fixed "Batch Resize Images" error when attempting to resize a folder of images containing non-image files.
      • "Batch Resize Images" now saves resized images to a new "output" folder.
  • Other changes:

    • (script) Pillow is no longer automatically installed on startup.

👥 Credits

ffmpeg-6.0-essentials: https://ffmpeg.org/

Real-ESRGAN_portable: https://github.com/xinntao/Real-ESRGAN#portable-executable-files-ncnn

I highly appreciate any contributions, thank you!