返回排行榜

TNTwise/REAL-Video-Enhancer

Pythondiscord.gg/mRReVBMQtN

Interpolate, Upscale, Decompress, and Denoise videos easily on Linux/Windows/MacOS.

guiinterpolationlinuxreal-esrganrifeupscalingwindowsmacos
Star 增长趋势
Star
2.2k
Forks
141
周增长
Issues
28
1k2k
2023年10月2024年9月2025年8月2026年7月
制品库PyPIpip install real-video-enhancer
README

REAL Video Enhancer

NOTICE

This project is archived until further notice.

Visitors pypresence

license Version downloads_total Discord Shield

Download on Steam!
Download on Steam

Table of Contents

Introduction

REAL Video Enhancer is a redesigned and enhanced version of the original Rife ESRGAN App for Linux. This program offers convenient access to frame interpolation and upscaling functionalities on Windows, Linux and MacOS, and is an alternative to outdated software like Flowframes or enhancr.

Features:

  • Windows support. !!! NOTICE !!! The bin can be detected as a trojan. This is a false positive caused by pyinstaller.
  • Ubuntu 22.04+ support on Executable and Flatpak. (20.04 can work but is now legacy)
  • MacOS 15+ arm/x86 support
  • Discord RPC support for Discord system package and Discord flatpak.
  • Scene change detection to preserve sharp transitions.
  • Preview that shows latest frame that has been rendered.
  • TensorRT and NCNN for efficient inference across many GPUs.

Hardware/Software Requirements

Minimum Recommended
CPU Dual Core x64 bit Quad Core x64 bit
GPU Vulkan 1.3 capable device Nvidia RTX GPU (20 series and up)
VRAM 4 GB - NCNN 8 GB - TensorRT (Nvidia, why keep making 8gb cards?)
RAM 16 GB 32 GB
Storage 1 GB free - NCNN 16 GB free - TensorRT
Operating System Windows 10/11 64bit / MacOS 14+ Any modern Linux distro (Ubuntu 22.04+)

Models:

Interpolate Models:

Model Author Link
RIFE 4.6,4.7,4.15,4.18,4.22,4.22-lite,4.25 Hzwer Practical-RIFE
GMFSS 98mxr GMFSS_Fortuna
IFRNet ltkong218 IFRnet

Upscale Models:

Model Author Link
4x-SPANkendata Crustaceous D 4x-SPANkendata
4x-Nomos8k-SPAN series Helaman 4x-Nomos8k-SPAN series
2x-OpenProteus SiroSky OpenProteus
2x-AnimeJaNai V2 and V3 Sharp The Database AnimeJanai
2x-AniSD SiroSky AniSD
AnimeSR Tencent ARC AnimeSR

Decompression Models:

Model Author Link
DeH264 Helaman 1xDeH264_realplksr

Denoise Models:

Model Author Link
DRUnet cszn DRUnet
DnCNN czsn DnCNN

Backends

Backend Hardware
TensorRT NVIDIA RTX GPUs
PyTorch CUDA 12.6 and ROCm 6.2 capable GPUs
NCNN Vulkan 1.3 capable GPUs

FAQ

General Application Usage

Question Answer
What does this program attempt to accomplish? Fast, efficient and easily accessable video interpolation (Ex: 24->48FPS) and video upscaling (Ex: 1920->3840)
Why is it failing to recognize installed backends? REAL Video Enhancer uses PIP and portable python for inference, this can sometimes have issues installing. Please attempt reinstalling the app before creating an issue.
Why does it take so long to begin inference? TensorRT uses advanced optimization at the beginning of inference based on your device, this is only done once per resolution of video inputed.
Why does the optimization and inference fail? The most common way an optimization can fail is Limited VRAM There is no fix to this except using CUDA or NCNN instead.
Why am I getting (Insert Error here)? ROCM is buggy, please take a look at ROCm Help.
Why am I getting (Insert Vulkan Error here)? This usually is an OOM (Out Of Memory) error, this can indicate a weak iGPU or very old GPU, I recommeding trying out the Colab Notebook instead.

Cloning:

# Nightly
git clone --recurse-submodules https://github.com/TNTwise/REAL-Video-Enhancer 

# Stable
git clone --recurse-submodules https://github.com/TNTwise/REAL-Video-Enhancer --branch 2.4.1

Building:

3 supported build methods:

- pyinstaller (recommended for Win/Mac)
- cx_freeze (recommended for Linux)
- nuitka (experimental)

supported python versions:

- 3.10 3.11, 3.12

python3 build.py --build BUILD_OPTION --copy_backend

Colab Notebook

Colab Notebook

Credits:

People:

