View Single Post
Old 27th January 2003, 11:46   #12  |  Link
theReal
Piper at theGates of Dawn
 
theReal's Avatar
 
Join Date: Nov 2001
Posts: 2,136
I'm not sure if a preroll of 2 is good - it works just as well without this parameter, but I thought 2 can't hurt...

I only used the example of delogo to show how you can load (most) VDub filters in avisynth. It is, as neuron2 said, made to remove logos (which it does quite well).

The commandline:
(1, "", "", "", "", "G:/ProSieben.bmp", 10, 140, 0, 0)

is copied and pasted directly from a VDub .vcf file: I configured the filter in VDub, then I saved the processing settings ("File"->"Save processing settings") to a .vcf file. I opened this file with a text editor and looked for the commandline for the delogo filter. I just copied everything between the brackets right into the avisynth script, ready!

btw. in LoadVirtualDubPlugin("H:\avisynth2\delogo.vdf", "delogo", 2) the second parameter "delogo" is the name with which you can call the filter later on in the avisynth script. So if you write "xyz" instead, you have to call the filter like this:

xyz(*parameters*)
__________________
"Under a government which imprisons unjustly, the true place for a just man is also a prison"
Henry David Thoreau, On the duty of civil disobedience, 1849
theReal is offline   Reply With Quote