30.08.2024, 16:17
On Windows, it's possible to load and use Avisynth filters (!not scripts!) inside Vapoursynth.
You can do this in Hybrid inside 'Filtering->Vapoursynth->Custom' sections.
Here's an example how to load and use DeSpot:
Explanation:
Loads the DeSpot filter from "F:/Hybrid/64bit/Avisynth/avisynthPlugins/despot.dll".
Note that I use slashes (/) instead of backslashes (\) and you need to adjust this path to wherever the filter you want to use is located.
Lets Hybrid know that the filter only supports YUV420P8 (<> 8bit YV12). This should be adjusted according to your needs and the capability of the filter.
calls the filter with the signature from theĀ DeSpot-Avisynth Page.
Note that Vapoursynth uses 'True' and 'False' instead of Avisynths 'true' and 'false'.
returns the clip.
Hope, this helps to load 64bit Avisynth filters in Hybrid if need be.
Cu Selur
You can do this in Hybrid inside 'Filtering->Vapoursynth->Custom' sections.
Here's an example how to load and use DeSpot:
Code:
core.avs.LoadPlugin("F:/Hybrid/64bit/Avisynth/avisynthPlugins/despot.dll")
# requires colorformat YUV420P8
clip = core.avs.DeSpot(clip, median=False,p1=24,p2=12,pwidth=6,pheight=5,ranked=True,sign=0,minpts=0,maxpts=0,p1percent=10,dilate=1,fitluma=True,blur=1,tsmooth=0,motpn=True,seg=2,color=False,mscene=0,mthres=16,mwidth=7,mheight=5,show=0,show_chroma=False,interlaced=False)
return clip
Code:
core.avs.LoadPlugin("F:/Hybrid/64bit/Avisynth/avisynthPlugins/despot.dll")
Note that I use slashes (/) instead of backslashes (\) and you need to adjust this path to wherever the filter you want to use is located.
Code:
# requires colorformat YUV420P8
Code:
clip = core.avs.DeSpot(clip, median=False,p1=24,p2=12,pwidth=6,pheight=5,ranked=True,sign=0,minpts=0,maxpts=0,p1percent=10,dilate=1,fitluma=True,blur=1,tsmooth=0,motpn=True,seg=2,color=False,mscene=0,mthres=16,mwidth=7,mheight=5,show=0,show_chroma=False,interlaced=False)
Note that Vapoursynth uses 'True' and 'False' instead of Avisynths 'true' and 'false'.
Code:
return clip
Hope, this helps to load 64bit Avisynth filters in Hybrid if need be.
Cu Selur