Log in

View Full Version : how to get the logo plugin for gordianknot working?


mightyspawn
15th June 2002, 22:25
ive tried really everything, but by myself i dont get it worked.

can someone please tell me in steps how this works.

i use the donald graft plugin (think that is the only one)

then ive downloaded the file vdfilters.avs

there is this part in it


########################
# Logo by Donald Graft #
########################

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 "fadein", int "end", int "fadeout" )
{
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,"d:\virtualdub\plugins\logo.bmp"),
\ default(animate,false)?1:0, default(start,0), default(duration,0), default(loops,0),
\ default(fadein,0), default(end,0), default(fadeout,0))
}


but how do i get it working

Wilbert
19th June 2002, 15:47
Download vdub_filters_v13.zip (http://forum.doom9.org/showthread.php?threadid=23804&pagenumber=2)

There is a script for this logo (v1.3b4) filter and an example is given at the end:

###################################################################
# Logo by Donald Graft, v1.3b4 #
# #
# In the filter configuration dialog box, enter the input file. #
# If the specified bitmap file cannot be found, or if it is not #
# a bitmap file, or if it is of the wrong depth (depth must be 24 #
# bit), the output frame will be all black. #
# #
# See "simplified_versions.avs" for some examples. #
###################################################################

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+"\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))
}

# example1 (static logo):
# ConvertToRGB()
# VD_logo(0,0,128,true,0,0,255,0,VirtualDub_plugin_directory+"\logo2.bmp",false,100,200,0,10,180,10)
# ConvertToYUY2()

# You will see a static logo starting from frame 100 ending in frame 100+200=300.
# It will fade in from 100 to 100+10=110 and fade out from 200+180 to 200+180+10, well something like that.

mightyspawn
20th June 2002, 19:46
hehe een eindhovenaar

Wilbert
21st June 2002, 09:12
Laten we het zo zeggen, ik woon in Eindhoven :) Maar jij komt hier ook vandaan?

mightyspawn
22nd June 2002, 10:19
hehe een gat wat er in de buurt ligt, genaamd veldhoven

maar bedankt voor de uitleg hierboven, het werkt nu eindelijk