prittililprinsis

Untitled

May 9th, 2017
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.57 KB | None | 0 0
  1. import vapoursynth as vs
  2. core = vs.get_core()
  3. clip = core.ffms2.Source(source="in1.mkv")
  4.  
  5. dst_fps_num = 60
  6. dst_fps_den = 1
  7.  
  8. sup = core.mv.Super(clip, pel=1, hpad=8, vpad=8) #see mvtools documentation
  9. #create motion information, then interpolate frames
  10. bvec = core.mv.Analyse(sup, blksize=4, isb=True , chroma=True, search=3, searchparam=1, truemotion=True)
  11. fvec = core.mv.Analyse(sup, blksize=4, isb=False, chroma=True, search=3, searchparam=1, truemotion=True)
  12. clip = core.mv.FlowFPS(clip, sup, bvec, fvec, num=dst_fps_num, den=dst_fps_den, thscd2=100)
  13.  
  14. clip.set_output()
Advertisement
Add Comment
Please, Sign In to add comment