Log in

View Full Version : Help with LSF script


nightrhyme
21st January 2007, 13:39
Been trying to make LimitedSharpenFaster work. Been searching to see what should be imported. But I can't make it work.

I'm using most recent Masktools and Removegrain.

# PLUGINS
LoadPlugin("C:\PROGRA~1\GORDIA~1\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\RemoveGrainSSE2.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\mt_masktools.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\UnDot.dll")
Import("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\LimitedSharpenFaster.avs")

# SOURCE
mpeg2source("E:\Adams Æbler DVD\rip\VTS_01_1.d2v")

LimitedSharpenFaster(ss_x=1.0,ss_y=1.0,Smode=3,strength=40)

This is the error I get (I understand MT_Edge refers to Masktools. But I have no idea how to fix it):

http://img245.imageshack.us/img245/6664/error8vg.gif

Hope someone know whats wrong

Thanx in advance.

Didée
21st January 2007, 13:49
Hmh, that's strange. After all, you're importing the needed mt_masktools ...

What happens if you comment out the three lines "edge = ... \ ... \ ..." in the LSF script, and write in "edge = clp" instead? (per default, LSF doesn't use the edge clip anyways). Will it work then, or do you get another error?

nightrhyme
21st January 2007, 14:32
If i replace the 3 lines with "edge = clp" i get this error:

http://img181.imageshack.us/img181/4830/error7gm.gif



However i don't think it's your script.
I tried commenting out the import of Masktools and i get the exact same error. It's like Masktools isn't beeing used.

# PLUGINS
LoadPlugin("C:\PROGRA~1\GORDIA~1\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\RemoveGrainSSE2.dll")
#LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\mt_masktools.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\UnDot.dll")
Import("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\LimitedSharpenFaster.avs")



# SOURCE
mpeg2source("E:\Adams Æbler DVD\rip\VTS_01_1.d2v")


LimitedSharpenFaster(ss_x=1.0,ss_y=1.0,Smode=3,strength=40)

foxyshadis
21st January 2007, 15:00
You didn't happen to just rename masktools.dll to mt_masktools.dll, did you? >.> You might want to download both from manao's site just to be sure they're correct.

But it's certainly possible that it's a general failure corrupting the script environment, just doesn't seem likely.

nightrhyme
21st January 2007, 15:11
No didn't rename masktools. I only have mt_masktools.dll in my plugins. Do I also need masktools.dll.

The download from Manao only contained mt_masktools.dll

HeadBangeR77
21st January 2007, 20:51
No didn't rename masktools. I only have mt_masktools.dll in my plugins. Do I also need masktools.dll.

The download from Manao only contained mt_masktools.dll
This might sound stupid and trivial, but I "renamed" (to be precise: copied somewhere else, renamed, and pasted into my plug-ins catalog, so that I've got two libraries) "mt_masktools.dll" into "MaskTools.dll". In all my scripts, where I use LSF, I always load "MaskTools.dll" and everything seems to work fine :)

PS. 2.0-alpha30 from the 6th of June 2006. LSF script, that came with this package - I posted the scipt in the LSF-thread, cause someone was asking for it.

HeadBangeR77
21st January 2007, 20:55
If it matters:

LimitedSharpen() ( a modded version, 29 Oct 2005 )
(...)
- MODIFIED version using MaskTools 2.0

PS. I've called and used mt_masktools.dll (remember, it's the same as MaskTools.dll) and no problems here, must be sth else than just plain renaming (I said my idea could be stupid :P).