Person For Link
NevermindNilas Some backend and reference code and working with me on many projects https://github.com/NevermindNilas/
Styler00dollar RIFE ncnn models (4.1-4.5, 4.7-4.12-lite), Sudo Shuffle Span, and Scene Detect Models https://github.com/styler00dollar
HolyWu TensorRT engine generation code, inference optimizations, and RIFE jagged lines fixes https://github.com/HolyWu/
Rick Astley Amazing music https://www.youtube.com/watch?v=dQw4w9WgXcQ

Software:

Software Used For Link
FFmpeg Multimedia framework for handling video, audio, and other media files https://ffmpeg.org/
QT GUI framework https://qt.io/
FFMpeg Builds Pre-compiled builds of FFMpeg. Windows/Linux: https://github.com/BtbN/FFmpeg-Builds, MacOS: https://github.com/eko5624/mpv-mac
PyTorch Neural Network Inference (CUDA/ROCm/TensorRT) https://pytorch.org/
NCNN Neural Network Inference (Vulkan) https://github.com/tencent/ncnn
RIFE Real-Time Intermediate Flow Estimation for Video Frame Interpolation https://github.com/hzwer/Practical-RIFE
rife-ncnn-vulkan Video frame interpolation implementation using NCNN and Vulkan https://github.com/nihui/rife-ncnn-vulkan
rife ncnn vulkan python Python bindings for RIFE NCNN Vulkan implementation https://github.com/media2x/rife-ncnn-vulkan-python
GMFSS GMFlow based Anime VFI https://github.com/98mxr/GMFSS_Fortuna
GIMM Motion Modeling Realistic VFI https://github.com/GSeanCDAT/GIMM-VFI
ncnn python Python bindings for NCNN Vulkan framework https://pypi.org/project/ncnn
Real-ESRGAN Upscaling https://github.com/xinntao/Real-ESRGAN
SPAN Upscaling https://github.com/hongyuanyu/SPAN
Spandrel CUDA upscaling model architecture support https://github.com/chaiNNer-org/spandrel
ChaiNNer Model Scale Detection https://github.com/chaiNNer-org/chainner
cx_Freeze Tool for creating standalone executables from Python scripts (Linux build) https://github.com/marcelotduarte/cx_Freeze
PyInstaller Tool for creating standalone executables from Python scripts (Windows/Mac builds) https://github.com/pyinstaller/pyinstaller
Feather Icons Open source icons library https://github.com/feathericons/feather
PySceneDetect Transition detection library for python https://github.com/Breakthrough/PySceneDetect/
Python Standalone Builds Backend inference using portable python, helps when porting to different platforms. https://github.com/indygreg/python-build-standalone

Star History

Star History Chart

Support Me:

相关仓库
ocornut/imgui

Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies

C++MIT Licenseguigamedev
74.9k11.9k
dbeaver/dbeaver

Free universal database tool and SQL client

JavaMavenApache License 2.0sqldatabase
dbeaver.io
51.1k4.3k
NaiboWang/EasySpider

A visual no-code/code-free web crawler/spider易采集:一个可视化浏览器自动化测试/数据采集/网页爬虫软件,可以无代码图形化的设计和执行爬虫任务。别名:ServiceWrapper面向Web应用的智能化服务封装系统。

JavaScriptnpmGNU Affero General Public License v3.0code-freecrawler
easyspider.net
44.3k5.4k
HeyPuter/puter

🌐 The Internet Computer! Free, Open-Source, and Self-Hostable.

TypeScriptnpmGNU Affero General Public License v3.0desktopdesktop-environment
puter.com
42.8k4k
appsmithorg/appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.

TypeScriptnpmApache License 2.0low-codeadmin-dashboard
appsmith.com
40.4k4.7k
GyulyVGC/sniffnet

Comfortably monitor your Internet traffic 🕵️‍♂️

Rustcrates.ioApache License 2.0network-analysisnetworking
sniffnet.app
40.1k1.8k
yewstack/yew

Rust / Wasm framework for creating reliable and efficient web applications

Rustcrates.ioApache License 2.0rustweb
yew.rs
32.7k1.5k
tqdm/tqdm

:zap: A Fast, Extensible Progress Bar for Python and CLI

PythonPyPIOtherprogressbarprogressmeter
tqdm.github.io
31.2k1.5k
AvaloniaUI/Avalonia

Develop Desktop, Embedded, Mobile and WebAssembly apps with C# and XAML. The future of .NET UI

C#MIT Licensec-sharpxaml
avaloniaui.net
31.2k2.8k
iced-rs/iced

A cross-platform GUI library for Rust, inspired by Elm

Rustcrates.ioMIT Licenseguigraphics
iced.rs
31k1.6k
flameshot-org/flameshot

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:

C++GNU General Public License v3.0screenshotqt
flameshot.org
30.4k2k
emilk/egui

egui: an easy-to-use immediate mode GUI in Rust that runs on both web and native

Rustcrates.ioApache License 2.0guirust
egui.rs
29.8k2.1k