Skip to content

About

CLI / TUI Local, quality-first video upscaling pipeline powered by Real-ESRGAN, CUDA hardware acceleration, and an interactive cyberpunk terminal UI (VidiScale).

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Welcome to upscale-video 👋

version python cuda real-esrgan tests license

English • Português (Brasil)

Local, quality-first video upscaling pipeline powered by Real-ESRGAN, CUDA hardware acceleration, and an interactive cyberpunk terminal UI (VidiScale).

VidiScale TUI


🏠 Homepage

https://github.com/mattheusbr/upscale-video

Prerequisites

  • OS: Windows 10/11 (64-bit)
  • GPU: NVIDIA GPU with CUDA support
  • Python: >= 3.12
  • Git: Git with submodule support enabled

Install

Clone the repository recursively with all submodules and run the automated bootstrap script:

git clone --recurse-submodules https://github.com/mattheusbr/upscale-video.git
cd upscale-video
.\scripts\bootstrap.ps1

Confirm that all system dependencies and GPU drivers are ready:

.\.venv\Scripts\python.exe -m upscaler doctor

Build the Windows executable

With Python 3.12 installed and the Real-ESRGAN submodule initialized, build the distributable with:

git submodule update --init --recursive
.\scripts\build_exe.ps1

The output is in dist\upscale\. Distribute the entire folder, not just upscale.exe — it contains the CUDA runtime, models, Real-ESRGAN, and FFmpeg.

.\dist\upscale\upscale.exe tui
.\dist\upscale\upscale.exe video.mp4
.\dist\upscale\upscale.exe doctor

Usage

🖥️ Interactive Terminal UI (TUI)

Launch the cyberpunk dashboard with real-time GPU/CPU telemetry and interactive video controls:

.\.venv\Scripts\python.exe -m upscaler tui

(Optionally preload a video: .\.venv\Scripts\python.exe -m upscaler tui --input video.mp4)

⚡ Quick Start CLI (Simple Mode)

# Upscale with default settings (profile: clean, level: medio / 1080p)
.\.venv\Scripts\python.exe -m upscaler input.mp4

# Custom profile and resolution level
.\.venv\Scripts\python.exe -m upscaler input.mp4 --profile max --nivel alto

# Run quick benchmark preview before full video processing
.\.venv\Scripts\python.exe -m upscaler simple input.mp4 --profile clean --benchmark

🎛️ Profiles & Levels

Profile AI Model Best For
clean (default) RealESRGAN_x4plus Real-world footage, live-action content
compressed realesr-general-x4v3 Videos with artifacts and compression noise
anime realesr-animevideov3 2D animation, cartoons, digital artwork
max RealESRGAN_x4plus Maximum detail fidelity (heavy compute)
Level (--nivel) Max Dimension Target Resolution
baixo 1280 px 720p HD
medio (default) 1920 px 1080p Full HD
alto 3840 px 4K UHD
max 4x native Pure 4x model inference

🔧 Advanced CLI Mode

.\.venv\Scripts\python.exe -m upscaler run input.mp4 output.mp4 --profile clean --tile 256 --preset slow --crf 17

Run tests

.\.venv\Scripts\python.exe -m unittest discover tests

Author

👤 Matheus Bruno

🤝 Contributing

Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.

Show your support

Give a ⭐️ if this project helped you!

📝 License

About

CLI / TUI Local, quality-first video upscaling pipeline powered by Real-ESRGAN, CUDA hardware acceleration, and an interactive cyberpunk terminal UI (VidiScale).

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages