svp_scheduler=true
SetMemoryMax(1024)
LoadPlugin("C:\Program Files (x86)\SVP\plugins\svpflow1.dll")
LoadPlugin("C:\Program Files (x86)\SVP\plugins\svpflow2.dll")
threads=11
SetMTMode(3,threads)
ffdShow_source()
assert(width==640 && height==480,"Frame size "+string(width)+"x"+string(height)+" instead of 640x480")
SetMTMode(2)
Crop(88,8,-88,-8)
super_params="{scale:{up:0},gpu:1,rc:true}"
analyse_params="{block:{w:8,h:8},main:{search:{coarse:{distance:-10},bad:{sad:2000,range:24}}},refine:[{thsad:65000}]}"
smoothfps_params="{rate:{num:5,den:2},algo:2,cubic:1,scene:{},light:{aspect:1.6,lights:11,border:16,length:141,cell:4}}"
super=SVSuper(super_params)
vectors=SVAnalyse(super, analyse_params)
last=SVSmoothFps(super, vectors, smoothfps_params, mt=threads, url="www.svp-team.com")
super2=SVSuper("{}")
vectors2=SVAnalyse(super2,"{}")
smooth_video=SVSmoothFps(super2, vectors2, "{rate:{num:1},light:{aspect:1.1,lights:40,border:16,length:141,cell:4}}", mt=threads, url="www.svp-team.com")
smooth_video