07.07.2022, 19:45
I am trying to convert another file, this time it is 25fps DV capture from VHS, bottom field first. Here are the reports.
Preview error:
DeBug:
Preview error:
2022-07-07 20:40:42.405
Failed to evaluate the script:
Python exception: ChangeFPS() got an unexpected keyword argument 'target_fps_num'
Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 2890, in vapoursynth._vpy_evaluate
File "src\cython\vapoursynth.pyx", line 2891, in vapoursynth._vpy_evaluate
File "M:\Twemlow to Upscale\Twemlow-TEMP30\tempPreviewVapoursynthFile20_40_36_994.vpy", line 65, in
original = havsfunc.ChangeFPS(clip=original,target_fps_num=30000,target_fps_den=1001)
TypeError: ChangeFPS() got an unexpected keyword argument 'target_fps_num'
DeBug:
2022.07.07 - 20:40:29_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: player finished,...
2022.07.07 - 20:40:29_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: setting updatingScript to: false
2022.07.07 - 20:40:29_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: kill process,...
2022.07.07 - 20:40:29_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: VapoursynthPreview disable show(3),..
2022.07.07 - 20:40:29_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: VapoursynthPreview disable updating(3),..
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: generating vapoursynth script for preview,..
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: generateScript - dual: 1, crop: 0, preview: 0, script: 0, job: 0
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: There's no timecode in mov_aada267769e1af4c3846354ab2007b03_853323747
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: There's no Profile in mov_aada267769e1af4c3846354ab2007b03_853323747
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: target bit depth from filtering model: 10
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: getColorSampling for 4:2:0 YUV at 8bit
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: -> input¤t colorSampling: YUV420P8
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: Luminance scale: tv -> yuvPCScale: false
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: There's no Codec in mov_aada267769e1af4c3846354ab2007b03_853323747
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: getColorSampling for i422 i422 at 10bit
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: -> input¤t colorSampling: YUV422P10
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: target color: YUV422P10
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: There's no typ in mov_aada267769e1af4c3846354ab2007b03_853323747
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: vc1: false
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: Disabling DGDevNV incompatible format: DV
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: dgDecNVCompatible: false
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: vsDGDecNVAvailable: true
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: vsUseDGDecNV: false
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: Disabling DGDec incompatible input container!
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: Vapoursynth tryLSMASHSource for: M:\Twemlow to Upscale\SVHS-DMR\GBH-Liverpool-SVHS-DMR.mov
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: vsPreferLSMASH: true
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: mp4Compatible: true
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: forcing CFR output: true
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: -> using LibAvSource
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: getStartAndEnd(cutStartTime: 0, cutEndTime: 0, selectionStartTime: 0, selectionEndTime: 0, ...)
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: startTime: 0.00000000
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: endTime: 0.00000000
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: -> startTime: 0, endTime: 0
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: matchesChapter: true
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: no Vapoursynth deinterlacer,..
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: no Vapoursynth deinterlacer,..
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: Interframe::call(59.94,50)
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: There's no timecode in mov_aada267769e1af4c3846354ab2007b03_853323747
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: using script:
# Imports
import vapoursynth as vs
import os
import ctypes
# Loading Support Files
Dllref = ctypes.windll.LoadLibrary("C:/Program Files/Hybrid/64bit/vsfilters/Support/libfftw3f-3.dll")
import sys
# getting Vapoursynth core
core = vs.core
# Import scripts folder
scriptPath = 'C:/Program Files/Hybrid/64bit/vsscripts'
sys.path.insert(0, os.path.abspath(scriptPath))
# Loading Plugins
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/FrameFilter/Interframe/svpflow2_vs64.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/FrameFilter/Interframe/svpflow1_vs64.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/MiscFilter/MiscFilters/MiscFilters.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/EEDI3m.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/GrainFilter/RemoveGrain/RemoveGrainVS.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/GrainFilter/AddGrain/AddGrain.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/NEO_FFT3DFilter/neo-fft3d.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/DFTTest/DFTTest.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/ResizeFilter/nnedi3/vsznedi3.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/libmvtools.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/scenechange.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/fmtconv.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# Import scripts
import havsfunc
# source: 'M:\Twemlow to Upscale\SVHS-DMR\GBH-Liverpool-SVHS-DMR.mov'
# current color space: YUV420P8, bit depth: 8, resolution: 720x576, fps: 25, color matrix: 470bg, yuv luminance scale: limited, scanorder: bottom field first
# Loading M:\Twemlow to Upscale\SVHS-DMR\GBH-Liverpool-SVHS-DMR.mov using LWLibavSource
clip = core.lsmas.LWLibavSource(source="M:/Twemlow to Upscale/SVHS-DMR/GBH-Liverpool-SVHS-DMR.mov", format="YUV420P8", cache=0, fpsnum=25, prefer_hw=0)
# 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)
original = clip
# converting interlaced to half-height progressive for filtering (Interframe) (QTGMC(preset="Fast"))
clip = havsfunc.QTGMC(Input=clip, Preset="Fast", Lossless=2, TFF=False) # new fps: 50
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=0)
# adjusting frame count with Interframe/SVP
clip = havsfunc.InterFrame(clip, Tuning="smooth", NewNum=60000, NewDen=1001) # new fps: 59.94
# adjusting frame count by adding duplicate frames
original = havsfunc.ChangeFPS(clip=original,fpsnum=60000,fpsden=1001)
# Resizing using 10 - bicubic spline
clip = core.fmtc.resample(clip=clip, kernel="spline16", w=720, h=540, interlaced=False, interlacedd=False) # resolution 720x540
original = core.resize.Bicubic(clip=original, width=720, height=540)
# dualVar: original
# dualVar m_scanorder: bottom field first
# dualVar fps: 59.94
# variable: clip
# variable m_scanorder: progressive
# variable fps: 59.94
# frameInterpol.needed: true
# converting progressive to interlaced for 'progressive to interlaced (1)'
clip = core.std.SeparateFields(clip=clip, tff=False)
clip = core.std.SelectEvery(clip=clip, cycle=4, offsets=[0, 3])
clip = core.std.DoubleWeave(clip=clip, tff=False) # resolution 720x540
clip = core.std.SelectEvery(clip=clip, cycle=2, offsets=0) # new fps: 29.97
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=1)
original = havsfunc.ChangeFPS(clip=original,target_fps_num=30000,target_fps_den=1001)
# adjusting output color from: YUV420P8 to YUV422P10 for ProResModel
original = core.resize.Bicubic(clip=original, format=vs.YUV422P10, range_s="limited")
# adjusting output color from: YUV420P16 to YUV422P10 for ProResModel
clip = core.resize.Bicubic(clip=clip, format=vs.YUV422P10, range_s="limited", dither_type="error_diffusion")
original = core.text.Text(clip=original,text="Original",scale=1)
clip = core.text.Text(clip=clip,text="Filtered",scale=1)
stacked = core.std.StackHorizontal([original,clip])
# set output frame rate to 0fps
stacked = core.std.AssumeFPS(clip=stacked, fpsnum=1, fpsden=1)
# Output
stacked.set_output()
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: writing: UTF8BOM
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: VapoursynthPreview enabling show,..
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: VapoursynthPreview m_currentTempVPY: M:\Twemlow to Upscale\Twemlow-TEMP30\tempPreviewVapoursynthFile20_40_36_994.vpy
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: VapoursynthPreview m_currentCall: C:\Program Files\Hybrid\64bit\Vapoursynth\vsViewer.exe --preview-only M:\Twemlow to Upscale\Twemlow-TEMP30\tempPreviewVapoursynthFile20_40_36_994.vpy --matrix Rec601
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: Creating index files,...
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: Files to index for VAPOURSYNTHPREVIEW:
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: Indexer createIndexFiles disable GUI(1),..
2022.07.07 - 20:40:36_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: enableGui 0 + -1 = -1
2022.07.07 - 20:40:37_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: -> m_toIndex is empty,... -> nothing to do,...
2022.07.07 - 20:40:37_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: VsScriptGenerator indexerFinished(0,0): VAPOURSYNTHPREVIEW
2022.07.07 - 20:40:37_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: Vapoursynth, indexerFinished after: 04:6042:22.819
2022.07.07 - 20:40:37_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: shortFileName for:
2022.07.07 - 20:40:37_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: VsScriptGenerator indexerFinished enable GUI(6),..
2022.07.07 - 20:40:37_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: enableGui -1 + 1 = 0
2022.07.07 - 20:40:37_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: indexing finished,..
2022.07.07 - 20:40:37_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: VapoursynthPreview disable show(2),..
2022.07.07 - 20:40:37_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: VapoursynthPreview disable updating(2),..
2022.07.07 - 20:40:37_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: Connected vsViewer->2finished(int, QProcess::ExitStatus) to VapoursynthPreview->1playerFinished(int, QProcess::ExitStatus), type: 384
2022.07.07 - 20:40:37_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: Connected vsViewer->2readyReadStandardOutput() to VapoursynthPreview->1handlePreviewOutput(), type: 128
2022.07.07 - 20:40:37_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: Connected vsViewer->2readyReadStandardError() to VapoursynthPreview->1handlePreviewOutput(), type: 128
2022.07.07 - 20:40:37_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: startPreview call: C:\Program Files\Hybrid\64bit\Vapoursynth\vsViewer.exe --preview-only M:\Twemlow to Upscale\Twemlow-TEMP30\tempPreviewVapoursynthFile20_40_36_994.vpy --matrix Rec601 --listen 168_VPY_ --listen-to HYBRID --crop off#0#0#0#0
2022.07.07 - 20:40:37_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: Connected ->2messageReceived(QString) to VapoursynthPreview->1gotMessage(QString), type: 128
2022.07.07 - 20:40:37_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: Connected ->2connected() to ->1socket_connected(), type: 128
2022.07.07 - 20:40:37_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: Connected ->2disconnected() to ->1socket_disconnected(), type: 128
2022.07.07 - 20:40:37_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: Connected ->2readyRead() to ->1socket_readReady(), type: 128
2022.07.07 - 20:40:37_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: Connected ->2errorOccurred(QLocalSocket::LocalSocketError) to ->1socket_error(QLocalSocket::LocalSocketError), type: 128
2022.07.07 - 20:40:37_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: tokenizing(2) 'C:\Program Files\Hybrid\64bit\Vapoursynth\vsViewer.exe' with:
--preview-only
M:\Twemlow to Upscale\Twemlow-TEMP30\tempPreviewVapoursynthFile20_40_36_994.vpy
--matrix
Rec601
--listen
168_VPY_
--listen-to
HYBRID
--crop
off#0#0#0#0
2022.07.07 - 20:40:37_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: tool(2): C:\Program Files\Hybrid\64bit\Vapoursynth\vsViewer.exe
2022.07.07 - 20:40:37_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: arguments(2):
--preview-only
M:\Twemlow to Upscale\Twemlow-TEMP30\tempPreviewVapoursynthFile20_40_36_994.vpy
--matrix
Rec601
--listen
168_VPY_
--listen-to
HYBRID
--crop
off#0#0#0#0
2022.07.07 - 20:40:37_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: Preview::indexingIsFinished 'VAPOURSYNTHPREVIEW' ignored,..
2022.07.07 - 20:40:42_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: --- vsViewer output - START ---
2022.07.07 - 20:40:42_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: --- vsViewer output - END ---
2022.07.07 - 20:40:42_Windows 10 Version 2009 (64bit)_2022.06.30.1 - level 9: Got unhandled IPC message: Failed to evaluate the script:
Python exception: ChangeFPS() got an unexpected keyword argument 'target_fps_num'
Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 2890, in vapoursynth._vpy_evaluate
File "src\cython\vapoursynth.pyx", line 2891, in vapoursynth._vpy_evaluate
File "M:\Twemlow to Upscale\Twemlow-TEMP30\tempPreviewVapoursynthFile20_40_36_994.vpy", line 65, in <module>
original = havsfunc.ChangeFPS(clip=original,target_fps_num=30000,target_fps_den=1001)
TypeError: ChangeFPS() got an unexpected keyword argument 'target_fps_num'