Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ChristophHaag/a1185776cf62a5e8e077bf04ea9de34f to your computer and use it in GitHub Desktop.
Save ChristophHaag/a1185776cf62a5e8e077bf04ea9de34f to your computer and use it in GitHub Desktop.
VapourSynth-RIFE-ncnn-Vulkan_script.py
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