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.

New Hybrid install on Windows 11
#50
Does the Vapoursynth Preview work?

Does calling:
"C:\Program Files\Hybrid\64bit\Vapoursynth\Lib\site-packages\vapoursynth\vspipe.exe" "P:\Hybrid-TEMP\encodingTempSynthSkript_2026-05-21@13_09_25_8510_0.vpy" - --outputindex 0 -c y4m | "C:\Program Files\Hybrid\64bit\ffmpeg.exe" -y -noautorotate -nostdin -threads 8 -color_range tv -f yuv4mpegpipe -i - -an -sn -color_primaries bt709 -color_trc bt709 -colorspace bt709 -color_range tv -pix_fmt yuv422p10le -strict -1 -fps_mode auto -r 24000/1001 -vcodec prores_ks -profile:v 2 -vtag apcn -metadata encoding_tool="Hybrid 2026.05.20.1" -aspect 1280:720 -f mov "P:\Hybrid-TEMP\Arielle Dombasle 2398 drop_1_2026-05-21@13_09_25_8510_03.mov"
produce any errors?
The used Vapoursynth script:
# Imports
import sys
import os
import vapoursynth as vs
# 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 plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/ResizeFilter/nnedi3/NNEDI3CL.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/vsfilters/SourceFilter/LSmashSource/LSMASHSource.dll")
# Import scripts
import edi_rpow2
import validate
# Source: 'P:\Hybrid-IN\Arielle Dombasle 2398 drop.mov'
# clip current meta; color space: YUV422P10, bit depth: 10, resolution: 1920x1080, fps: 23.976, color matrix: 709, color primaries: Unspecific, color transfer: BT.709, yuv luminance scale: limited, scanorder: progressive, full height: true (Source)
# Loading 'P:\Hybrid-IN\Arielle Dombasle 2398 drop.movÄ using LWLibavSource
clip = core.lsmas.LWLibavSource(source="P:/Hybrid-IN/Arielle Dombasle 2398 drop.mov", format="YUV422P10", stream_index=0, cache=0, fpsnum=24000, fpsden=1001, 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
# adjusting resolution before resizing
clip = core.fmtc.resample(clip, w=640, h=360, kernel="lanczos", interlaced=False, interlacedd=False) # before YUV422P10 after YUV422P16
# resizing using NNEDI3CL
# current: 640x360 target: 1280x720
clip = edi_rpow2.nnedi3cl_rpow2(clip, rfactor=2, nns=4) # 1280x720
# adjusting output color from YUV422P16 to YUV422P10 for ProResModel
clip = core.resize.Bicubic(clip=clip, format=vs.YUV422P10, dither_type="error_diffusion")
# 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: YUV422P10, bit depth: 10, resolution: 1280x720, fps: 23.976, color matrix: 709, color primaries: Unspecific, color transfer: BT.709, yuv luminance scale: limited, scanorder: progressive, full height: true (Meta)
# script was created by Hybrid 2026.05.20.1
seems fine and from the looks of it, either ffmpeg crashes or Hybrid crashes analyzing the output ffmpeg,...

Is this reproducible? If it is, can you share a sample of a clip that allows to reproduce the problem?

side note:
unless your source is progressive content that was created from interlaced content that got resized and encoded progressively without deinterlacing:
# resizing using NNEDI3CL
# current: 640x360 target: 1280x720
clip = edi_rpow2.nnedi3cl_rpow2(clip, rfactor=2, nns=4) # 1280x720
is probably a bad idea.

Cu Selur

Ps.: please use 'code'-tags,...
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
New Hybrid install on Windows 11 - by Miranda - 13.05.2026, 15:40
RE: New Hybrid install on Windows 11 - by Selur - Yesterday, 17:47

Forum Jump:


Users browsing this thread: 3 Guest(s)