lucataco/real-esrgan-video ❓🖼️ → 🖼️

▶️ 281.8K runs 📅 Nov 2023 ⚙️ Cog 0.8.6 🔗 GitHub 📄 Paper ⚖️ License
anime video-upscaling

About

Real-ESRGAN Video Upscaler

Example Output

Output

Performance Metrics

24.95s Prediction Time
24.97s Total Time
All Input Parameters
{
  "model": "RealESRGAN_x4plus",
  "resolution": "FHD",
  "video_path": "https://replicate.delivery/pbxt/JvzJwGbiuwhpRVTBdOOt3L49WAsYlBmB2yNqcyxeIlTRQ5xl/replicate-prediction-wkusuc3brp5hwd27zaymz5rgdi.mp4"
}
Input Parameters
model Default: RealESRGAN_x4plus
Upscaling model
resolution Default: FHD
Output resolution
video_path (required) Type: string
Input Video
Output Schema

Output

Type: stringFormat: uri

Example Execution Logs
Upscaling from 1024x512 to 1920x1080, crop_to_fit=True
/root/.pyenv/versions/3.10.13/lib/python3.10/site-packages/torchvision/transforms/functional_tensor.py:5: UserWarning: The torchvision.transforms.functional_tensor module is deprecated in 0.15 and will be **removed in 0.17**. Please don't rely on it. You probably just need to use APIs in torchvision.transforms.functional or in torchvision.transforms.v2.functional.
warnings.warn(
inference:   0%|          | 0/25 [00:00<?, ?frame/s]
inference:   4%|▍         | 1/25 [00:01<00:47,  1.96s/frame]
inference:   8%|▊         | 2/25 [00:02<00:26,  1.16s/frame]
inference:  12%|█▏        | 3/25 [00:03<00:19,  1.10frame/s]
inference:  16%|█▌        | 4/25 [00:03<00:16,  1.27frame/s]
inference:  20%|██        | 5/25 [00:04<00:14,  1.39frame/s]
inference:  24%|██▍       | 6/25 [00:04<00:12,  1.47frame/s]
inference:  28%|██▊       | 7/25 [00:05<00:11,  1.53frame/s]
inference:  32%|███▏      | 8/25 [00:06<00:10,  1.57frame/s]
inference:  36%|███▌      | 9/25 [00:06<00:10,  1.60frame/s]
inference:  40%|████      | 10/25 [00:07<00:09,  1.62frame/s]
inference:  44%|████▍     | 11/25 [00:07<00:08,  1.64frame/s]
inference:  48%|████▊     | 12/25 [00:08<00:07,  1.64frame/s]
inference:  52%|█████▏    | 13/25 [00:09<00:07,  1.65frame/s]
inference:  56%|█████▌    | 14/25 [00:09<00:06,  1.66frame/s]
inference:  60%|██████    | 15/25 [00:10<00:06,  1.66frame/s]
inference:  64%|██████▍   | 16/25 [00:10<00:05,  1.67frame/s]
inference:  68%|██████▊   | 17/25 [00:11<00:04,  1.66frame/s]
inference:  72%|███████▏  | 18/25 [00:12<00:04,  1.66frame/s]
inference:  76%|███████▌  | 19/25 [00:12<00:03,  1.67frame/s]
inference:  80%|████████  | 20/25 [00:13<00:03,  1.66frame/s]
inference:  84%|████████▍ | 21/25 [00:13<00:02,  1.66frame/s]
inference:  88%|████████▊ | 22/25 [00:14<00:01,  1.67frame/s]
inference:  92%|█████████▏| 23/25 [00:15<00:01,  1.67frame/s]
inference:  96%|█████████▌| 24/25 [00:15<00:00,  1.67frame/s]
inference: 100%|██████████| 25/25 [00:16<00:00,  1.67frame/s]
inference: 100%|██████████| 25/25 [00:17<00:00,  1.46frame/s]
[h264 @ 0x564bdc2f31c0] Cannot load libnvcuvid.so.1
[h264 @ 0x564bdc2f31c0] Failed loading nvcuvid.
[h264 @ 0x564bdc2f31c0] Failed setup for format cuda: hwaccel initialisation returned error.
Cropping to fit done..
Upscaled video saved to: /src/ouput/tmp84vybs1breplicate-prediction-wkusuc3brp5hwd27zaymz5rgdi_upscaled_1920_1080.mp4
Version Details
Version ID
3e56ce4b57863bd03048b42bc09bdd4db20d427cca5fde9d8ae4dc60e1bb4775
Version Created
May 19, 2025
Run on Replicate →