Log in

View Full Version : Can MaskTools and MaskTools2 be called in the same script?


Chainmax
22nd February 2006, 21:03
I'm going to use the following filter calls in an encode:

LoadPlugin("X:\wherever\FFT3DFilter.dll")

LoadPlugin("X:\wherever\CNR2.dll")

LoadPlugin("X:\wherever\hqdn3d.dll")

LoadPlugin("X:\wherever\MaskTools.dll")
LoadPlugin("X:\wherever\DCTFilter.dll")
LoadPlugin("X:\wherever\DGDecode.dll")
Import("X:\wherever\DeBlock_QED.avs")

LoadPlugin("X:\wherever\MT_MaskTools.dll")
LoadPlugin("X:\wherever\Repair.dll")
Import("X:\wherever\DeHalo_Alpha (MaskTools2).avs")

LoadPlugin("X:\wherever\RemoveGrain.dll")
Import("X:\wherever\LimitedSharpenFaster.avs")

LoadPlugin("X:\wherever\EEDI2.dll")

LoadPlugin("X:\wherever\AddGrain.dll")


Now, I know if there's some kind of conflict then it just won't work, but could I expect some graphical glitches of some sort combining these two versions?

Didée
22nd February 2006, 22:30
It should be fine that way. Manao designed MaskTools2 in such a way that old and new version can coexist without conflicting. So you're able to load both versions of MT, import functions that use either old, new or even both versions of MT, and everything should run just fine.

However the world is not perfect ... if you manage to find some bugs, report them. I've heard Manao loves bugs, and is always happy to get some new ones for his collection. :D

Chainmax
22nd February 2006, 22:55
Maybe mg262 could mod DeBlock_QEDFaster sing MaskTools2 :D.

foxyshadis
23rd February 2006, 01:53
http://www.avisynth.org/mediawiki/wiki/Deblock_QED

That was one of the scripts I uploaded for testing mediawiki, a month or two ago. :p

Chainmax
27th February 2006, 17:05
Hey, you even wrote a small readme, thanks :)!

By the way, could you mod FixChromaBleeding (http://forum.doom9.org/showthread.php?t=77074&highlight=fixchromableeding) with Didée's suggestion so that it uses MaskTools2?

[edit]
I get a "there is no function called binarize" error. Are there more plugins needed than DGDecode, DCTFilter and MT_MaskTools?

frednerk
1st March 2006, 10:42
Nice job, Foxyshadis! In http://forum.doom9.org/showthread.php?p=784693#post784693 Didee mentions foxyshadis' adaption of Soothe() for MasktTools v2 ... any chance of that in the Wiki :) and maybe linked to in http://www.avisynth.org/mediawiki/wiki/User:Clouded/Rough_Classification ? In the meantime, I'll search the forums for it. Thanks, and by the way did I say Thanks ?
Edit: found it at http://forum.doom9.org/showthread.php?p=784366#post784366

foxyshadis
1st March 2006, 11:15
Oddly enough I was just getting around to adding it to the wiki when I saw your comment. :p

http://www.avisynth.org/mediawiki/wiki/Soothe