Выдаёт ошибки вроде этой. Видимо в моём скрипте чего то недостаёт или неправильно расставлено. Помоги понять что дописать/переписать. Скрипт был составлен изначально из бесплатной svp4 с внедрением параметров из скрипта NurK(на здешнем форуме) и дальнейшего его редактирования под возможности моей системы и железа.
https://i.paste.pics/ABWHL.png?trs=e4ae … db0a8c0b44
# This script was generated by SVP 4 Manager.
# Check https://www.svp-team.com for more details.
SetMemoryMax(2700)
global threads=5
gpu=0
LoadPlugin("C:\Program Files\SVP 4\plugins\svpflow1.dll")
LoadPlugin("C:\Program Files\SVP 4\plugins\svpflow2.dll")
SetFilterMTMode("DEFAULT_MT_MODE",2)
SetFilterMTMode("SVSuper",1)
SetFilterMTMode("SVAnalyse",1)
SetFilterMTMode("potplayer_source",3)
potplayer_source()
#crop
top_bottom=0
left_right=0
fix_all = SVSmoothFps(super, vectors, smoothfps_params, mt=threads, url="www.svp-team.com")
SelectEvery(fix_all, 60, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 59)
Distributor()
ConvertToYV12()
global source_width = width
global source_height = height
global crop_string = ""
global resize_string = ""
gpuid = (gpu==2) ? "gpuid:21" : "gpuid:0"
z = width * height
z <= 450000 ? eval("""#<720p
param = (gpu>=1) ? "{scale:{up:2,down:4},gpu:0,pel:2,rc:false}" : "{scale:{up:2,down:4},gpu:0,pel:2,rc:false}"
cubic = (gpu>=1) ? "0" : "0"
""") : z <= 1100000 ? eval("""#720p
param = (gpu>=1) ? "{scale:{up:2,down:4},gpu:0,pel:2,rc:false}" : "{scale:{up:2,down:4},gpu:0,pel:2,rc:false}"
cubic = (gpu>=1) ? "0" : "0"
""") : z >= 5700000 ? eval("""#4k
param = (gpu>=1) ? "{scale:{up:2,down:4},gpu:0,pel:1,rc:false}" : "{scale:{up:2,down:4},gpu:0,pel:1,rc:false}"
cubic = (gpu>=1) ? "0" : "0"
""") : eval("""#1080p
param = (gpu>=1) ? "{scale:{up:2,down:4},gpu:0,pel:1,rc:false}" : "{scale:{up:2,down:4},gpu:0,pel:1,rc:false}"
cubic = (gpu>=1) ? "0" : "0"
""")
z <= 450000 ? eval("""
global super_params = param#<720p
global analyse_params = "{block:{w:32,h:32,overlap:3},main:{search:{coarse:{distance:-1,bad:{sad:5000,range:-15000},type:4,satd:true,trymany:true,width:700},type:2,distance:8,sort:true,satd:true},penalty:{lambda:4.0,plevel:1.5,lsad:6400,pnew:12,pglobal:5,pzero:0,pnbour:1,prev:0},levels:3},refine:[{thsad:38,search:{type:2,distance:-12,satd:false},penalty:{lambda:0.1,lsad:5,pnew:0}}],vectors:3}"
global smoothfps_params = "{rate:{num:5,den:2},block:true,algo:23,mask:{cover:0,area:0,area_sharp:1024},scene:{blend:true,limits:{scene:700,zero:1,blocks:42},mode:3,force13:true,luma:0.45},cubic:0,gpuid:0,linear:false}"
""") : z <= 1100000 ? eval("""#720p
global super_params = param
global analyse_params = "{block:{w:32,h:32,overlap:2},main:{search:{coarse:{distance:-1,bad:{sad:4500,range:-15000},type:4,satd:true,trymany:true,width:642},type:3,distance:10,sort:true,satd:false},penalty:{lambda:2.8,plevel:1.9,lsad:5700,pnew:10,pglobal:5,pzero:0,pnbour:1,prev:0},levels:4},refine:[{thsad:38,search:{type:2,distance:-15,satd:false},penalty:{lambda:0.1,lsad:5,pnew:0}}],vectors:3}"
global smoothfps_params = "{rate:{num:5,den:2},block:true,algo:23,mask:{cover:0,area:0,area_sharp:1024},scene:{blend:true,limits:{scene:7000,zero:1,blocks:42},mode:3,force13:true,luma:0.45},cubic:0,gpuid:0,linear:false}"
""") : z <= 1650000 ? eval("""#800p
global super_params = param
global analyse_params = "{block:{w:32,h:32,overlap:1},main:{search:{coarse:{distance:-1,bad:{sad:3800,range:-15000},type:4,satd:false,trymany:true,width:962},type:2,distance:12,sort:true,satd:false},penalty:{lambda:3.5,plevel:1.8,lsad:5900,pnew:11,pglobal:5,pzero:0,pnbour:1,prev:0},levels:5},refine:[{thsad:1000,search:{type:2,distance:-20,satd:false},penalty:{lambda:0.1,lsad:5,pnew:0}}],vectors:3}"
global smoothfps_params = "{rate:{num:5,den:2},block:true,algo:23,mask:{cover:0,area:0,area_sharp:1024},scene:{blend:true,limits:{scene:6500,zero:1,blocks:42},mode:3,force13:true,luma:0.46},cubic:0,gpuid:0,linear:false}"
""") : z >= 5700000 ? eval("""#4k
global super_params = param
global analyse_params = "{block:{w:32,h:32,overlap:0},main:{search:{coarse:{distance:1,bad:{sad:4200,range:-500},type:4,satd:true,trymany:true,width:962},type:3,distance:3,sort:false,satd:false},penalty:{lambda:10.0,plevel:2.0,lsad:1200,pnew:3,pglobal:5,pzero:0,pnbour:18,prev:22},levels:0},refine:[{thsad:1,search:{type:3,distance:8,satd:false},penalty:{lambda:10.0,lsad:48,pnew:1}}],vectors:2}"
global smoothfps_params = "{rate:{num:5,den:2},block:false,algo:1,mask:{cover:0,area:0,area_sharp:400},scene:{blend:true,limits:{scene:1500,zero:3,blocks:42},mode:0,force13:true,luma:0.5},cubic:0,gpuid:0,linear:false}"
""") : eval("""#1080p
global super_params = param
global analyse_params = "{block:{w:32,h:32,overlap:0},main:{search:{coarse:{distance:-1,bad:{sad:3800,range:-15000},type:2,satd:false,trymany:true,width:962},type:2,distance:0,sort:true,satd:false},penalty:{lambda:3.5,plevel:1.8,lsad:5900,pnew:11,pglobal:5,pzero:0,pnbour:1,prev:0},levels:6},refine:[{thsad:1000,search:{type:2,distance:-20,satd:false},penalty:{lambda:0.1,lsad:5,pnew:0}}],vectors:3}"
global smoothfps_params = "{rate:{num:5,den:2},block:true,algo:23,mask:{cover:0,area:0,area_sharp:1024},scene:{blend:true,limits:{scene:6500,zero:1,blocks:42},mode:3,force13:true,luma:0.48},cubic:0,gpuid:0,linear:false}"
""")
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)
#MT-MODE-1 #do not remove this line!
super=SVSuper(input, super_params)
vectors=SVAnalyse(super, analyse_params, src=input)
smooth=SVSmoothFps(input, super, vectors, smoothfps_params, mt=threads, src=src)
#MT-MODE-2 #do not remove this line!
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 ###########
Prefetch(threads)