I have used mvtools version 0.9.2.2 to create smooth slow motion, using this script:
Code:
loadplugin("c:\Program Files\AviSynth 2.5\plugins\kerneldeint140.dll")
loadplugin("C:\Program Files\AviSynth 2.5\plugins\MVTools\mvtools.dll")
AVISource("E:\Volleyball\Volleyball (Soldedad)\Volleyball (soledad)0022.avi")
assumebff()
changespeed(4, 2, 8) #1/4 speed, using motion compensated frame interpolation (motion will stay smooth)
function changespeed(clip a, float factor, int mode, int th)
{
ord = getparity(a) ? 1 : 0
f=a.kerneldeint(order=ord, sharp=false, twoway=false, threshold=th)
e=a.separatefields.trim(1,0).weave.kerneldeint(order=1-ord, sharp=false, twoway=false, threshold=th)
interleave(f,e).assumeframebased
# converttoyuy2() # not needed if mode=2 saves extra conversion by commenting out
(mode == 0) ? changefps(framerate*factor) : (mode == 1) ? convertfps(framerate*factor) : converttoyv12().mvconvertfps(fps=framerate*factor).converttoyuy2()
assumefps(a.framerate*2,true)
separatefields()
(ord==0) ? selectevery(4,0,3) : selectevery(4,1,2)
weave()
}
This worked well with this version, but I cannot get any later version to even load, much less do the slow motion. Also, in looking at the release notes for the latest version, I see that mvconvertfps() has temporarily been deleted.
Question: Is there a better way to generate slow motion using motion-estimated synthesized frames, using another AVISynth plug-in, like Depan? Also, is there any way to use later mvtools versions? With any version after 0.9.2.2 I get this error message:
AVISynth Open Failure.
Evaluate: Unrecognized exception!