Skip to content

Instantly share code, notes, and snippets.

View Hrxn's full-sized avatar
🗺️
There is always a path...

HRXN Hrxn

🗺️
There is always a path...
  • Germany
  • 20:23 (UTC +02:00)
View GitHub Profile
@ghedo
ghedo / 60fps.py
Last active November 15, 2021 19:31
VapourSynth script to convert videos to 60fps (with mpv)
# Usage: mpv --vf=vapoursynth=60fps.py --hwdec=no <file>
import vapoursynth as vs
core = vs.get_core()
src_fps = 24
dst_fps = 60
clip = core.std.AssumeFPS(video_in, fpsnum=src_fps)
super = core.mv.Super(clip, pel=2)