Selur's Little Message Board

Full Version: Dev 2026.08.18 version error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Installed your latest dev version.

I'm getting a "crashed waiting for vapoursynth named pipe to become ready" error when starting a job. Debug output attached.
The error happens if Hybrid can't access the named pip 5 seconds after its creation.

The script seems fine:
Code:
# Imports import ctypes import sys import os import vapoursynth as vs # using Vapoursynth R-1 # getting Vapoursynth core core = vs.core # Import scripts folder scriptPath = 'C:/Program Files/Hybrid/64bit/vsscripts' sys.path.insert(0, os.path.abspath(scriptPath)) # Loading Support Files Dllref = ctypes.windll.LoadLibrary("C:/Program Files/Hybrid/64bit/vsfilters/Support/libfftw3f-3.dll") # loading plugins core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/cas.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SharpenFilter/AWarpSharp2/libawarpsharp2.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/TCanny.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/deblock.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/NEO_FFT3DFilter/neo-fft3d.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/DFTTest/DFTTest.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/bwdif.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/fmtconv.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/znedi3.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/sneedif/libsneedif.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/eedi3m.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/vszip/vszip.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/addnoise.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/mvutensils/mvutensils.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/akarin/libakarin.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/zsmooth/zsmooth.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/DGDecNV/DGDecodeNV_AVX2.dll") # Import scripts import edi_rpow2 import sharpen import dehalo import degrain import deblock import qtgmc import validate # Source: 'C:\Users\Computer\Videos\RJ videos\Misc\VDub\VDub test\Misc\(1998) Decade.mkv' # clip current meta; color space: YUV420P8, bit depth: 8, resolution: 720x480, fps: 29.97, color matrix: 470bg, color primaries: Unspecific, color transfer: Unspecified, yuv luminance scale: limited, scanorder: top field first, full height: true (Source) # Loading 'C:\Users\Computer\Videos\RJ videos\Misc\VDub\VDub test\Misc\(1998) Decade.mkv' using DGSource clip = core.dgdecodenv.DGSource("C:/Users/Computer/AppData/Local/Temp/2026-08-18@23_18_20_2610.dgi",fieldop=0) # 29.97 fps, scanorder: top field first frame = clip.get_frame(0) # setting color matrix to 470bg. clip = core.std.SetFrameProps(clip, _Matrix=vs.MATRIX_BT470_BG) # setting color transfer (vs.TRANSFER_BT601), if it is not set. if validate.transferIsInvalid(clip): clip = core.std.SetFrameProps(clip=clip, _Transfer=vs.TRANSFER_BT601) # setting color primaries info (to vs.PRIMARIES_BT470_BG), if it is not set. if validate.primariesIsInvalid(clip): clip = core.std.SetFrameProps(clip=clip, _Primaries=vs.PRIMARIES_BT470_BG) # setting color range to TV (limited) range. prop_name = '_Range' if core.core_version.release_major >= 74 else '_ColorRange' clip = core.std.SetFrameProps(clip=clip, **{prop_name: vs.RANGE_LIMITED}) # making sure frame rate is set to 29.97fps clip = core.std.AssumeFPS(clip=clip, fpsnum=30000, fpsden=1001) # making sure the detected scan type is set (detected: top field first) clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_TOP) # scan type: top field first # ColorMatrix: adjusting color matrix from fcc to 709 # adjusting luma range to 'limited' due to post clipping clip = core.resize.Bicubic(clip, matrix_in_s="fcc", matrix_s="709", range_in=0, range=0) # Deinterlacing using QTGMC clip = qtgmc.QTGMC(Input=clip, Preset="Very Slow", InputType=0, TFF=True, TR2=3, SourceMatch=3, Lossless=2, NoiseProcess=2, GrainRestore=0.7) # new fps: 59.94 # Making sure content is perceived as frame based clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_PROGRESSIVE) # scan type: progressive # applying deblocking using DeBlock QED clip = deblock.Deblock_QED(clip) # removing grain using MCDegrain clip = degrain.mcdegrainsharp(clip) # applying dehalo using DeHalo_alpha clip = dehalo.DeHalo_alpha(clip, rx=2.50) # applying dehalo using YAHR clip = dehalo.YAHR(clip) # resizing using NNEDI3 on the GPU # current: 720x480 target: 1440x960 clip = edi_rpow2.nnedi3cl_rpow2(clip, rfactor=2, nsize=3, nns=4) # 1440x960 # contrast sharpening using CAS clip = core.cas.CAS(clip, sharpness=1.000) # adding Grain using noise clip = core.noise.Add(clip) # letterboxing 1440x960 to 1920x1080 clip = core.std.AddBorders(clip, left=240, right=240, top=60, bottom=60) # set output frame rate to 59.94fps (progressive) clip = core.std.AssumeFPS(clip=clip, fpsnum=60000, fpsden=1001) # output clip.set_output() # clip current meta; color space: YUV420P8, bit depth: 8, resolution: 1920x1080, fps: 59.94, color matrix: 709, color primaries: Unspecific, color transfer: Unspecified, yuv luminance scale: limited, scanorder: progressive, full height: true (Meta) # script was created by Hybrid 2026.08.18.1
The encoding calls:
Code:
"C:\Program Files\Hybrid\64bit\Vapoursynth\vspipe.exe" "C:\Users\Computer\AppData\Local\Temp\encodingTempSynthSkript_2026-08-18@23_18_20_2610_0.vpy" \\.\pipe\2026-08-18@23_18_20_2610_07_video --outputindex 0 -c y4m --progress "C:\Program Files\Hybrid\64bit\x264.exe" --preset fast --crf 21.50 --profile high --level 5.1 --sync-lookahead 48 --psy-rd 1.00:0.15 --vbv-maxrate 300000 --vbv-bufsize 300000 --sar 1:1 --qpfile "C:\Users\Computer\AppData\Local\Temp\(1998) Decade_1_2026-08-18@23_18_20_2610_06.qp" --deblock -1:-1 --non-deterministic --range tv --colormatrix smpte170m --demuxer y4m --input-range tv --fps 60000/1001 --output-depth 8 --output "C:\Users\Computer\AppData\Local\Temp\2026-08-18@23_18_20_2610_07.264" \\.\pipe\2026-08-18@23_18_20_2610_07_video
seem fine too.
Hmm,... (I did change a lot the last few days, but only in the Avisynth sections of Hybrid,.. iirc.)
Did some small tests, but couldn't reproduce the problem so far.

