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] Things went wrong after saving global profile with VS yuv420 chroma location left
#11
HybridDebugOutput-LoadingFileErrorWindowBox(DebugEnabledByDefault) -> locally fixed here.

HybridDebugOutput-DPIRdenoise(mlrt)only -> I see the problem. Hybrid things Vapoursynth isn't needed and thus doesn't use it. But no clue why so far.
Couldn't reproduce this here, but rewrote some code which should either show what is causing this or fix the problem.

=> Uploaded a new dev (Hybrid_dev_2026.06.21-7454).

Quote:Encoding with SCUNet(mlrt)(TensorRT). Works ok at 1.5 fps. Was up to 3~4 fps before.
Speed change might be due to driver or vs-mlrt changes, or changes in Vapoursynth itself.
Side note: Make sure to add your engine, tmp, output folder to be exempted by any virus scanner and similar on your system otherwise they might cause slow downs.
I didn't change anything that should affect the speed in Hybrid.

About the 5kb file:
# Imports import logging import site import sys import os import vapoursynth as vs # getting Vapoursynth core core = vs.core # Import scripts folder scriptPath = 'D:/APPD/Hybrid_dev_20260620-20172/64bit/vsscripts' sys.path.insert(0, os.path.abspath(scriptPath)) os.environ["CUDA_MODULE_LOADING"] = "LAZY" # Force logging to std:err logging.StreamHandler(sys.stderr) # loading plugins core.std.LoadPlugin(path="D:/APPD/Hybrid_dev_20260620-20172/64bit/vsfilters/SharpenFilter/CAS/CAS.dll") core.std.LoadPlugin(path="D:/APPD/Hybrid_dev_20260620-20172/64bit/vs-mlrt/vstrt.dll") core.std.LoadPlugin(path="D:/APPD/Hybrid_dev_20260620-20172/64bit/vsfilters/SourceFilter/LSmashSource/LSMASHSource.dll") # Import scripts from importlib.machinery import SourceFileLoader vsmlrt = SourceFileLoader('vsmlrt', 'D:/APPD/Hybrid_dev_20260620-20172/64bit/vs-mlrt/vsmlrt.py').load_module() from vsmlrt import Backend import validate # Source: 'C:\Users\mmddffkk\Desktop\tmp\testfile.mkv' # clip current meta; color space: YUV420P8, bit depth: 8, resolution: 1920x1080, fps: 23.976, color matrix: 709, color primaries: Unspecific, color transfer: Unspecified, yuv luminance scale: limited, scanorder: progressive, full height: true (Source) # Loading 'C:\Users\mmddffkk\Desktop\tmp\testfile.mkvÄ using LWLibavSource clip = core.lsmas.LWLibavSource(source="C:/Users/mmddffkk/Desktop/tmp/testfile.mkv", format="YUV420P8", stream_index=0, cache=0, prefer_hw=0) frame = clip.get_frame(0) # setting color matrix to 709. clip = core.std.SetFrameProps(clip, _Matrix=vs.MATRIX_BT709) # setting color transfer (vs.TRANSFER_BT709), if it is not set. if validate.transferIsInvalid(clip): clip = core.std.SetFrameProps(clip=clip, _Transfer=vs.TRANSFER_BT709) # setting color primaries info (to vs.PRIMARIES_BT709), if it is not set. if validate.primariesIsInvalid(clip): clip = core.std.SetFrameProps(clip=clip, _Primaries=vs.PRIMARIES_BT709) # 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 23.976fps clip = core.std.AssumeFPS(clip=clip, fpsnum=24000, fpsden=1001) # making sure the detected scan type is set (detected: progressive) clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_PROGRESSIVE) # scan type: progressive # changing range from limited to full range for vsDPIRmlrtDenoise clip = core.resize.Bicubic(clip, format=vs.YUV420P8, range_in_s="limited", range_s="full") # setting color range to PC (full) range. prop_name = '_Range' if core.core_version.release_major >= 74 else '_ColorRange' clip = core.std.SetFrameProps(clip=clip, **{prop_name: vs.RANGE_FULL}) # adjusting color space from YUV420P8 to RGBH for vsDPIRmlrtDenoise clip = core.resize.Bicubic(clip=clip, format=vs.RGBH, matrix_in_s="709", range_in_s="full", chromaloc=0) # denoising using DPIR (mlrt) clip = vsmlrt.DPIR(clip, strength=5.000, overlap=16, model=1, backend=Backend.TRT(fp16=True,device_id=0,bf16=False,verbose=True,use_cuda_graph=False,num_streams=1,builder_optimization_level=3,engine_folder="D:/APPD/HybridFiles/Engine")) # adjusting color space from RGBH to RGB48 for vsCAS clip = core.resize.Bicubic(clip=clip, format=vs.RGB48) # contrast sharpening using CAS clip = core.cas.CAS(clip) # adjusting output color from RGB48 to YUV420P10 for SvtAv1Model clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P10, matrix_s="709", range_in_s="full", range_s="full", dither_type="error_diffusion") # changing range from full to limited range for matching filter target luma scale clip = core.resize.Bicubic(clip, format=vs.YUV420P10,range_in_s="full", range_s="limited") # 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}) # set output frame rate to 23.976fps (progressive) clip = core.std.AssumeFPS(clip=clip, fpsnum=24000, fpsden=1001) # output clip.set_output() # clip current meta; color space: YUV420P10, bit depth: 10, resolution: 1920x1080, fps: 23.976, color matrix: 709, color primaries: Unspecific, color transfer: Unspecified, yuv luminance scale: limited, scanorder: progressive, full height: true (Meta)
was used which looks fine to me, but the encoding call:
"D:\APPD\Hybrid_dev_20260620-20172\64bit\Vapoursynth\Lib\site-packages\vapoursynth\vspipe.exe" "D:\APPD\HybridFiles\Temp\encodingTempSynthSkript_2026-06-21@08_36_34_0310_0.vpy" - --outputindex 0 -c y4m | "D:\APPD\Hybrid_dev_20260620-20172\64bit\SvtAv1EncApp.exe" --input stdin --width 1920 --height 1080 --fps-num 24000 --fps-denom 1001 --input-depth 10 --profile 0 --tile-rows 0 --tile-columns 0 --progress 2 --rc 0 --crf 35 --mbr 0 --aq-mode 2 --tf-strength 3 --luminance-qp-bias 0 --sharpness 0 --sharpness 0 --sharpness 0 --ac-bias 0 --preset 10 --matrix-coefficients 1 --color-range 0 --output "D:\APPD\HybridFiles\Temp\2026-06-21@08_36_34_0310_02.av1"
stops without processing any frame or error message.
=> check that the Vapoursynth Preview works.

HybridDebugOutput-Minidump(Launch&Exit,DebugEnabledByDefault) => no clue, can't reproduce this here.
The CrashDump only shows that it happens during closing of Hybrid, so there might still be something that is deleted twice or similar,...
=> Can you give me a step-by-step with the new dev what you do after resetting the defaults to get a CrashDump.


Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Offline between (including) 29th of June and 5th of July => RockHarz Festival
Reply


Messages In This Thread
RE: Things went wrong after saving global profile with VS yuv420 chroma location left - by Selur - 21.06.2026, 08:06

Forum Jump:


Users browsing this thread: 1 Guest(s)