PDA

View Full Version : MeGui - AviSynth Script error


esojmc
24th November 2008, 04:12
I wanted to convert a video using MeGui and deinterlace using yadif but I get the following error:

AviSynth Script Error: Script error: there is no function named "Load_Stdcall_Plugin"

I haven't use yadif in a while but it has worked when I used it earlier (maybe couple of months ago). Is this a problem with the newer version of MeGui (0.3.0.3010)? Any way to fix this?

Thanks.

talen9
24th November 2008, 15:02
Did you load the Yadif dll with the right call?

LoadCPlugin("C:\Program Files\AviSynth 2.5\plugins\Yadif.dll")

Mind the "C" ;)

Substitute in the right path if it's different, of course.

esojmc
24th November 2008, 16:44
talen9, thanks for the reply.

I load up the video and run Analyse and following is what Megui generates for me:

DGDecode_mpeg2source("C:\tmp\video\Video\NBC5-DT2008-11-23_214916.d2v",info=3)
ColorMatrix(hints=true,interlaced=true)
Load_Stdcall_Plugin("C:\Program Files\megui\tools\yadif\yadif.dll")
Yadif(order=-1)
crop( 2, 10, 0, -2)

LanczosResize(1920,1040) # Lanczos (Sharp)
#denoise

I tried changing Load_Stdcall_plugin to LoadCPlugin and I get the following error message:

Not An Avisynth 2 C Plugin: C:\Program Files\megui\tools\yadif\yadif.dll

I CD into that directory and yadif.dll is there. I downloaded another copy of yadif.dll and installed it in the same directory but I still get the same error message

Adub
24th November 2008, 18:33
What version of Avisynth are you using?

esojmc
25th November 2008, 01:45
I couldn't tell what version of AviSynth I had but the install directory was AviSynth2.5. But anyway, I downloaded the latest AviSynth (2.5.7) and reinstalled it and now my problem seems to be fixed.

Thanks.

Adub
25th November 2008, 04:44
Yeah, my assumption is that you were using a pretty old version. For future reference, a simple Version() in a basic script will tell you what version of avisynth you are running.