1- --infomation:${SCRIPT_NAME} ${VERSION}
1+ --infomation:${SCRIPT_NAME} ${VERSION} by ${AUTHOR}
22--label:${LABEL}
33--track2:Shutter Angle,0,360,180
44--track3:Sample Limit,1,4096,256,1
77--check@c1:Resize,1
88--select@s1:Geo Cache,None=0,Full=1,Minimal=2
99--select@s2:Cache Control,Off=0,Auto=1,All=2,Current=3
10- --track@t6:Object ID,0,15000,0,1
1110--track@t5:Mix,0,100,0,0.01
1211--check@c2:Print Information,0
1312--value@_0:PI,{}
1413--[[pixelshader@motion_blur:
1514${SHADER_MOTION_BLUR}
1615]]
1716
18- if (not pcall( obj.getvalue, "cx") ) then
19- debug_print("AviUtl ExEdit2 beta12 or later is required.")
17+ if (obj.getinfo("version") < 2001400 ) then
18+ debug_print("AviUtl ExEdit2 beta14 or later is required.")
2019 return
2120end
2221
@@ -38,7 +37,6 @@ local ext = tonumber(_0.extrapolation) or s0 s0 = nil
3837local resize = tobool(_0.resize, c1 ~= 0) c1 = nil
3938local geo_cache = tonumber(_0.geo_cache or s1) s1 = nil
4039local cache_ctrl = tonumber(_0.cache_ctrl or s2) s2 = nil
41- local obj_id = math.max(tonumber(_0.object_id) or t6, 0) t6 = nil -- beta 11a
4240local mix = tonumber(_0.mix) or t5 t5 = nil
4341local print_info = tobool(_0.print_info, c2 ~= 0) c2 = nil
4442_0 = nil
@@ -54,6 +52,5 @@ lib.process_motion_blur(
5452 geo_cache,
5553 cache_ctrl,
5654 mix,
57- print_info,
58- obj_id
55+ print_info
5956)
0 commit comments