Topic: SVP 4, вопрос по скрипту.
Не подскажете, чего в скрипте изменить надо, чтобы в vdub открывался, у меня ошибка про неверные параметры.
This script was generated by SVP 4 Manager.
# Check http://www.svp-team.com for more details.
SetMemoryMax(1024)
global threads=4
global svp_scheduler=true
LoadPlugin("C:\Program Files (x86)\SVP 4\plugins\svpflow1.dll")
LoadPlugin("C:\Program Files (x86)\SVP 4\plugins\svpflow2.dll")
SetMTMode(3,threads)
AVISource("F:\cut\01.avi")
SetMTMode(2)
ConvertToYV12()
global crop_string="crop(0,0,0,0)"
global resize_string=""
global super_params="{rc:true}"
global analyse_params="{}"
global smoothfps_params="{rate:{num:1},light:{aspect:1.778,lights:6,border:6,length:120,cell:1}}"
global demo_mode=0
global stereo_type=0
########## BEGIN OF base.avs ##########
# This file is a part of SmoothVideo Project (SVP) ver.4
# This is NOT the full AVS script, all used variables are defined via
# JScript code that generates the full script text.
function interpolate(clip src)
{
input = crop_string=="" ? src : eval("src."+crop_string)
input = resize_string=="" ? input : eval("input."+resize_string)
super=SVSuper(input, super_params)
vectors=SVAnalyse(super, analyse_params, src=input)
smooth=SVSmoothFps(input, super, vectors, smoothfps_params, mt=threads, src=src)
return demo_mode==0 ? smooth : demo(input,smooth)
}
input=last
stereo_type==0 ? eval(""" interpolate(input)
""") : stereo_type==1 ? eval("""
lf = interpolate(input.crop(0,0,input.width/2,0))
rf = interpolate(input.crop(input.width/2,0,0,0))
StackHorizontal(lf, rf)
""") : stereo_type==2 ? Eval("""
lf = interpolate(input.crop(0,0,0,input.height/2))
rf = interpolate(input.crop(0,input.height/2,0,0))
StackVertical(lf, rf)""") : input
########### END OF base.avs ###########
#distributor()