Log in

View Full Version : LoadPlugin problem


jollytim
24th July 2002, 05:44
I am running WinXP Pro, I just recently had to reload the OS and now I can't get my asf files to load into Vdub. I get the message

I don't know what "LoadPlugin" means on line 8

This message appears where the video should be displayed.
Here is my asf file with the aforementioned line 8

#
# Created with Gordian Knot
#
# http://thewef.nav.to
#
# PLUGINS
# get them from http://users.win.be/dividee
LoadPlugin("C:\GORDIA~1\mpeg2dec.dll")
#LoadPlugin("C:\GORDIA~1\InverseTelecine.dll")
#LoadPlugin("C:\GORDIA~1\Avisynth_Spatial.dll")
#LoadPlugin("C:\GORDIA~1\GreedyHMA.dll")
#LoadPlugin("C:\GORDIA~1\vobsub.dll")
#
# SOURCE
mpeg2source("C:\All_VOBs\A_BEAUTIFUL_MIND\beautifulproject.d2v")
#
# TRIM
#trim(startframe,endframe)
#
# IVTC
#InverseTelecine(40,10,15)
# or use
#GreedyHMA(1,0,4,0,0,0,0,0)
#
# CROPPING
crop(0,7,718,459)
#
# DEINTERLACING
#SmartDeinterlace(2,15,true,true,true)
# or use
#VerticalReduceBy2
# or maybe
#GreedyHMA(1,0,0,0,0,0,0,0)
#
# SUBTITLES
#VobSub("FileName")
#
# RESIZING
BicubicResize(480,256,0,0.5)
#
# DENOISING: choose one combination (or none)
# 1) little noise (fast)
#TemporalSmoother(2,1)
#
# 2) medium noise (slow)
#SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
#TemporalSmoother(2)
#
# 3) heavy noise (very slow, you have been warned)
#SpatialSoftenMMX(2,4,6,false,false,4,4,6,8)
#TemporalSmoother(3)
#SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
#
# BORDERS
#AddBorders(left,top,right,bottom)
#
# COMPRESSIBILITY CHECK
# !Snip Size has to be 13 for use in GKnot!
#SelectRangeEvery(260,13)
#
# FOOL CCEnc
#ResampleAudio(44100)


It doesn't matter which version of Vdub I use (same code with Nandub). I rip with smartripper, use DVD2AVI (1.76) for d2v, Gordian Knot for avs. I'm using the same process and programs that have worked for along while now, the only difference is I reloaded my OS. Yes the dll's are where they are listed in the avs file. I've tried Auxsetup, loading msvcr70 in the system directory etc. Any help would be appreciated, I will provide more information if needed.

Wilbert
24th July 2002, 10:41
Did you install AviSynth correctly (under \system32)? What happens if you make an avs-file containing:

version()

jollytim
24th July 2002, 15:34
Actually I didn't install Avisynth correctly but when I did, nothing changed. I'm not sure what you mean about version() but when I add that to the avs file, it skips over it with no error. I then remarked out the LoadPlugin line, the new error message goes to

I don't know what "mpeg2source" means on line 16

here's the sample avs

#
# Created with Gordian Knot
#
# http://thewef.nav.to
#
version()
# PLUGINS
# get them from http://users.win.be/dividee
#LoadPlugin("C:\GORDIAKNOT\mpeg2dec.dll")
#LoadPlugin("C:\GORDIA~1\InverseTelecine.dll")
#LoadPlugin("C:\GORDIA~1\Avisynth_Spatial.dll")
#LoadPlugin("C:\GORDIA~1\GreedyHMA.dll")
#LoadPlugin("C:\GORDIA~1\vobsub.dll")
#
# SOURCE
mpeg2source("C:\All_VOBs\A_BEAUTIFUL_MIND\beautifulproject.d2v")
#

I'm completly baffled. Perhaps there are some other dll's I'm missing?.........

jollytim
24th July 2002, 15:39
Okay, removing all statement but the version() causes this message,

Avisynth v0.3, copyright 2000 Ben Rudiak-Gould

Maybe not the latest and greatest eh? But it used to work....

Wilbert
24th July 2002, 16:11
I then remarked out the LoadPlugin line, the new error message goes to ... I don't know what "mpeg2source" means on line 16

That's explainable. He doesn't load the plugin, and so he doesn't know what mpeg2source is. As for your first post. I really don't know. Maybe it helps if you try a new version (v1.b05, v1.b07d or v2.01).

jollytim
24th July 2002, 17:48
Okay I tried that Avisynth v1.0b6. Now the error message changes to a popup window, says LoadPlugin unable to load then gives the path to the mpeg2dec.dll then gives line 8 as the source of the error.

The dll exists at the path location and I've tried the newest version of that dll too.

Is there anything perhaps related to C++ that may be missing when I reloaded my OS?

Trahald
24th July 2002, 18:39
#LoadPlugin("C:\GORDIAKNOT\mpeg2dec.dll")

missing an 'N'

anyways.. i would leave it gordia~1 like the other lines

or type it exactly how the directory appears in explorer ;)

use the newest gordian knot

Trahald
24th July 2002, 18:44
and kill the # of course

anyways
mpeg2dec is a mpeg2 decoder (dll)

mpeg2source command lets avi synth load mpeg2 files (dvd, svcd)

mpeg2source command is made possible by the mpeg2dec dll

jollytim
25th July 2002, 20:20
You are correct, I was missing an 'N' in the code, I changed it back to the ~1 format and unremarked it. Now everything works!!?

I loaded a different mpeg2dec.dll and have a newer Avisynth install. I'm still not sure what caused the problem and with my self inflicted coding error, I'm not sure what fixed it.... I have a hunch that the original reply was correct as I had Avisynth installed in the \system directory and not the \system32 directory.

Thanks for all the help everyone.

seannyb
16th October 2002, 01:53
I'm having a similar problem...

I installed newest AVIsynth (merged install.reg and installed DLL into /system and /system32 directory and rebooted, just to be extra- extra- sure). The "version" tutorial AVS works.

I put the d2v & MPEG2DEC.dll in my root directory (plain old C:\) just to be extra extra sure. I wrote this AVS

LoadPlugin("C:\MPEG2DEC.DLL")
mpeg2source("C:\1.d2v")

and still gives me I don't know what "LoadPlugin" means on line 1

Wilbert
16th October 2002, 09:38
Strange! What version are you using? Can you try one of the v2.xx versions?