View Full Version : Avisynth Compatibility usage survey
Myrsloik
14th July 2021, 14:29
I'm curious if anyone actually uses the feature nowadays and if so, which parts of it.
ChaosKing
14th July 2021, 17:14
I think I used avsw.Eval() more often then avs.Loadplugin() in the past since I needed also some avs scripts.
If avsw.Eval() could support 64bit avisynth + HBD* then it would be the perfect replacement for the AVS Compatibility Layer. As far as I remember you don't need to have avisynth installed, setting the dll-path argument is enough.
* HBD is possible via the "Stack16" format, but native 16/32bit support would be nice.
Myrsloik
14th July 2021, 17:19
I think I used avsw.Eval() more often then avs.Loadplugin() in the past since I needed also some avs scripts.
If avsw.Eval() could support 64bit avisynth + HBD* then it would be the perfect replacement for the AVS Compatibility Layer. As far as I remember you don't need to have avisynth installed, setting the dll-path argument is enough.
* HBD is possible via the "Stack16" format, but native 16/32bit support would be nice.
You'd still get the IPC overhead with avsw though. I guess it's a tradeoff in the end. Did frame properties catch on in Avisynth yet?
ChaosKing
14th July 2021, 18:04
Yes, they are currently mostly implemented in scripts/plugins by pinterf and Asd-g.
For example:
https://github.com/Asd-g/AviSynthPlus-Scripts/blob/0ed568b3b995e00ba94ee8c9b4159ab266e81f45/GMSD.avsi#L94
https://github.com/AkarinVS/L-SMASH-Works/commit/711688689fe9a75c4ae9a12f0a599cf986794582
Selur
14th July 2021, 19:51
I usually use only native Vapoursynth plugins, but sometime use AutoAdjust, amDCT and CCD on YV12 content.
DJATOM
15th July 2021, 05:53
Sometimes I have to use avsw and avs for one single filter (that I was lazy enough to make native) — CullResize.
Myrsloik
15th July 2021, 12:53
Sometimes I have to use avsw and avs for one single filter (that I was lazy enough to make native) — CullResize.
I completely forgot about the avsw option. Also, stop being lazy.
feisty2
15th July 2021, 13:03
I still use the avisynth compatibility for frfun7 (http://avisynth.nl/index.php/Frfun7) to remove dot crawl, unfortunately I cannot port this plugin to vaporsynth because the source code was never released :(
Myrsloik
15th July 2021, 14:27
I still use the avisynth compatibility for frfun7 (http://avisynth.nl/index.php/Frfun7) to remove dot crawl, unfortunately I cannot port this plugin to vaporsynth because the source code was never released :(
Which version is the more relevant one? The one called rev6 or 2013? Such a small plugin should be fairly easy to reverse engineer and I have a great interest in dot crawl removal....
Disregard that. I'll just ask PrudeTree directly.
kedautinh12
15th July 2021, 15:09
If PrudeTree don't reply, will you make a plugin same frfun7???
Myrsloik
15th July 2021, 15:19
If PlumTree don't reply, will you make a plugin same frfun7???
Already got his reply. It's a plain NLM-denoiser unintentionally good at removing dot crawl. Not going to try to recreate it. Maybe I'll one day play around with this unintentionally useful method in my own dotkill filter.
Reel.Deel
15th July 2021, 18:01
Which version is the more relevant one? The one called rev6 or 2013? Such a small plugin should be fairly easy to reverse engineer and I have a great interest in dot crawl removal....
Disregard that. I'll just ask PrudeTree directly.
Frfun rev6 is better in terms of speed/quality. Prune no longer has the source code for that version, sadly. Not long after rev6 was released, the source code was modified, it added the "p" parameter along with internal changes, this version was released years after as the "2013" version. Unfortunately the output of rev6 and 2013 are not identical, to get the same quality as rev6 one has to set p=1 in the 2013 version, but it is much slower than the rev6 version.
Pinterf has a fully working x64 version after prune released the source code some months ago. I got really busy at some point and it delayed my testing. Anyways, an open source for frfun is right around the corner :)
GMJCZP
15th July 2021, 18:57
If this discussion involves a modernization of the Prunedtree plugin collection I am the first to support it, and if it is DualSynth it would be ideal.
Myrsloik is absolutely right that by reverse engineering the structure of each plugin can be deciphered.
If you ask Prunedtree a question and it doesn't answer, ask Soulhunter.
Myrsloik
15th July 2021, 19:02
If this discussion involves a modernization of the Prunedtree plugin collection I am the first to support it, and if it is DualSynth it would be ideal.
Myrsloik is absolutely right that by reverse engineering the structure of each plugin can be deciphered.
The problem is that both and I and PrunedTree agree that the modernization should be by writing new and better filters every time I ask him how some of his old creations work. Makes it hard to get motivated.
feisty2
15th July 2021, 19:14
I'm curious of how frfun7 works exactly, because we have plenty of NLMeans plugins out there and none of them is as effective as frfun7 in terms of dot crawl removal.
GMJCZP
15th July 2021, 19:17
The problem is that both and I and PrunedTree agree that the modernization should be by writing new and better filters every time I ask him how some of his old creations work. Makes it hard to get motivated.
I understand it, but being a regular user of several of those plugins for years I am reluctant to accept it entirely with the rebelliousness of a boy, don't get me wrong.
Although it is for historical purposes, the Prunedtree collection should last over time with some adjustment, even if it is with "a good coat of paint."
lansing
16th July 2021, 02:40
I only use it for its virtualdub plugin filter because there's no native vs plugin for that.
pinterf
16th July 2021, 08:39
Pinterf has a fully working x64 version after prune released the source code some months ago. I got really busy at some point and it delayed my testing. Anyways, an open source for frfun is right around the corner :)
Anyway, I made it now public, but please wait a bit until it really gets finished: https://github.com/pinterf/Frfun7/
Tima
16th July 2021, 22:18
I usually use only native Vapoursynth plugins, but sometime use AutoAdjust, amDCT and CCD on YV12 content.
Same story here.
I occasionally use AutoAdjust and amDCT, but can live without them (or just go Avisynth-only when I can't).
Basically, CCD is the only plugin that makes me to stick with AVS compat.
There was an (unfinished) conversion effort:
https://forum.doom9.org/showthread.php?t=182152
Source code of the original filter:
https://forum.doom9.org/showthread.php?p=1916925#post1916925
kedautinh12
17th July 2021, 14:15
Other people finish project
https://github.com/End-of-Eternity/vs-ccd/releases
Still working on vs-ccd, but I will look into doing AutoAdjust and amDCT at some point. Can someone link me to the most up to date versions for these in case they're burried somewhere?
ChaosKing
20th July 2021, 19:48
AutoAdjust is not opensource. See gdrive link for amDCT here https://forum.doom9.org/showthread.php?t=174433
ChaosKing
18th May 2022, 07:56
I still use the avisynth compatibility for frfun7 (http://avisynth.nl/index.php/Frfun7) to remove dot crawl, unfortunately I cannot port this plugin to vaporsynth because the source code was never released :(
Your prayers have been heard https://github.com/dubhater/vapoursynth-frfun7
Selur
18th May 2022, 17:43
Sadly there is no stable working RemoveDirt and no avaiable alternative to avsInpaint (hoping for a port of InpaintDelogo).
Julek
18th May 2022, 19:31
Sadly there is no stable working RemoveDirt and no avaiable alternative to avsInpaint (hoping for a port of InpaintDelogo).
You can inpainting in vapoursynth via OpenCV
Doc:
https://docs.opencv.org/4.x/df/d3d/tutorial_py_inpainting.html
Example:
https://github.com/WolframRhodium/muvsfunc/wiki/OpenCV-Python-for-VapourSynth#inpainting
Selur
19th May 2022, 14:20
@Julek: Thanks that looks interessting, may be posting InpaintDelogo is possible with this.
VoodooFX
19th May 2022, 15:07
You can inpainting in vapoursynth via OpenCV
@Julek: Thanks that looks interessting, may be posting InpaintDelogo is possible with this.
AvsInpaint is not a one function, so OpenCV can't substitute it, moreover, photo inpainting is quite different thing from video inpainting.
Even if you would have all necessary dlls ported to VS, then translating InpaintDelogo to VS sounds like an insane task, it's twice the size of QTGMC... :eek:
Selur
19th May 2022, 15:21
then translating InpaintDelogo to VS sounds like an insane task, it's twice the size of QTGMC...
first 900 lines are comments, the deprecated stuff wouldn't have to be ported, but you are right, it would be a ton of work even if each of the dlls got ported. :(
So for restortation stuff one would probably have to use:
- Avisynth for most stuff that uses RemoveDirt and InpaintDelogo
- Vapoursynth for using some of the ml based denoisers&co (DPIR, BasicVSR++) and ml based resizers like RealESRGAN.
Cu Selur
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.