Log in

View Full Version : Script error:there is no function named "lumafilter".help me please.


human75
16th January 2005, 16:36
my script is here.how can i fix this problem in avisynth?my avisnth version is 2.55 build Sep 1 2004
-------------------------------------------------------------------
LoadPlugin("C:\Program Files\MovieStacker\Filters\MPEG2Dec3dg.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\Addgrain.dll")
LoadPlugin("C:\Program Files\MovieStacker\Filters\UnFilter.dll")
AviSource("D:\LONG.avi")
lumafilter(lumoff=-2)
FreezeFrame(0,1,1)
UnFilter(-3, -3)
Addgrain(2,0,0)
bicubicresize(720,360)
addborders(0,60,0,60)
-------------------------------------------------------------
much more thanks for helps..

Cyberia
16th January 2005, 17:51
Delete the whole lumafilter line and retype it. I have seen errors like this due to cutting and pasting from the documentation. I think it's a unicode issue with AviSynth.

Second, in looking at this error, I think I discovered another.

The LumaFilter function works on AVI sources if you use this notation:video=AVISource("D:\movie.avi")
video=video.lumafilter(lumoff=90, lumgain=1.1)
video


but it does NOT work if you use this notation:AVISource("D:\movie.avi")
lumafilter(lumoff=90, lumgain=1.1)

Wilbert
16th January 2005, 19:26
but it does NOT work if you use this notation:
Yes, it does.

@human75,

Perhaps there is no lumafilter in MPEG2Dec3dg.dll. mpeg2dec3 v1.10 and dgmpgdec1013b10 should both work.

human75
17th January 2005, 00:12
much more thanks for helps.i test again my script with your ideas.
thanks

human75
17th January 2005, 01:20
Originally posted by Wilbert
Yes, it does.

@human75,

Perhaps there is no lumafilter in MPEG2Dec3dg.dll. mpeg2dec3 v1.10 and dgmpgdec1013b10 should both work.

yes!!
i find my mistake. i used mpeg2dec 3.0a my old script.
i change my script with MPEG2Dec3dg.dll. mpeg2dec 3.0a is not supporting lumafilter.
Now,lumafilter is wellcome back:-)
much more thanks for helps