13.09.2025, 13:39
Accoding to the debug output, Hybrid calls:
and then with "Main call started,.." the log ends,...
The used Vapoursynth script:
Looks fine to me. (Ignoring the frame rate of the input)
Normally it should take a bit for the encoding to start, since LWLibavSource will need a bit to open and index the source, but it should work fine.
Can't reproduce the problem.
Does the Vapoursynth Preview work?
Cu Selur
"C:\Program Files\Hybrid\64bit\Vapoursynth\vspipe.exe" "C:\Users\DSIOMNAINC\AppData\Local\Temp\encodingTempSynthSkript_2025-09-13@18_22_54_8410_0.vpy" - --outputindex 0 -c y4m | "C:\Program Files\Hybrid\64bit\x264.exe" --preset fast --pass 1 --bitrate 1500 --profile high --level 5.1 --ref 1 --direct auto --b-adapt 0 --rc-lookahead 40 --sync-lookahead 48 --qcomp 0.50 --qpmax 51 --partitions none --no-8x8dct --me dia --subme 2 --trellis 0 --aq-mode 0 --sar 1:1 --non-deterministic --range tv --stats "C:\Users\DSIOMNAINC\AppData\Local\Temp\675675_1_2025-09-13@18_22_54_8410_02.stats" --demuxer y4m --input-range tv --fps 6147/250 --output-depth 8 --output NUL -The used Vapoursynth script:
# Imports
import vapoursynth as vs
# getting Vapoursynth core
import sys
import os
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/SourceFilter/LSmashSource/LSMASHSource.dll")
# Import scripts
import validate
# Source: 'C:\Users\DSIOMNAINC\Desktop\01\1\03_prefilter_replace.mkv'
# Current color space: YUV420P10, bit depth: 10, resolution: 720x480, frame rate: 24.588fps, scanorder: progressive, yuv luminance scale: limited, matrix: 470bg, transfer: bt.601, primaries: bt.470 system m, format: FFV1
# Loading C:\Users\DSIOMNAINC\Desktop\01\1\03_prefilter_replace.mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="C:/Users/DSIOMNAINC/Desktop/01/1/03_prefilter_replace.mkv", format="YUV420P10", stream_index=0, cache=0, prefer_hw=0)
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.
clip = core.std.SetFrameProps(clip=clip, _ColorRange=vs.RANGE_LIMITED)
# making sure frame rate is set to 24.588fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=6147, fpsden=250)
# making sure the detected scan type is set (detected: progressive)
clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_PROGRESSIVE) # progressive
# adjusting output color from: YUV420P10 to YUV420P8 for x264Model
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8, dither_type="error_diffusion")
# set output frame rate to 24.588fps (progressive)
clip = core.std.AssumeFPS(clip=clip, fpsnum=6147, fpsden=250)
# output
clip.set_output()Normally it should take a bit for the encoding to start, since LWLibavSource will need a bit to open and index the source, but it should work fine.
Can't reproduce the problem.
Does the Vapoursynth Preview work?
Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.

