01.11.2021, 21:36
AddLogo error:
Seems ResampleHQ resizer gives error only when used deinterlacer.
No error if i use progressive source.
2021-11-01 21:33:57.617
setVideoInfo: Video filter Read has more than one output node but only the first one will be returned
setVideoInfo: Video filter Read has more than one output node but only the first one will be returned
2021-11-01 21:33:57.619
Failed to evaluate the script:
Python exception: not enough values to unpack (expected 2, got 1)
Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 2832, in vapoursynth._vpy_evaluate
File "src/cython/vapoursynth.pyx", line 2833, in vapoursynth._vpy_evaluate
File "/Volumes/temp/Hybrid Temp/tempPreviewVapoursynthFile21_33_57_036.vpy", line 36, in
[logo, alpha] = core.imwri.Read(filename="/Users/aaa/Desktop/No name.png", alpha=True)
ValueError: not enough values to unpack (expected 2, got 1)
2021-11-01 21:33:57.621
Core freed but 1 filter instance(s) still exist
Core freed but 1 filter instance(s) still exist
(01.11.2021, 21:32)Selur Wrote: What does the Vapoursynth script look like?
Just tried with a random source and had no problem.
Cu Selur
# Imports
import os
import sys
import vapoursynth as vs
# getting Vapoursynth core
core = vs.core
# Import scripts folder
scriptPath = '/Applications/Hybrid.app/Contents/MacOS/vsscripts'
sys.path.insert(0, os.path.abspath(scriptPath))
# Import scripts
import resamplehq
import havsfunc
# source: '/Volumes/temp/QTGMC TESTS/VOB-MKV/TRAVA_VTS_01_2-VC01.vob'
# current color space: YUV420P8, bit depth: 8, resolution: 720x480, fps: 29.97, color matrix: 470bg, yuv luminance scale: limited, scanorder: telecine (soft)
# Loading /Volumes/temp/QTGMC TESTS/VOB-MKV/TRAVA_VTS_01_2-VC01.vob using D2VSource
clip = core.d2v.Source(input="/Volumes/temp/Hybrid Temp/vob_055a82bbad0d90b97ee66c07801b5f2a_853323747.d2v")
# making sure input color matrix is set as 470bg
clip = core.resize.Bicubic(clip, matrix_in_s="470bg",range_s="limited")
# making sure frame rate is set to 29.970
clip = core.std.AssumeFPS(clip=clip, fpsnum=30000, fpsden=1001)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
clip2clip = clip
clip2clip = havsfunc.QTGMC(Input=clip2clip, Preset="slow", opencl=True, TFF=True,FPSDivisor=2)
# Deinterlacing using TIVTC
clip = core.tivtc.TFM(clip=clip, clip2=clip2clip)
clip = core.tivtc.TDecimate(clip=clip)# new fps: 23.976
# make sure content is preceived as frame based
clip = core.std.SetFieldBased(clip, 0)
# DEBUG: vsTIVTC changed scanorder to: progressive
clip = resamplehq.resamplehq(src=clip, width=1440, height=1080, matrix="601", fulls=False)
# set output frame rate to 23.976fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=24000, fpsden=1001)
# Output
clip.set_output()
Seems ResampleHQ resizer gives error only when used deinterlacer.
No error if i use progressive source.