PDA

View Full Version : Running SeeSaw in MeGUI?


Wintershade
8th September 2007, 19:06
I tried to use SeeSaw in MeGui by renaming the SeeSaw.avs to SeeSaw.avsi and loading MaskTools as a plugin, but MeGUI's AviSynth Script Creator always crashes with a message "External program returned an exception".

Could someone guide me into efficiently implementing SeeSaw in MeGUI?

Many thanks.

Didée
8th September 2007, 20:31
What's the error message when you use e.g. Vdub to open the created script?

Needed plugs are
- mt_masktools.dll
- RemoveGrain.dll + Repair.dll
(-- from RemoveGrain v1.0pre (http://home.arcor.de/kassandro/RemoveGrain/RemoveGrain.rar), not from the official v0.9!)
(-- do NOT! use any *SSE3.dll versions)

TheRyuu
8th September 2007, 23:01
What's the error message when you use e.g. Vdub to open the created script?

Needed plugs are
- mt_masktools.dll
- RemoveGrain.dll + Repair.dll
(-- from RemoveGrain v1.0pre (http://home.arcor.de/kassandro/RemoveGrain/RemoveGrain.rar), not from the official v0.9!)
(-- do NOT! use any *SSE3.dll versions)

Whats wrong with SSE3 versions? (I use them...)

foxyshadis
9th September 2007, 01:04
They have a subtle overflow bug that crashes under the right conditions.

TheRyuu
9th September 2007, 03:19
They have a subtle overflow bug that crashes under the right conditions.

I've been using the SSE3 versions for a long time (6+ months), never happened to me.

Maybe I should switch to the SSE2 versions :p

LL00
9th September 2007, 09:19
try LSF and SSE3 and you see the crash :)

Wintershade
9th September 2007, 11:54
What's the error message when you use e.g. Vdub to open the created script?

Needed plugs are
- mt_masktools.dll
- RemoveGrain.dll + Repair.dll
(-- from RemoveGrain v1.0pre (http://home.arcor.de/kassandro/RemoveGrain/RemoveGrain.rar), not from the official v0.9!)
(-- do NOT! use any *SSE3.dll versions)

The error message I am getting now is
Script error: There is no function named "yv12lutxy"
(¤ä□, line 72)

I understand the funcion yv12lutxy is supposed to be in the mt_masktools.dll, so I figure that the problem might be in the mt_masktools.dll. Which build of the mt_masktools am I supposed to use (I tried using those from Manao's site)? Or are there any other plugins I should import beside the mt_masktools.dll and others you mentioned?

My script looks like this:

LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\mt_masktools.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Deen.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\RemoveGrain.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\Repair.dll")
DGDecode_mpeg2source("D:\Temp\DVD-ripping\VTS_01_1.d2v",cpu=4,info=3)
ColorMatrix(hints=true)
crop( 22, 0, -22, -2)

BicubicResize(720,416,0,0.5) # Bicubic (Neutral)
a = last
b=a.RemoveGrain(mode=25,modeu=1).Deen()
SeeSaw(a,b, NRlimit=6, NRlimit2=7, Sstr=1.5, Slimit=5, Spower=5, Sdamplo=6, Szp=16)

edit: and don't worry about me using SSE3... my processor is an old 32-bit AthlonXP :D

Wintershade
9th September 2007, 12:06
Hmm, ok I think I figured it. Seems I forgot to load MaskTools.dll...
but then again, now it seems that, if I load MaskTools.dll (v1.5.8) and comment out the mt_masktools.dll, there are also no errors.
What is mt_masktools.dll actually used for?

Thanks.

Didée
9th September 2007, 13:53
Ah, the dreadful MaskTools mess. :sigh:

mt_masktools.dll is used by those functions that use MaskTools v2.

masktools.dll is used by those functions that use MaskTools v1. (e.g. the original/old/notmodified version of SeeSaw.)

Always importing both masktools.dll and mt_masktools.dll is what many people do. (Me too. ;) )


About *SSE3.dll's of RemoveGrain/Repair ...

Even if they "work", there's no performance gain to get from these. The *SSE2 variants are same fast.

OTOH, there have been numerous cases of where scripts using those *SSE3-dlls wouldn't even load correctly, or 2-pass encodings do hang at 99% of the first pass, and whatnotever.

That's why I generally recommend to not use these SSE3 dlls: they bring no benefit, but potential problems.

Wintershade
9th September 2007, 15:05
masktools.dll is used by those functions that use MaskTools v1. (e.g. the original/old/notmodified version of SeeSaw.)

How do I know which version of SeeSaw I have and whether I should use the newer/modified version?

foxyshadis
9th September 2007, 16:11
If you look inside it and see mt_ prefixes anywhere, it needs mt_masktools. (Some mt2 scripts still use mt1 functions, which is why it's a good idea to have both.) Or you could test the direct way, leave one off and see if it complains. :p

You can get either version from the wiki, see the sticky.

Wintershade
9th September 2007, 17:39
If you look inside it and see mt_ prefixes anywhere, it needs mt_masktools. (Some mt2 scripts still use mt1 functions, which is why it's a good idea to have both.) Or you could test the direct way, leave one off and see if it complains. :p

You can get either version from the wiki, see the sticky.

OK, seems like I don't need mt_masktools since there are no mt_ prefixes in my copy of SeeSaw.avsi.
BTW, seems like I'm stupid... where's the wiki? :confused:

foxyshadis
9th September 2007, 17:43
avisynth.org, sorry.

TheRyuu
10th September 2007, 08:54
try LSF and SSE3 and you see the crash :)

I use that all the time and it's fine.

numerous cases of where scripts using those *SSE3-dlls wouldn't even load correctly, or 2-pass encodings do hang at 99% of the first pass, and whatnotever.

Never happened to me.
Have I gotten...lucky?

But, now that I'm aware of it, I'm gonna use the SSE2 versions. :p