Created
July 13, 2024 23:08
-
-
Save ChristophHaag/a1185776cf62a5e8e077bf04ea9de34f to your computer and use it in GitHub Desktop.
VapourSynth-RIFE-ncnn-Vulkan_script.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
import os | |
import vapoursynth as vs | |
core = vs.core | |
core.num_threads = 32 # can influence ram usage | |
clip = video_in | |
clip = vs.core.resize.Bicubic(clip, format=vs.RGBS, matrix_in_s="709") | |
clip = core.rife.RIFE(clip, model=37, fps_num=60, gpu_id=0, gpu_thread=4, tta=False, uhd=False, skip=False, sc=False) | |
clip = vs.core.resize.Bicubic(clip, format=vs.YUV420P8, matrix_s="709") | |
clip.set_output() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment