Real-Time Intermediate Flow Estimation for Video Frame Interpolation, based on https://github.com/hzwer/Practical-RIFE.
- PyTorch 2.0.1 or later
- VapourSynth R62 or later
- vs-miscfilters-obsolete (only needed for scene change detection)
trt
requires additional runtime libraries:
- CUDA Toolkit 12.1
- cuDNN 8.9
- TensorRT 8.6.1
For ease of installation on Windows, you can download the 7z file on Releases which contains required runtime libraries and Python wheel file. Either add the unzipped directory to your system PATH
or copy the DLL files to a directory which is already in your system PATH
. Finally pip install the Python wheel file.
pip install -U vsrife
python -m vsrife
from vsrife import rife
ret = rife(clip)
See __init__.py
for the description of the parameters.