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] New to Hybrid, trying to figure some things out...
#3
Hmm, I tried replacing dehalo.py and I also updated to the latest Hybrid version that was released yesterday. Now it seems like I cannot use some of my other filters for whatever reason. Yesterday I was able to use everything that I tried to use, except the De-Halo stuff.




Today I am getting this error when I try to use MLDegrain:

2025-05-18 10:12:22.616
VapourSynth plugins manager: Failed to load vapoursynth library!
Please set up the library search paths in settings.

Failed to evaluate the script:
Python exception: name 'scale' is not defined
Traceback (most recent call last):
File "src\\cython\\vapoursynth.pyx", line 3387, in vapoursynth._vpy_evaluate
File "src\\cython\\vapoursynth.pyx", line 3388, in vapoursynth._vpy_evaluate
File "C:\Users\harri\AppData\Local\Temp\tempPreviewVapoursynthFile10_12_22_522.vpy", line 53, in
clip = degrain.MLDegrain(clip=clip, soft=[0,0,0])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Hybrid\64bit\vsscripts\degrain.py", line 334, in MLDegrain
lev2 = MLD_helper(sm2, sm2, tr, thSAD, rec, chroma, soft[0]) # Filter on smalle scale
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Hybrid\64bit\vsscripts\degrain.py", line 368, in MLD_helper
sup1 = S(DitherLumaRebuild(srch, 1), hpad=bs, vpad=bs, pel=pel, sharp=1, rfilter=4)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Program Files\Hybrid\64bit\vsscripts\degrain.py", line 840, in DitherLumaRebuild
t = f'x {scale(16, bits)} - {scale(219, bits)} / 0 max 1 min' if is_integer else 'x 0 max 1 min'
^^^^^
NameError: name 'scale' is not defined



Trying to use Dehalo Alpha with the NEW dehalo.py in the \vsscripts directory:

2025-05-18 10:14:18.222
VapourSynth plugins manager: Failed to load vapoursynth library!
Please set up the library search paths in settings.

Failed to evaluate the script:
Python exception: name 'TypeVar' is not defined
Traceback (most recent call last):
File "src\\cython\\vapoursynth.pyx", line 3387, in vapoursynth._vpy_evaluate
File "src\\cython\\vapoursynth.pyx", line 3388, in vapoursynth._vpy_evaluate
File "C:\Users\harri\AppData\Local\Temp\tempPreviewVapoursynthFile10_14_18_016.vpy", line 27, in
import dehalo
File "C:\Program Files\Hybrid\64bit\vsscripts\dehalo.py", line 5, in
from typing import Union, Optional, Sequence; TypeVar
^^^^^^^
NameError: name 'TypeVar' is not defined



CAS and MCTemporalDenoise are still able to generate previews for me, but I am very briefly seeing the script failed pop-up with this message before the preview window comes up:

2025-05-18 10:16:04.041
VapourSynth plugins manager: Failed to load vapoursynth library!
Please set up the library search paths in settings.

2025-05-18 10:16:05.043
Script was successfully evaluated. Output video info:
Frames: 10864 | Time: 0:03:01.248 | Size: 720x480 | FPS: 60000/1001 = 59.9401 | Format: YUV420P8

2025-05-18 10:16:05.523
Qt warning: QPixmap:Confusedcaled: Pixmap is a null pixmap


It seems like something got messed up in my Hybrid install with the update. I tried to uninstall and re-download the latest version for a clean restart, and I am still seeing this same issue.



Regardless, here are a couple of samples of the source that I am working with. https://we.tl/t-vbvOxHjxIc

One clip is the raw capture huffyuv, the other clip was the "best" result that I got after tinkering for hours with Hybrid yesterday. I think I ended up using MLDegrain, MC Temporal Denoise, CAS, and GrainFactory on this clip, but it was before I switched to CRF encoding so there is blocky compression instead of the grain that I was going for.

This clip is very indicative of how most of these tapes look - one well-lit daytime scene followed by a dark/underexposed one with a lot of noise, followed by another well-lit one etc etc. I didn't want to mess with the proc-amp settings on my GV-USB2 capture device without knowing what I was doing, so there are definitely some clipped whites and blacks, but overall my capture looked fairly close to what I was seeing on the camcorder's LCD as the tapes played back.

Overall, I dislike how my processing attempts are turning out compared to how "natural" the source capture looks to me. The edges/lines are too "hard" in the processed version, but if I strip away all of the vapoursynth stuff and just have QTGMC deinterlace on Fast/Faster as my only processing, that output has far too much chroma noise for my liking, especially on the darker scenes.

As I said, I am brand new to all of this, so I may not even possess the language yet to describe what I am actually looking for here, but if I had to describe it in layman's terms I would say something like:

I want my final product to appear as noise-reduced footage that doesn't look overly smoothed, *especially* around the edges of people and objects where the lines appear 'thicker' for whatever reason. I just want a reasonable balance between processing, render time, and settings that are universal enough for me to broadly apply across most of these tapes with minimal tweaking. Maybe I'm asking for the world, maybe I'm asking for something super simple - I don't know! Tongue

Thanks again for taking the time to help people out directly in this forum. It means the world.
Reply


Messages In This Thread
RE: New to Hybrid, trying to figure some things out... - by harrisonjr98 - 18.05.2025, 16:42

Forum Jump:


Users browsing this thread: 1 Guest(s)