This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] Adding a new filter to Avisynth
#1
Would you consider adding vmtoon for AviSynth? Or, if I can do it myself, how can I add it?
Reply
#2
I never used VMToon,...
Assuming you know your way around Avisynth, you can call it in a custom section.
You could also write a Custom script/filter additon to include it in the GUI.
(Hybrid\CustomSynthScripts, contains some examples.)

Cu Selur
Reply
#3
I thought I could do it, but I didn't have the knowledge. Can you help me add this filter? To be honest, I would really like you to do this. I looked at the examples, but I couldn't even understand the DLL names; they all seemed to be abbreviated
Reply
#4
I can look at it tomorrow (on my way to bed).
From a quick look, that script is really old and I'm not sure all the dependencies work with Avisynth+ nowadays (preferably 64bit):
  • XSharpen (no clue where to get a download for that)
  • MaskTools (no clue whether a current mask tool version will work)

Why do you ask for support for such an old script if you haven't used it before?
According to https://forum.doom9.org/showthread.php?p=1060081 it does not sound like vmtoon is that good,...

Cu Selur

Ps.: also using Vapoursynth you probably can get easier (maybe better) results for cartoon content.
Reply
#5
Actually, I was using Supertoon, but sometimes it confuses shadows with line art. When I tried the same frames with VMToon on avisynth, the issue was resolved. I don't know, maybe it's as you said and it's bad, but for now, I'm seeing better results. The choice is yours. Good night. 🙂
Reply
#6
Can you share the dlls and scripts you used when using vmToon?
btw. seems like vmToon is old too:
Quote:proToon is a line darkening script, used to be known as vmToon and before that mfToon.
see: http://avisynth.nl/index.php/ProToon
Reply
#7
Oh, sorry about that! tried ProToon and it looks so much better. Let's skip VMToon and go with ProToon instead 🙂 By the way, if I'm not using the wrong version of MaskTools, I'm getting an error with the mt_lutxy parameter in ProToon.avsi.


Attached Files Thumbnail(s)
   
Reply
#8
Okay, ProToon doesn't work for me since I have no 64bit XSharpen dll.
So, I'm not adding that to Hybrid.
Assuming you got all the libraries, you can create a "Filtering->Avisynth->Custom" and enter:
LoadPlugin("PATH TO \64bit\Avisynth\avisynthPlugins\RgTools.dll")
LoadPlugin("PATH TO  \64bit\Avisynth\avisynthPlugins\masktools2.dll")
LoadPlugin("PATH TO  the XSharpen dll")
Import("PATH TO proToon.avsi") # this path need to be adjusted
proToon()
to use it.
I'll write a port for Vapoursynth.

Cu Selur
Reply
#9
Required Plugins
The latest versions of the following filters are recommended unless stated otherwise:

MaskTools2
RemoveGrain (part of the RemoveGrain v1.0b package)
RgTools (recommended drop-in replacement for RemoveGrain!)
WarpSharp
Isn't it enough to install these three? Why are you mentioning XSharpen?
works for me with these three installed
Reply
#10
WarpSharp probably offers XSharpen Smile
=> yes: http://www.avisynth.nl/index.php/WarpSharp, but
Quote: NOTE: the 64-bit WarpSharp plugin has a bug, the output of the Warpsharp() filter on x64 is different then the x32 version [1].
So instead of:
LoadPlugin("PATH TO  the XSharpen dll")
add
LoadPlugin("PATH TO  the warpsharp.dll")
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)