Skip to content

Instantly share code, notes, and snippets.

@Ramonlaw
Ramonlaw / motioninterpolation.vpy
Created July 5, 2021 09:07 — forked from phiresky/motioninterpolation.vpy
Realtime motion interpolating 60fps playback in mpv
# vim: set ft=python:
# see the README at https://gist.github.com/phiresky/4bfcfbbd05b3c2ed8645
# source: https://github.com/mpv-player/mpv/issues/2149
# source: https://github.com/mpv-player/mpv/issues/566
# source: https://github.com/haasn/gentoo-conf/blob/nanodesu/home/nand/.mpv/filters/mvtools.vpy
import vapoursynth
core = vapoursynth.get_core()