Selur's Little Message Board
[HELP] How Load Custom VS plugin - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: [HELP] How Load Custom VS plugin (/thread-4049.html)



How Load Custom VS plugin - dsiomnainc - 26.03.2025

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



RE: How Load Custom VS plugin - Selur - 26.03.2025

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-zip/wiki/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


RE: How Load Custom VS plugin - dsiomnainc - 26.03.2025

Thanks!

For those who may need it...
clip = core.vszip.Checkmate(clip=clip, thr=12, tmax=12, tthr2=0)


RE: How Load Custom VS plugin - Selur - 26.03.2025

Sorry, typo