13.05.2025, 21:23
I see:
when:
is called.
This indicates that there is some problem with the Vapoursynth script or setup.
I would recommend looking at the Vapoursynth Preview, that should throw an error if there is something wrong.
Additionally, I would recommend telling Hybrid to ignore the all input time codes (config->internals->handling->ignore ...)
Looking at the Vapoursynth script in the debug output:
One potential problem might be that you use Python 3.11.
Vapoursynth R66+ requires 3.12 or 3.8
Vapoursynth R71+ requires 3.14
according to https://github.com/vapoursynth/vapoursynth/releases.
Another problem is that the frame rate combined with interlacing seems wrong.
=> my guess is the source was detected wrongly
There could also be a problem somewhere else, like I wrote the 'Vapoursynth Preview' might help to find the problem.
Also, you send me a link to an .m2ts file, but the debug output does not contain any mention of this source.
=> Is this even the right debug output? or are you sending me a link to something else?
Going to bed now, can look at it some more tomorrow after work, if you need further help. At the moment, my guess is that there is something 'off' with the Vapoursynth setup.
Cu Selur
x264 output: y4m [error]: bad sequence header magic
"/usr/bin/vspipe" "/home/fah/Video/august/Blu/encodingTempSynthSkript_2025-05-13@19_43_37_6410_0.vpy" - -c y4m | "/usr/bin/x264" --preset fast --pass 1 --bitrate 1500 --profile high --level 5.1 --ref 1 --direct auto --b-adapt 0 --rc-lookahead 40 --sync-lookahead 24 --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 "/home/fah/Video/august/Blu/00003_1_2025-05-13@19_43_37_6410_03.stats" --demuxer y4m --input-range tv --fps 60000/1001 --output-depth 8 --output /dev/null -
This indicates that there is some problem with the Vapoursynth script or setup.
I would recommend looking at the Vapoursynth Preview, that should throw an error if there is something wrong.
Additionally, I would recommend telling Hybrid to ignore the all input time codes (config->internals->handling->ignore ...)
Looking at the Vapoursynth script in the debug output:
# Imports
import vapoursynth as vs
# getting Vapoursynth core
import sys
import os
core = vs.core
# Import scripts folder
scriptPath = '/usr/lib/python3.11/site-packages/'
sys.path.insert(0, os.path.abspath(scriptPath))
# Import scripts
import qtgmc
import validate
# Source: '/home/fah/Video/august/Blu/00003.mkv'
# Current color space: YUV420P8, bit depth: 8, resolution: 1920x1080, frame rate: 59.94fps, scanorder: top field first, yuv luminance scale: limited, matrix: 709, transfer: bt.709, primaries: bt.709, format: AVC
# Loading /home/fah/Video/august/Blu/00003.mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="/home/fah/Video/august/Blu/00003.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.
clip = core.std.SetFrameProps(clip=clip, _ColorRange=vs.RANGE_LIMITED)
# making sure frame rate is set to 59.94fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=60000, fpsden=1001)
# making sure the detected scan type is set (detected: top field first)
clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_TOP) # tff
# Deinterlacing using QTGMC
clip = qtgmc.QTGMC(Input=clip, Preset="Fast", TFF=True) # new fps: 59.94
# Making sure content is preceived as frame based
clip = core.std.SetFrameProps(clip=clip, _FieldBased=vs.FIELD_PROGRESSIVE) # progressive
clip = clip[::2] # selecting previously even frames
# output
clip.set_output()
Vapoursynth R66+ requires 3.12 or 3.8
Vapoursynth R71+ requires 3.14
according to https://github.com/vapoursynth/vapoursynth/releases.
Another problem is that the frame rate combined with interlacing seems wrong.
=> my guess is the source was detected wrongly
There could also be a problem somewhere else, like I wrote the 'Vapoursynth Preview' might help to find the problem.
Also, you send me a link to an .m2ts file, but the debug output does not contain any mention of this source.
=> Is this even the right debug output? or are you sending me a link to something else?
Going to bed now, can look at it some more tomorrow after work, if you need further help. At the moment, my guess is that there is something 'off' with the Vapoursynth setup.
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.