PDA

View Full Version : Resetmask - error without ever used resetmask ?!?


scharfis_brain
25th April 2004, 14:40
I am sometimes getting the follwing error

AVISynth open error:
Resetmask: RGB32 Data only

when using scripts using masktools.dll

This happens, when trying to use CrappyCombmask()
or the modified Restore24() with DEdgemask().

I have no Idea why this error message occurs, because there's never used a function resetmask().

mf
25th April 2004, 15:36
Throw in LoadPlugin("MaskTools149.dll") before the line where the error occurs. You can then load a newer version later in the script if necessary.

Didée
25th April 2004, 19:38
Ah, yes. That one I encountered, too (and got eyes like tea cups when I saw it).

Got it solved somehow, but first have to return tomorrow to the other PC in my 2nd home, where the relating sources and scripts do reside :rolleyes:, to have a look what it was about.

Could be some simple colorspace conflict, but perhaps something fishy is going on when using DEdgeMask in AviSynth's conditional environment. I really can't tell for now.

- Didée

scharfis_brain
25th April 2004, 22:29
the error disappears when using the newest AVISynth binary...

Strange...

Didée
26th April 2004, 00:44
Now that you tell it: Yes, exactly that was the trick! :D

mf
26th April 2004, 09:48
For lazy updaters like me, I prefer the LoadPlugin approach :D.

scharfis_brain
26th April 2004, 11:47
mf, I do not understand...

I never use plugin autoloading, if you mean that...

mf
26th April 2004, 12:34
Originally posted by scharfis_brain
mf, I do not understand...

I never use plugin autoloading, if you mean that...
I don't use plugin autoloading either. Re-read the first reply.

scharfis_brain
26th April 2004, 12:52
ahhh!

now your first post is making sense to me, too!

plugin autoloading may be very useful for 'linear' scripting without much masking / conditionals etc. (simple DVD-Backup)

but if you put in advanced avisynth features and scripting, autoloading sometimes completely messes up, because more and more often the correct order of loading the plugins and EX-Plugins is very important.