Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import vapoursynth as vs
- from vapoursynth import core
- import fvsfunc as fvf
- from naotools.naohelper import getar, geth
- def geth2(w, h, target_w):
- arx, ary = getar(w, h)
- return geth(target_w, arx/ary)[1]
- v = core.avisource.AVISource('spiderverse_PremiereProFrameserver.avi').std.AssumeFPS(fpsnum=24000, fpsden=1001)
- v = core.resize.Bicubic(v, format=vs.YUV420P16, matrix_s='709')
- v = v.std.Crop(0, 0, 276, 276)
- v = core.resize.Spline36(v, 1920, geth2(v.width, v.height, 1920))
- v = core.f3kdb.Deband(v, 12, 45, 30, 30, 15, 0, output_depth=16)
- v = fvf.Depth(v, 10)
- v.set_output()
Advertisement
Add Comment
Please, Sign In to add comment