/mpv-frame-interpolation

Vapoursynth script for decent fps interpolation

Primary LanguagePython

Installation

Windows (mpv.net)

  1. Install python and vapoursynth. Right now the 2 needed versions are Python 3.10.8 and VapourSynthR60.

INSTALL FOR ALL USERS

  1. Test vapoursynth in python
from vapoursynth import core

print(core.version())
  1. Install mvtools addon for vapoursynth using terminal
vsrepo install mv
  1. If all is well you can now setup input.conf and mpv.conf located in %AppData%\mpv.net

input.conf add

_ set profile FrameInterpolation #menu: Profiles > profile FrameInterpolation

mpv.conf add

#Frame interpolation
[FrameInterpolation]
vf=vapoursynth="PATH_TO_YOUR_SCRIPT"
profile-restore = copy
  1. inside of mpv you can now right click and use the profile menu to select FrameInterpolation

For debugging you can enable an osd console by pressing tilde `

Extras!

you can fix audio desync (which might occur on lower end hardware) by including the segment below in your mpv.conf

hr-seek-framedrop=no