Skip to content

Instantly share code, notes, and snippets.

@dubhater
Forked from torque/derp.py
Last active October 13, 2015 12:07
Show Gist options
  • Save dubhater/4193533 to your computer and use it in GitHub Desktop.
Save dubhater/4193533 to your computer and use it in GitHub Desktop.
#!/usr/bin/env python3
import sys
import vapoursynth as vs
core = vs.get_core(add_cache=False)
# assume ffms2 and scxvid got autoloaded
vid = core.ffms2.Source(sys.argv[1])
vid = core.resize.Bicubic(vid, format=vs.YUV420P8)
vid = core.scxvid.Scxvid(vid, log=sys.argv[2])
for i in range(vid.num_frames):
vid.get_frame(i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment