『漫游』酷论坛>『影音数码技术学习交流』>用AVS压rmvb时加图片Logo ..
用AVS压rmvb时加图片Logo要写得如此复杂啊?
waqy@2006-05-26 20:46
谁给写一个简单明了的出来啊?
见过一个教程写了几十行,密密麻麻的看得头都昏了
我就是想在压制rmvb的时候加一个图片的Logo,看网上的教程就是要调用logo.vdf插件,是不是只能像下面那样先定义函数,然后设定一大堆参数,然后再调用logo.vdf插件啊?
我照下面葫芦画瓢,改了一些东西,然后粘贴到ERP里,一运行,N多错误就出来了,什么“invalid function converttoRGB32" 之类的,而且“\”都是多余的,还缺少“}”什么的,老是报警这些东西错误
哪位大侠写一个标准的啊,我就是想改改参数能用就行,下面的那个改了也是错误百出,加个logo就这么难么?
global VirtualDub_plugin_directory = "E:\DVD2RM\Filter"
AVISource("c:\1.avi")
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+"\Gundam SEED.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(480, 10, 255, true, 255, 255, 255, 70, "Memories Off.bmp", true, 70, 0, 0, 50, 243, 50)
| TOP