dubhater / vapoursynth-mvtools

Motion compensation and stuff
181 stars 27 forks source link

FlowFPS crashes when using overlaps in Analyse #48

Closed Noctem closed 4 years ago

Noctem commented 4 years ago

Here's the script:

from vapoursynth import core

# http://distribution.bbb3d.renderfarming.net/video/mp4/bbb_sunflower_1080p_30fps_normal.mp4
clip = core.ffms2.Source("bbb_sunflower_1080p_30fps_normal.mp4")

mv = core.mv
sup = mv.Super(prefilter, sharp=1, rfilter=4)
bak = mv.Analyse(sup_filt, isb=True, blksize=32, overlap=8, search=3)
fwd = mv.Analyse(sup_filt, isb=False, blksize=32, overlap=8, search=3)
flow = mv.FlowFPS(clip, sup, bak, fwd, num=60, den=1, blend=False, ml=200.0, mask=2, thscd2=255)

FlowFPS crashes with this combination of parameters on my system (macOS 10.15.4, VapourSynth 49) with both mvtools v21 and v22. The same combination works fine with pinterf's mvtools in AviSynth.

dubhater commented 4 years ago

Well that was annoying to figure out.