A. Try whether it helps to use a temp folder to a dedicated folder outside AppData. (maybe Windows Defender or some other virus scanner is causing issues)
B. Does the Vapoursynth Preview work fine?
C. Does it also happen with Hybrid_dev_2026.08.19-185814.exe ?
D. Does it also happen with other source files?
(Do you know which version you used before? Mainly asking to know whether this is really an issue with the named pipe usage, which isn't that old. It was added around 2026-07-11.)

Will look at it some more after work.

Cu Selur
I think it had something to do with the antivirus scanning. I reinstalled the version I was using from July of last year and kept getting the same crash after I reported this to you. Uninstalled the entire program except for my settings and reinstalled everything and it's working now. Preview works. Did not try the 8.19 version. No issues right now.
Okay, thanks for the feedback.

Cu Selur
I've noticed my same settings run slower than they used to before the update. I was getting about 20-25fps output with preset fast and QTGMC slow. Now I get about 12-14fps post update and noticed the GPU is nearly maxed out and the CPU looks like it's hardly being used.

Ryzen 5950 16 core, NVIDIA Gforce RTX 4060 Ti GPU. Recent Debug output also attached.
Plugins that are currently used:
Code:
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SharpenFilter/AWarpSharp2/libawarpsharp2.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/cas.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/TCanny.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/deblock.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/NEO_FFT3DFilter/neo-fft3d.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/DFTTest/DFTTest.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/bwdif.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/fmtconv.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/znedi3.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/sneedif/libsneedif.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/eedi3m.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/vszip/vszip.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/addnoise.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/mvutensils/mvutensils.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/akarin/libakarin.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/Vapoursynth/Lib/site-packages/vapoursynth/plugins2/zsmooth/zsmooth.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/DGDecNV/DGDecodeNV_AVX2.dll")
try whether it makes a difference when you change the setting under Filtering->Vapoursynth->Misc->Tools.
(also some filters got deprecated and were removed; still need to look for a neo-fft3d replacement)
I added these controls to give users more control of which filters are used and I hoped the defaults should work fine. Smile
I didn't nave much time testing whether i.e. for SD or specific filters it would make sense to use other defaults or something like that.

Let me know if you figure out which filter is causing the problem.

Cu Selur

Ps.: especially try using znedi3 for nnedi3 or disabling opencl in the qtgmc settings (for sd content this is faster for me)
Not sure this helps the discussion but the NNEDI3 resizer seems to be the biggest bottleneck. Is there anything to help this along in those tools or would using a different resizer be the best outcome?
QTGMC main bottleneck on SD content is the NNEDI3 choice, for me using znedi3 is usually the fastest choice.
(on your system probably too)

Cu Selur