Selur's Little Message Board
FIXED - Vapoursynth/SMDegrain fails - 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: FIXED - Vapoursynth/SMDegrain fails (/thread-3162.html)



FIXED - Vapoursynth/SMDegrain fails - vlada - 07.04.2023

Whenever I try my favourite SMDegrain filter in Vapoursynth, it crashs. Currently I'm testing Hybrid 2023.03.17.1 (Win64). Even with latest smdegrain.py from github. The last version it worked was for me 2022.05.04.1. Doesn't matter video source.

Other Vapoursynth filters works.

Hint: When I try preview in compare mode, it produces this failure:
2023-04-07 10:20:01.443
Failed to evaluate the script:
Python exception: Plugin C:/Program Files/Hybrid/64bit/vsfilters/GrainFilter/RemoveGrain/RemoveGrainVS.dll already loaded (com.vapoursynth.removegrainvs) from C:/Program Files/Hybrid/64bit/Vapoursynth/vapoursynth64/coreplugins/RemoveGrainVS.dll

Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 2866, in vapoursynth._vpy_evaluate
File "src\cython\vapoursynth.pyx", line 2867, in vapoursynth._vpy_evaluate
File "C:\test\tempPreviewVapoursynthFile10_20_01_082.vpy", line 11, in
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/GrainFilter/RemoveGrain/RemoveGrainVS.dll")
File "src\cython\vapoursynth.pyx", line 2612, in vapoursynth.Function.__call__
vapoursynth.Error: Plugin C:/Program Files/Hybrid/64bit/vsfilters/GrainFilter/RemoveGrain/RemoveGrainVS.dll already loaded (com.vapoursynth.removegrainvs) from C:/Program Files/Hybrid/64bit/Vapoursynth/vapoursynth64/coreplugins/RemoveGrainVS.dll

If I comment out loading RemoveGrainVS.dll in preview source, it works.
But I don't know how to similarly fix encode .vpy script

Thank you.


RE: Vapoursynth/SMDegrain fails - Selur - 07.04.2023

Looking at the VapourSynth Script Hybrid only loads Removegrain once.
So it should only be there if there is a global VapourSynth installation which autoloads RemoveGrain.
Sadly, unlike Avisynth, VapourSynth has no option to clear any outside loaded files.
=> If you got a global VapourSynth version installed, deinstall it.

Cu Selur


RE: Vapoursynth/SMDegrain fails - Selur - 07.04.2023

Correction:
C:/Program Files/Hybrid/64bit/Vapoursynth/vapoursynth64/coreplugins/RemoveGrainVS.dll
->deinstall Hybrid completely and reinstall it.

That folder should only contain 'AvsCompat.dll' nothing else.
The installer only puts 'AvsCompat.dll' there.

Cu Selur


RE: Vapoursynth/SMDegrain fails - vlada - 07.04.2023

My big apologize, now I will remember fresh install is needed. Thank you very much for quick and correct solution.

V.


RE: FIXED - Vapoursynth/SMDegrain fails - dma - 17.09.2023

Ha!  I've had the same problem for a while through multiple Hybrid versions and kept thinking the next version would magically fix it.  The Avisynth version of SMDegrain worked, which I think is slower but it's fine, except 4k encoding becomes terribly slow. 

Finally searched this and other forums Hybrid is on for a fix, and this thread showed up.

Glad to have SMDegrain Vapoursynth version working again. SMDegrain and Hybrid are impressive.  Thank you.


RE: FIXED - Vapoursynth/SMDegrain fails - humanoid86 - 18.09.2023

(17.09.2023, 19:26)dma Wrote: Ha!  I've had the same problem for a while through multiple Hybrid versions and kept thinking the next version would magically fix it.  The Avisynth version of SMDegrain worked, which I think is slower but it's fine, except 4k encoding becomes terribly slow. 

Finally searched this and other forums Hybrid is on for a fix, and this thread showed up.

Glad to have SMDegrain Vapoursynth version working again. SMDegrain and Hybrid are impressive.  Thank you.

there are many pixels in a frame of UHD content to process if the video source is SD or HD. then it’s better to upscale the SD to HD with different filters, or HD and fix it with filters. then clean HD do a regular upscaling to UHD.