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
#13
Quote: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.
here too, using:
ClearAutoloadDirs()
SetFilterMTMode("DEFAULT_MT_MODE", MT_MULTI_INSTANCE)
LoadPlugin("F:\Hybrid\64bit\Avisynth\avisynthPlugins\LSMASHSource.dll")
LoadPlugin("F:\Hybrid\64bit\Avisynth\avisynthPlugins\RgTools.dll")
LoadPlugin("F:\Hybrid\64bit\Avisynth\avisynthPlugins\masktools2.dll")
LoadPlugin("F:\Hybrid\64bit\Avisynth\avisynthPlugins\warpsharp.dll")
Import("F:\Hybrid\64bit\Avisynth\avisynthPlugins\mtmodes.avsi")
# loading source: G:\TestClips&Co\files\test.avi
# color sampling YV12@8, matrix: bt601, scantyp: progressive, luminance scale: limited
LWLibavVideoSource("G:\TestClips&Co\files\test.avi",cache=false,dr=true,format="YUV420P8", prefer_hw=0)
# current resolution: 640x352
Import("F:\Hybrid\CustomSynthScripts\proToon-v0.75.avsi")
# calling custom script 'ProToon'
proToon(strength=48, luma_cap=191, thinning=24, mask=true, show=false, sharpen=true, ssw=4, ssh=4, xstren=255, xthresh=255)
# Converting from 8 to 10bit for encoder
ConvertBits(10)
# setting output fps to 25.000fps
AssumeFPS(25,1)
PreFetch(16)
#  output: color sampling YV12@10, matrix: bt601, scantyp: progressive, luminance scale: limited
return last

What masktools2 version is needed for this to work?
(atm. it seems like there is a bug when thinning is used)

Cu Selur
Reply


Messages In This Thread
Adding a new filter to Avisynth - by renarchi - 27.07.2024, 20:38
RE: Adding a new filter to Avisynth - by Selur - 28.07.2024, 15:24

Forum Jump:


Users browsing this thread: 1 Guest(s)