/VUFI

A repository for video upscale and frame interpolation based on open-sourced papers.

Primary LanguagePython

Anime video upscaler and frame-interpolator made from Real-ESRGAN and Practical-RIFE.

create environment:

conda env create -f environment.yml -n video-upscale
conda activate video-upscale

usage:

python main.py --input_file ./test/test.mp4 --audio_track ./test/test.wav --output_file test_processed.mp4
               --fps 60 --num_processes 8 --scale_factor 2

You may first generate a pair test data to get familiar with the script.

from moviepy.editor import VideoFileClip

video = VideoFileClip("test.mp4")
audio = video.audio
audio.write_audiofile("test.wav")