Log in

View Full Version : dekafka-script problems


Tantabootsy
11th October 2003, 09:24
hi,
I receive the error message "expected a , or ) ...line 5 column 17 when I import the following script into VdubMod:

import("d:\video\asynth_plugins\dekafka.avsi")

avisource("f:\eigene dateien\video\1.avi")

dekafka(clip clip, clip maskclip, int Xstart, int Ystart, int X, int Y, int Amount)
clip = avisource("f:\eigene dateien\video\1.avi")
maskclip = avisource("e:\video\logos\pro7_32x33_x644_y44.avi")
loop(maskclip,framecount(clip))
dekafka(clip, maskclip, 644, 44, maskclip.width, maskclip.height, 256)

Trim(7690,22644) ++ Trim(26695,59119) ++ Trim(62129,161271)

you can see line 5 column 17 there IS a comma, right?
But maybe there's something else wrong, I can't see..
Can anyone of you help me? The last time I used nearly the same script it worked without problems..
I use asynth 2.0.8.

Thanks a lot,

Mug Funky
11th October 2003, 09:44
perhaps saying "clip clip" to avisynth confuses it.

you should get rid of the "clip, int, float" when you clip an example usage from a help file.

so it should be:
dekafka(clip, maskclip, Xstart = 34, Ystart = 52463, X=341, Y=4574, Amount=50)


i've just guessed the numbers... put your own in there

[edit] in fact, why is that line there anyway? just delete it or put a # in front of it

Tantabootsy
11th October 2003, 11:47
damn, of course!
you're right, I forgot that I put this line in to know which setting to put where.
sometimes you can't see what's so obvious :rolleyes:
thanks for the answer and have a nive weekend :)