我想用AVS给要压制的rmvb加图片Logo玩玩,找了教程,改改就成下面的了
一运行错误还真不少
错误提示1: Script error: Invalid arguments to function "ConverToRGB"
我不知道为啥这个有错误,我是照教程上粘贴上去的啊,我把这句话先删除了
结果又出现
错误提示2: Script error: Invalid arguments to function "VD_logo"
请大家给看看到底是哪里出了问题啊,还有加载图片Logo不能直接调用logo.vdf么?,非要定义一个这么复杂的函数么?
-----------------------------
global VirtualDub_plugin_directory="C:\new"
function VD_Logo(clip clip,int"x",int"y",int"alpha",bool"transparent",int"xr",int"xg",int"xb",int"tolerance",string "filename",bool"animate",int"start",int"duration",int"loops",int"fadeinlen",int"fadeoutend",int"fadeoutlen")
{LoadVirtualdubPlugin(VirtualDub_plugin_directory+"\logo.vdf","_VD_Logo",1)return clip._VD_Logo(default(x,0),default(y,0),default(alpha,128),default(transparent,true)?1:0,default(xr,0),default(xg,0),default(xb,255),default(tolerance,0),default(filename,VirtualDub_plugin_directory+"\demo.bmp"),default(animate,false)?1:0,default(start,0),default(duration,0),default(loops,0),default(fadeinlen,0),default(fadeoutend,200),default(fadeoutlen,0))}
ConvertToRGB()
VD_logo(620,460,50,true,0,0,0,0,"C:\logo.bmp", false,200,0,0,50,970,50)