Vapoursynth script failed, x264 aborts with:
y4m [error]: bad sequence header magic
The VapourSynth script used:
# Imports
import vapoursynth as vs
import os
import sys
# getting Vapoursynth core
core = vs.core
# Import scripts folder
scriptPath = '/home/pro/.hybrid/profiles/scripts/Vapoursynth'
sys.path.insert(0, os.path.abspath(scriptPath))
# Import scripts
import havsfunc
# source: '/home/pro/BD_Filmy/komunia sw.ts'
# current color space: YUV420P8, bit depth: 8, resolution: 720x576, fps: 25, color matrix: 470bg, yuv luminance scale: limited, scanorder: top field first
# Loading /home/pro/BD_Filmy/komunia sw.ts using D2VSource
clip = core.d2v.Source(input="/tmp/2022-05-24@17_33_45_4310.d2v", rff=False)
# Setting color matrix to 470bg.
clip = core.std.SetFrameProps(clip, _Matrix=5)
clip = clip if not core.text.FrameProps(clip,'_Transfer') else core.std.SetFrameProps(clip, _Transfer=5)
clip = clip if not core.text.FrameProps(clip,'_Primaries') else core.std.SetFrameProps(clip, _Primaries=5)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# making sure frame rate is set to 25
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
# setting field order to what QTGMC should assume (top field first)
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=2)
# Deinterlacing using QTGMC
clip = havsfunc.QTGMC(Input=clip, Preset="Fast", TFF=True) # new fps: 25
# make sure content is preceived as frame based
clip = core.std.SetFieldBased(clip, 0)
clip = clip[::2]
# set output frame rate to 25.000fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
# Output
clip.set_output()
looks fine. My guess is that you are missing tons of dependencies for QTGMC.
(assuming the scripts are present)
I would recommend using the Vapoursynth Preview to figure out whats missing. (which should start vsViewer or vsedit if vsViewer couldn't be found)
Cu Selur
Ps.: By default Hybrid assumes on non-Windows systems that Vapoursynth libraries do not need to be loaded explicitly. If you setup requires this you need to set
vsLoadLibrariesOnNonWindows=true
in your misc.ini file.