ONdraid / reve

Real-ESRGAN video upscaler with resumability.
https://github.com/xinntao/Real-ESRGAN
GNU General Public License v3.0
24 stars 7 forks source link
anime cartoon upscaling video

Real-ESRGAN Video Enhance

[![download](https://img.shields.io/github/downloads/ONdraid/reve/total)](https://github.com/ONdraid/reve/releases) [![support](https://img.shields.io/badge/Support-Windows%20x64-blue?logo=Windows)](https://support.microsoft.com/en-us/windows/32-bit-and-64-bit-windows-frequently-asked-questions-c6ca9541-8dce-4d48-0415-94a3faa2e13d) [![license](https://img.shields.io/github/license/ONdraid/reve.svg)](https://github.com/ONdraid/reve/blob/main/LICENSE)
REVE (Real-ESRGAN Video Enhance) is a small, fast application written in Rust that is used for upscaling animated video content. It utilizes [Real-ESRGAN-ncnn-vulkan](https://github.com/xinntao/Real-ESRGAN-ncnn-vulkan), [FFmpeg](https://ffmpeg.org/about.html) and [MediaInfo](https://mediaarea.net/en/MediaInfo) under the hood. REVE employs a segment-based approach to video upscaling, allowing it to simultaneously upscale and encode videos. This results in a notable enhancement in performance and enables the feature of resumability.

⚡ Quick Usage

Portable executable file (REVE)

You can download Windows executable file for Intel/AMD/Nvidia GPU.

This executable file is portable and includes all the binaries and models required. No CUDA or PyTorch environment is needed.

You can simply run the following command:

./reve.exe -i onepiece_demo.mp4 -s 2 output.mp4

Currently only provided model:

  1. realesr-animevideov3 (animation video)

Usage of portable executable file

USAGE:
    reve.exe [OPTIONS] --inputpath <INPUTPATH> --scale <SCALE> <OUTPUTPATH>

ARGS:
    <OUTPUTPATH>    output video path (mp4/mkv)

OPTIONS:
    -c, --crf <CRF>                    video constant rate factor (crf: 51-0) [default: 15]
    -h, --help                         Print help information
    -i, --inputpath <INPUTPATH>        input video path (mp4/mkv)
    -p, --preset <PRESET>              video encoding preset [default: slow]
    -P, --segmentsize <SEGMENTSIZE>    segment size (in frames) [default: 1000]
    -s, --scale <SCALE>                upscale ratio (2, 3, 4)
    -x, --x265params <X265PARAMS>      x265 encoding parameters [default:
                                       psy-rd=2:aq-strength=1:deblock=0,0:bframes=8]