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
#1
Hello!

When I enter Limit Cache and press Enter, it is blocked and cannot be changed in any way 

[Image: 2025-09-13-15-26-08.png]

I also noticed that lookahead slices don't seem to work, nothing changes with different values

[Image: 2025-09-13-15-30-55.png]
Reply
#2
Quote: When I enter Limit Cache and press Enter, it is blocked and cannot be changed in any way
Can't reproduce that, fixed it a while ago, should be fine in latest dev.

Quote: I also noticed that lookahead slices don't seem to work, nothing changes with different values
Quote:For resolutions lesser than 720p, slicing is auto-disabled.
https://x265.readthedocs.io/en/latest/cl...ead-slices


Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#3
(13.09.2025, 10:48)Selur Wrote:
Quote: When I enter Limit Cache and press Enter, it is blocked and cannot be changed in any way
Can't reproduce that, fixed it a while ago, should be fine in latest dev.

I installed the latest dev version, and there really is no such problem there. But now Hybrid doesn't want to encode video at all, no matter what I do, any codecs without using filters. 

Debug File:
https://cloud.mail.ru/public/55mT/XEh2Jw4Br
Reply
#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
#5
(13.09.2025, 13:39)Selur Wrote: Does the Vapoursynth Preview work?

Cu Selur

No But there are no errors, it just doesn't respond. I tried to install the dev version again and rebooted the computer
Reply
#6
Did you deinstall the old version before installing the dev?
Does the taskmgr show vspipe and x264?
Does it change anything if you move the temp folder outside of Windows? (so not under C:\Users\... or similar)

Quote:No But there are no errors, it just doesn't respond.
Then something is wrong with the Vapoursynth environment or the source causes the source filter to freeze,...

If your source is really large, indexing will take a while,...
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#7
No, don't deinstall, i have VSpipe, but no x264

I got CRASH, debug file:

https://cloud.mail.ru/public/TvFo/GaNqoxnq3
Reply
#8
now x264 aborts with:
Quote:y4m [error]: bad sequence header magic
this indicates that something is wrong with the Vapoursynth script

1. deinstall Hybrid
2. install dev version
3. clear your temp folder
4. when the Vapousynth preview does not work, usually neither will the encoding.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#9
(13.09.2025, 13:50)Selur Wrote: now x264 aborts with:
Quote:y4m [error]: bad sequence header magic
this indicates that something is wrong with the Vapoursynth script

1. deinstall Hybrid
2. install dev version
3. clear your temp folder
4. when the Vapousynth preview does not work, usually neither will the encoding.

Cu Selur


deinstall, clear temp, when hybrid start i got this errrors:
[Image: 2025-09-13-18-58-42.png]
[Image: 2025-09-13-18-58-48.png]
[Image: 2025-09-13-18-58-56.png]
[Image: 2025-09-13-18-59-03.png]

Encoding and VS preview don't work.

If install stable version encofing work, without errors when hybrid start
Reply
#10
Okay, with that I can work. Smile

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)