最初由 squallwu 发布
先去下载安装一个AviSynth 2.52和plugins
然后按照下面这个范例就能加入图片了:
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec3.dll")
global VirtualDub_plugin_directory = "e:\工具\制作\VirtualDub-1.5.1\plugins"
avisource("D:\新建文件夹\One Piece 160.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("e:\工具\制作\VirtualDub-1.5.1\plugins\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+"\logo.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(0,0,128,true,0,0,255,0,"c:\1.bmp",true,0,10000,0,0,0,0)
ConvertToYUY2()
看到有目录的地方只要和我的不一样就自己改改,很简单的...不行再来留言.