Error is still the same:
script looks like this:
-> check the Vapoursynth preview, unless the preview works fine, the encoding will fail as it uses the same script as the preview.
Cu Selur
y4m [error]: bad sequence header magic
# Imports
import vapoursynth as vs
import os
import sys
# getting Vapoursynth core
core = vs.core
# Import scripts folder
scriptPath = '/home/pro/.hybrid/VapoursynthScriptsInHybrid'
sys.path.insert(0, os.path.abspath(scriptPath))
# Loading Plugins
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libdctfilter.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libdeblock.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libaddgrain.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libneo-fft3d.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libdfttest.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libeedi3m.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/vsznedi3.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libmvtools.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libscenechange.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libfmtconv.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libmiscfilters.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libremovegrain.so")
core.std.LoadPlugin(path="/usr/lib/vapoursynth/libd2vsource.so")
# 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@20_25_08_8410.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]
# applying deblocking using DeBlock QED
clip = havsfunc.Deblock_QED(clip)
# set output frame rate to 25.000fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
# Output
clip.set_output()
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.