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] How Load Custom VS plugin
#1
Hi! 

I'm trying to connect this VS plugin through the Custom section, but I can't 
https://github.com/dnjulek/VapourSynth-Checkmate 

Can you tell me what my mistake is? 
Connecting AviSynth plugins is easy, but VapourSynth doesn't work for some reason.

core.std.LoadPlugin(path="Z:/soft/HEVC/VS/Checkmate-r2-win64/checkmate.dll")

clip = Checkmate(clip=clip, thr=12, tmax=12, tthr2=0)

Error:
NameError: name 'Checkmate' is not defined
Reply
#2
Instead of:
clip = Checkmate(clip=clip, thr=12, tmax=12, tthr2=0)
you need to use:
clip = core.checkmate.Checkmate(clip=clip, thr=12, tmax=12, tthr2=0)
As a side note:
If you want to use Checkmate, you could use the version that comes with vszip, which should be a bit faster.
Since vszip already come with Hybrid, you could call it through:
core.std.LoadPlugin(path="%FILTERPATH%/Support/vszip.dll")
clip = core.vszip.Checkmate(clip=clip, thr=12, tmax=12, tthr2=0)
see: https://github.com/dnjulek/vapoursynth-z.../Checkmate

Quote:Connecting AviSynth plugins is easy, but VapourSynth doesn't work for some reason.
Unlike Avisysynth, Vapoursynth uses namespaces and has no 'hidden' last-variable.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#3
Thanks!

For those who may need it...
clip = core.vszip.Checkmate(clip=clip, thr=12, tmax=12, tthr2=0)
Reply
#4
Sorry, typo
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)