Home

Awesome

Pylint pybadge ptbadge nvbadge grbadge

EMA-VFI-WebUI - AI-Based Movie Restoration

frame-interpolation

🎬 Windows 11 example install steps 4/20/2024

💥 See more samples in the Samples Showcase

Example - Interpolated Frames
example
<!-- | Example - Video Inflation (YouTube) | |:--:| | [Demo of 32X Video Inflation with marked original frames](https://youtu.be/rOiALIN805w) |-->
Example - GIF to MP4 (frame size X4, frame rate X8)Example - Original GIF
https://user-images.githubusercontent.com/825994/224548062-4cad649c-5cdb-4f66-936d-e2296eb0fbc8.mp4http_t0 tagstat com_image03_0_21c475648484948484881505552
Example - Resyntheszed Video (YouTube)
https://youtube.com/shorts/lKtY2CHqA98?feature=share
Upper: 8MM footage with heavy dirt and noise
Lower: Same footage after using Resynthesize Video
🎬 EMA-VFI-WebUI Features 
Frame InterpolationRestore Missing Frames, Reveal Hidden Motion
🔎 Frame SearchSynthesize Between Frames At Precise Times
🎈 Video InflationCreate Super Slow-Motion
💕 Resynthesize VideoCreate a Complete Set of Replacement Frames
🪄 Frame RestorationRestore Adjacent Missing / Damaged Frames
🔬 Video BlenderProject-Based Movie Restoration
📁 File ConversionConvert between PNG Sequences and Videos
🔢 Resequence FilesRenumber for Import into Video Editing Software
🎞️ Change FPSConvert any FPS to any other FPS
💎 GIF to MP4Convert Animated GIF to MP4 in one click
📈 Upscale FramesUse Real-ESRGAN to Enlarge and Clean Frames

Set Up For Use

  1. Get EMA-VFI working on your local system
  1. Clone this repo in a separate directory and copy all directories/files on top of your working EMA-VFI installation
  1. If it's set up properly, the following command should write a new file images/image1.png using default settings

python interpolate.py

Alternate Set Up / Development

  1. Get EMA-VFI working on your local system
  1. Clone this repo to a directory in which you intend to use the app and/or develop on it
  2. Copy the following directories and files from your working EMA-VFI installation to this directory:
  1. If it's set up properly, the following command should write a new file images/image1.png

python interpolate.py

Real-ESRGAN Add-On Set Up

The GIF to MP4 feature uses Real-ESRGAN to clean and upscale frames

  1. Get Real-ESRGAN working on your local system
  1. Clone their repo to its own directory and follow their instructions for local setup
  2. Copy the realesrgan directory to your EMA-VFI-WebUI directory

FFmpeg Set Up

A few features rely on FFmpeg being available on the system path

Download FFmpeg

Starting Web UI Application

The application can be started in any of these ways:

Using Web UI

Wiki - Quick Start Guide

All Features

Wiki - Home

Command Line Tools

The core feature have command-line equivalents

Wiki - Command Line Tools

App Configuration

Wiki - App Configuration

Samples Showcase

Samples Showcase

Acknowledgements

Thanks! to the EMA-VFI folks for their amazing AI frame interpolation tool

Thans! to the Real-ESRGAN folks for their wonderful frame restoration/upscaling tool

Thanks! to the stable-diffusion-webui folks for their great UI, amazing tool, and for inspiring me to learn Gradio

Thanks to Gradio for their easy-to-use Web UI building tool and great docs