17.04.2021, 22:44
(17.04.2021, 22:06)Selur Wrote:Quote:Would you be able to sort it out please?From the looks of it one of the core filters are missing,...
http://www.vapoursynth.com/doc/plugins/misc.html
Can't reproduce this here, since I have no clue what you are doing,... (read the sticky)
Just trying to apply the QTGMC (for example) with its basic settings. No filter settings changed. Here is the script:
cat tempPreviewVapoursynthFile22_31_18_353.vpy
# Imports
import os
import sys
import vapoursynth as vs
core = vs.get_core()
# Import scripts folder
scriptPath = '/opt/hybrid/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Loading Plugins
core.std.LoadPlugin(path="/home/jirka/opt/vapoursynth/lib/vapoursynth/libaddgrain.so")
core.std.LoadPlugin(path="/home/jirka/opt/vapoursynth/lib/vapoursynth/libneofft3d.so")
core.std.LoadPlugin(path="/home/jirka/opt/vapoursynth/lib/vapoursynth/libdfttest.so")
core.std.LoadPlugin(path="/home/jirka/opt/vapoursynth/lib/vapoursynth/libeedi3m.so")
core.std.LoadPlugin(path="/home/jirka/opt/vapoursynth/lib/vapoursynth/vsznedi3.so")
core.std.LoadPlugin(path="/home/jirka/opt/vapoursynth/lib/vapoursynth/libmvtools.so")
core.std.LoadPlugin(path="/home/jirka/opt/vapoursynth/lib/vapoursynth/libtemporalsoften.so")
core.std.LoadPlugin(path="/home/jirka/opt/vapoursynth/lib/vapoursynth/libscenechange.so")
core.std.LoadPlugin(path="/home/jirka/opt/vapoursynth/lib/vapoursynth/libfmtconv.so")
core.std.LoadPlugin(path="/home/jirka/opt/vapoursynth/lib/vapoursynth/libvslsmashsource.so")
# Import scripts
import havsfunc
# source: '/home/jirka/VIDEO/capture001.dv'
# current color space: YUV420P8, bit depth: 8, resolution: 720x576, fps: 25, color matrix: 470bg, yuv luminance scale: limited, scanorder: bottom field first
# Loading /home/jirka/VIDEO/capture001.dv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="/home/jirka/VIDEO/capture001.dv", format="YUV420P8", cache=0, prefer_hw=0)
# making sure input color matrix is set as 470bg
clip = core.resize.Point(clip, matrix_in_s="470bg",range_s="limited")
# making sure frame rate is set to 25
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# setting field order to what QTGMC should assume (bottom field first)
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=1)
# Deinterlacing using QTGMC
clip = havsfunc.QTGMC(Input=clip, Preset="Fast", TFF=False) # new fps: 25
# make sure content is preceived as frame based
clip = core.std.SetFieldBased(clip, 0)
clip = clip[::2]
# adjusted resizing to achieve PAR 1:1 for preview
# resizing for preview to square pixel to 768x576
clip = core.resize.Bicubic(clip=clip, width=768, height=576)
# set output frame rate to 25.000fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1)
# Output
clip.set_output()
In the failure report I posted in my previous reply the AverageFrames and SCDetect Miscellaneous Filters are mentioned, so maybe one or both are missing? Just guessing...
Quote:I'll look into it tomorrow.
OK, thank you. I'll be available for testing tomorrow, but not earlier than in late afternoon/evening CET.
When you will be resolving the base filters issue, please do not forget to resolve the libneofft3d.so -> libneo-fft3d.so issue too. I believe it would be easy for you and then it would be already perfect, hopefully.
Thx.