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.

Limit Cashe Lock
#4
Accoding to the debug output, Hybrid calls:
"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 -
and then with "Main call started,.." the log ends,...

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()
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
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Messages In This Thread
Limit Cashe Lock - by dsiomnainc - 13.09.2025, 10:32
RE: Limit Cashe Lock - by Selur - 13.09.2025, 10:48
RE: Limit Cashe Lock - by dsiomnainc - 13.09.2025, 13:26
RE: Limit Cashe Lock - by Selur - 13.09.2025, 13:39
RE: Limit Cashe Lock - by dsiomnainc - 13.09.2025, 13:41
RE: Limit Cashe Lock - by Selur - 13.09.2025, 13:42
RE: Limit Cashe Lock - by dsiomnainc - 13.09.2025, 13:47
RE: Limit Cashe Lock - by Selur - 13.09.2025, 13:50
RE: Limit Cashe Lock - by dsiomnainc - 13.09.2025, 14:05
RE: Limit Cashe Lock - by Selur - 13.09.2025, 14:11
RE: Limit Cashe Lock - by Selur - 13.09.2025, 14:29
RE: Limit Cashe Lock - by dsiomnainc - 13.09.2025, 15:17
RE: Limit Cashe Lock - by Selur - 13.09.2025, 15:22
RE: Limit Cashe Lock - by dsiomnainc - 13.09.2025, 15:28
RE: Limit Cashe Lock - by Selur - 13.09.2025, 15:30
RE: Limit Cashe Lock - by dsiomnainc - 13.09.2025, 15:31
RE: Limit Cashe Lock - by Selur - 13.09.2025, 15:34
RE: Limit Cashe Lock - by dsiomnainc - 13.09.2025, 15:35
RE: Limit Cashe Lock - by Selur - 13.09.2025, 15:40
RE: Limit Cashe Lock - by Selur - 13.09.2025, 15:45
RE: Limit Cashe Lock - by dsiomnainc - 13.09.2025, 19:40
RE: Limit Cashe Lock - by Selur - 14.09.2025, 07:07
RE: Limit Cashe Lock - by dsiomnainc - 14.09.2025, 07:45

Forum Jump:


Users browsing this thread: 1 Guest(s)