Spaces:
Sleeping

video-upscaler-v2 / README.md
kramp's picture
kramp HF Staff
Pin python_version=3.10: deepfilterlib wheels are cp310-only (build was resolving on py3.12)
c14a6df verified
|
Raw History Blame Contribute Delete
1.95 kB

A newer version of the Gradio SDK is available: 6.33.0

Upgrade
metadata
title: Video Upscaler
emoji: 🎬
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 6.14.0
python_version: '3.10'
app_file: app.py
pinned: false
hardware: zero-gpu

Video Upscaler β€” Image + Audio

Upscale the visual quality and audio fidelity of a video.

Limits: max 10 minutes, max 600 MB, output capped at 4K.

How it works

  • Video: Real-ESRGAN realesr-animevideov3 (ProGNET β€” temporal propagation trained into the weights) via spandrel, streamed frame-by-frame through ffmpeg pipes, plus an optional 3-tap temporal deflicker pass with scene-cut detection. Processing is chunked into ~45 s segments, one ZeroGPU allocation each.
  • Audio (task-routed, music-first):
    • Music: FlashSR (arXiv 2501.10807) β€” one-step distilled audio super-resolution to 48 kHz, SOTA on music bandwidth extension, ~100Γ— realtime, stereo preserved. 120 s chunks.
    • Mixed / general: same FlashSR model on the raw mix.
    • Speech: DeepFilterNet3 denoise β†’ Resemble Enhance (44.1 kHz restoration), 60 s chunks.

GPU time (ZeroGPU)

Job Approx. GPU time
720p β†’ 2x, 1 min video ~0.5–1 min
720p β†’ 4x, 1 min video ~1–3 min
Music audio (FlashSR), 10 min video ~1–2 min
Speech audio (DFN3 + Resemble), 1 min ~1 min

Free accounts have 5 min of ZeroGPU quota per day, PRO 40 min β€” long videos (especially with the Music audio route) need a PRO account.

Built with ML Intern