This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

[HELP] 25i to 29.97i with interpolation
#51
I will check on the PC when it has completed the latest file.

Is it much slower than Interframe/SVP?
Reply
#52
Quote:Is it much slower than Interframe/SVP?
Yes, but depending on the content it's worth it. Wink
Use the Vapoursynth Preview, to first look at the output of Interframe and see whether you spot problems if you don't fine, otherwise switch to RIFE (adjust the settings) and see whether it performs better.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#53
Can I use a similar method to go from 29.97i to 29.97i, but without the interpolation or Interframe settings?
Reply
#54
Yes, setting:
'Filtering->Misc->Script->Filter interlace handling' to 'QTGMC(prest="Fast)'.
should be fine when input and output have the same frame rate.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#55
I guess I need to change another setting? I tried changing Colour Matrix to 709, but that did not help.

Preview error:

Failed to evaluate the script:
Python exception: Super: input clip must be GRAY, 420, 422, 440, or 444, up to 16 bits, with constant dimensions.

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\tempPreviewVapoursynthFile10_57_27_806.vpy", line 46, in
clip = havsfunc.QTGMC(Input=clip, Preset="Fast", Lossless=2, TFF=False) # new fps: 59.94
File "C:\Program Files\Hybrid\64bit\vsscripts\havsfunc.py", line 1786, in QTGMC
srchSuper = srchClip.mv.Super(sharp=SubPelInterp, chroma=ChromaMotion, **super_args)
File "src\cython\vapoursynth.pyx", line 2636, in vapoursynth.Function.__call__
vapoursynth.Error: Super: input clip must be GRAY, 420, 422, 440, or 444, up to 16 bits, with constant dimensions.


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/DenoiseFilter/CTMF/CTMF.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/HQDN3D/libhqdn3d.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 edi_rpow2
import G41Fun
import mvsfunc
import havsfunc
# source: 'M:\Twemlow to Upscale\SVHS-DMR\EyeOfSatan-UsaVHS-29.97-capture.mov'
# current color space: YUV411P8, bit depth: 8, resolution: 720x480, fps: 29.97, color matrix: 470bg, yuv luminance scale: limited, scanorder: bottom field first
# Loading M:\Twemlow to Upscale\SVHS-DMR\EyeOfSatan-UsaVHS-29.97-capture.mov using LibavSMASHSource
clip = core.lsmas.LibavSMASHSource(source="M:/Twemlow to Upscale/SVHS-DMR/EyeOfSatan-UsaVHS-29.97-capture.mov")
# 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 29.970
clip = core.std.AssumeFPS(clip=clip, fpsnum=30000, fpsden=1001)
# converting interlaced to half-height progressive for filtering (vsMLDegrain) (QTGMC(preset="Fast"))
clip = havsfunc.QTGMC(Input=clip, Preset="Fast", Lossless=2, TFF=False) # new fps: 59.94
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=0)
# removing grain using MLDegrain
clip = G41Fun.MLDegrain(clip=clip, tr=1, soft=[0,0,0])
# denoising using HQDN3D
clip = core.hqdn3d.Hqdn3d(clip=clip, lum_spac=0.00, chrom_spac=7.00, chrom_tmp=10.50)
# deringing using HQDeringmod
clip = havsfunc.HQDeringmod(clip, nrmode=2, darkthr=3.0)
# resizing using ZNEDI3
# current: 720x480 target: 1440x1080 -> pow: 4
clip = edi_rpow2.nnedi3_rpow2(clip=clip, rfactor=4) # 2880x1920
# adjusting resizing
clip = core.fmtc.resample(clip=clip, w=1440, h=1080, kernel="lanczos", interlaced=False, interlacedd=False)
# 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 1440x1080
clip = core.std.SelectEvery(clip=clip, cycle=2, offsets=0) # new fps: 29.97
clip = core.std.SetFrameProp(clip=clip, prop="_FieldBased", intval=1)
# 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")
# set output frame rate to 29.97fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=30000, fpsden=1001)
# Output
clip.set_output()



OK, I just selected -> Vapoursynth -> Filtering -> Misc -> Convert to Target Colour Space After Filtering and it now runs the script.
Reply
#56
Okay, found the issue your input is YUV411P8 and QTGMC does not support that.
It only supports 'GRAY, 420, 422, 440, or 444, up to 16 bits,'.
I did adjust the normal QTGMC call to respect this, but I forgot to adjust the deinterlacing during interlaced processing to respect this.
-> will look into it.

Cu Selur
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#57
An mp4 file seems to be causing problems. Any suggestions?

DeBug report:

2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: generating vapoursynth script for preview,..
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: generateScript - dual: 1, crop: 0, preview: 0, script: 0, job: 0
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: There's no timecode in mp4_d93f2e7e2ea0eebaddf271cdaae6ec59_853323747
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: target bit depth from filtering model: 10
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: getColorSampling for 4:2:0 YUV at 8bit
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  -> input&current colorSampling: YUV420P8
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Unknown color matrix '' -> using '470bg'
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Luminance scale: tv -> yuvPCScale: false
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: There's no Codec in mp4_d93f2e7e2ea0eebaddf271cdaae6ec59_853323747
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: getColorSampling for i422 i422 at 10bit
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  -> input&current colorSampling: YUV422P10
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: target color: YUV422P10
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: There's no typ in mp4_d93f2e7e2ea0eebaddf271cdaae6ec59_853323747
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  vc1: false
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: dgDecNVCompatible: true
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: vsDGDecNVAvailable: true
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: vsUseDGDecNV: false
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Disabling DGDec incompatible format (AVC)!
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Vapoursynth tryLSMASHSource for: M:\Twemlow to Upscale\OLD BITS\Eve Island Edited Master Encode to DV HQ.mp4
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   vsPreferLSMASH: true
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   mp4Compatible: true
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   forcing CFR output: true
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: -> using LibAvSource
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: There's no Color Primes in mp4_d93f2e7e2ea0eebaddf271cdaae6ec59_853323747
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   getStartAndEnd(cutStartTime: 0, cutEndTime: 5053.56, selectionStartTime: 0, selectionEndTime: 5053.56, ...)
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   startTime: 0.00000000
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   endTime: 5053.56000000
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   -> startTime: 0, endTime: 5053.56
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   matchesChapter: true
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: no Vapoursynth deinterlacer,..
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: no Vapoursynth deinterlacer,..
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Interframe::call(59.94,50)
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: There's no timecode in mp4_d93f2e7e2ea0eebaddf271cdaae6ec59_853323747
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.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/DenoiseFilter/CTMF/CTMF.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SharpenFilter/CAS/CAS.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/HQDN3D/libhqdn3d.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 edi_rpow2
import ChangeFPS
import G41Fun
import mvsfunc
import havsfunc
# source: 'M:\Twemlow to Upscale\OLD BITS\Eve Island Edited Master Encode to DV HQ.mp4'
# 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\OLD BITS\Eve Island Edited Master Encode to DV HQ.mp4 using LWLibavSource
clip = core.lsmas.LWLibavSource(source="M:/Twemlow to Upscale/OLD BITS/Eve Island Edited Master Encode to DV HQ.mp4", 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 (vsMLDegrain) (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)
# removing grain using MLDegrain
clip = G41Fun.MLDegrain(clip=clip, tr=1, soft=[0,0,0])
# denoising using HQDN3D
clip = core.hqdn3d.Hqdn3d(clip=clip, lum_spac=0.00, chrom_spac=7.00, chrom_tmp=10.50)
# contrast sharpening using CAS
clip = core.cas.CAS(clip=clip, sharpness=0.600)
# deringing using HQDeringmod
clip = havsfunc.HQDeringmod(clip, nrmode=2, darkthr=3.0)
# adjusting frame count with Interframe/SVP
clip = havsfunc.InterFrame(clip, Tuning="smooth", NewNum=60000, NewDen=1001) # new fps: 59.94
# needed 6
# adjusting frame count by adding duplicate frames
original = ChangeFPS.ChangeFPS(clip=original,target_fps_num=60000,target_fps_den=1001)
# resizing using ZNEDI3
# current: 720x576 target: 1478x1080 -> pow: 4
clip = edi_rpow2.nnedi3_rpow2(clip=clip, rfactor=4) # 2880x2304
# adjusting resizing
clip = core.fmtc.resample(clip=clip, w=1478, h=1080, kernel="lanczos", interlaced=False, interlacedd=False)
original = core.resize.Bicubic(clip=original, width=1478, height=1080)
# 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 1478x1080
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 = ChangeFPS.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=2)
clip = core.text.Text(clip=clip,text="Filtered",scale=2)
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.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   writing: UTF8BOM
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  VapoursynthPreview enabling show,..
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: VapoursynthPreview m_currentTempVPY: M:\Twemlow to Upscale\Twemlow-TEMP30\tempPreviewVapoursynthFile09_00_56_324.vpy
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: VapoursynthPreview m_currentCall: C:\Program Files\Hybrid\64bit\Vapoursynth\vsViewer.exe --preview-only M:\Twemlow to Upscale\Twemlow-TEMP30\tempPreviewVapoursynthFile09_00_56_324.vpy --matrix Rec601
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Creating index files,...
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Files to index for VAPOURSYNTHPREVIEW:
 
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Indexer createIndexFiles disable GUI(1),..
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: enableGui 0 + -1 = -1
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  -> m_toIndex is empty,... -> nothing to do,...
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: VsScriptGenerator indexerFinished(0,0): VAPOURSYNTHPREVIEW
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Vapoursynth, indexerFinished after: 16:59:57.273
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: shortFileName for: M:\Twemlow to Upscale\OLD BITS\Eve Island from VHS CompleteSound.avi
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  trying to shorten,..
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  asking windows for short name for: M:\Twemlow to Upscale\OLD BITS\Eve Island from VHS CompleteSound.avi
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  -> shortened: M:\Twemlow to Upscale\OLD BITS\Eve Island from VHS CompleteSound.avi
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: -> shortened name: M:\Twemlow to Upscale\OLD BITS\Eve Island from VHS CompleteSound.avi
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: VsScriptGenerator indexerFinished enable GUI(6),..
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: enableGui -1 + 1 = 0
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  indexing finished,..
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  VapoursynthPreview disable show(2),..
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  VapoursynthPreview disable updating(2),..
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Connected vsViewer->2finished(int, QProcess::ExitStatus) to VapoursynthPreview->1playerFinished(int, QProcess::ExitStatus), type: 384
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Connected vsViewer->2readyReadStandardOutput() to VapoursynthPreview->1handlePreviewOutput(), type: 128
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Connected vsViewer->2readyReadStandardError() to VapoursynthPreview->1handlePreviewOutput(), type: 128
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: startPreview call: C:\Program Files\Hybrid\64bit\Vapoursynth\vsViewer.exe --preview-only M:\Twemlow to Upscale\Twemlow-TEMP30\tempPreviewVapoursynthFile09_00_56_324.vpy --matrix Rec601 --listen 8692_VPY_ --listen-to HYBRID --crop off#0#0#0#0
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Connected ->2messageReceived(QString) to VapoursynthPreview->1gotMessage(QString), type: 128
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Connected ->2connected() to ->1socket_connected(), type: 128
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Connected ->2disconnected() to ->1socket_disconnected(), type: 128
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Connected ->2readyRead() to ->1socket_readReady(), type: 128
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Connected ->2errorOccurred(QLocalSocket::LocalSocketError) to ->1socket_error(QLocalSocket::LocalSocketError), type: 128
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: tokenizing(2) 'C:\Program Files\Hybrid\64bit\Vapoursynth\vsViewer.exe' with:
  --preview-only
  M:\Twemlow to Upscale\Twemlow-TEMP30\tempPreviewVapoursynthFile09_00_56_324.vpy
  --matrix
  Rec601
  --listen
  8692_VPY_
  --listen-to
  HYBRID
  --crop
  off#0#0#0#0
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: tool(2): C:\Program Files\Hybrid\64bit\Vapoursynth\vsViewer.exe
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: arguments(2):
  --preview-only
  M:\Twemlow to Upscale\Twemlow-TEMP30\tempPreviewVapoursynthFile09_00_56_324.vpy
  --matrix
  Rec601
  --listen
  8692_VPY_
  --listen-to
  HYBRID
  --crop
  off#0#0#0#0
2022.07.23 - 09:00:56_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Preview::indexingIsFinished 'VAPOURSYNTHPREVIEW' ignored,..
2022.07.23 - 09:00:59_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: --- vsViewer output - START ---
2022.07.23 - 09:00:59_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: --- vsViewer output - END ---
2022.07.23 - 09:01:01_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: --- vsViewer output - START ---
2022.07.23 - 09:01:02_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: --- vsViewer output - END ---
2022.07.23 - 09:01:14_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: player finished,...
2022.07.23 - 09:01:14_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: setting updatingScript to: false
2022.07.23 - 09:01:14_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: kill process,...
2022.07.23 - 09:01:14_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  VapoursynthPreview disable show(3),..
2022.07.23 - 09:01:14_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  VapoursynthPreview disable updating(3),..
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: (VapoursynthFilterLogic) Adjusting output color matrix,...
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  old outputColorMatrix value: Rec.601/470bg/470m
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  set outputColorMatrix value: Rec.709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  new output color matrix: Rec.709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: x264Model ADJUST for inputColorMatrix: Rec.709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   (x264Model->VUIModelService) adjustVUIColorMatrixValue
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    adjustVUIColorMatrixToInput: true
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    vuiColorMatrix: true
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    vuiColorMatrixValue enabled: false
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: inputColorMatrix: rec.709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: resulting colorMatrix: rec.709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjustVUIColorMatrixValue->inputColorMatrix: rec.709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjusting VUI ColorMatrix to: bt709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  -> VUI Color Matrix: bt709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: set output color space,...
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: SvtAv1Model ADJUST for inputColorMatrix: Rec.709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   (SvtAv1Model->VUIModelService) adjustVUIColorMatrixValue
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    adjustVUIColorMatrixToInput: true
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    vuiColorMatrix: true
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    vuiColorMatrixValue enabled: false
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: inputColorMatrix: rec.709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: resulting colorMatrix: rec.709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjustVUIColorMatrixValue->inputColorMatrix: rec.709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjusting VUI ColorMatrix to: bt709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  -> VUI Color Matrix: bt709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjustVUIColorMatrixValue
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    adjustVUIColorMatrixToInput: true
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    vuiColorMatrix: true
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    vuiColorMatrixValue enabled: false
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjustVUIColorMatrixValue->inputColorMatrix: rec.709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjusting VUI ColorMatrix to: bt709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjusting VUI ColorMatrix to: bt709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: QSVEncModel ADJUST for inputColorMatrix: Rec.709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   (QSVEncModel->VUIModelService) adjustVUIColorMatrixValue
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    adjustVUIColorMatrixToInput: true
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    vuiColorMatrix: true
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    vuiColorMatrixValue enabled: false
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: inputColorMatrix: rec.709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: resulting colorMatrix: rec.709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjustVUIColorMatrixValue->inputColorMatrix: rec.709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjusting VUI ColorMatrix to: bt709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  -> VUI Color Matrix: bt709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: NVEncModel ADJUST for inputColorMatrix: Rec.709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   (NVEncModel->VUIModelService) adjustVUIColorMatrixValue
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    adjustVUIColorMatrixToInput: true
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    vuiColorMatrix: true
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    vuiColorMatrixValue enabled: false
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: inputColorMatrix: rec.709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: resulting colorMatrix: rec.709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjustVUIColorMatrixValue->inputColorMatrix: rec.709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjusting VUI ColorMatrix to: bt709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  -> VUI Color Matrix: bt709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: x265Model ADJUST for inputColorMatrix: Rec.709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   (x265Model->VUIModelService) adjustVUIColorMatrixValue
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    adjustVUIColorMatrixToInput: true
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    vuiColorMatrix: true
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    vuiColorMatrixValue enabled: false
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: inputColorMatrix: rec.709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: resulting colorMatrix: rec.709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjustVUIColorMatrixValue->inputColorMatrix: rec.709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjusting VUI ColorMatrix to: bt709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  -> VUI Color Matrix: bt709
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: -> old best: none, percentage: 0
2022.07.23 - 09:02:05_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: not updating vsPreview,..
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: generating vapoursynth script for preview,..
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: generateScript - dual: 1, crop: 0, preview: 0, script: 0, job: 0
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: There's no timecode in mp4_d93f2e7e2ea0eebaddf271cdaae6ec59_853323747
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: target bit depth from filtering model: 10
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: getColorSampling for 4:2:0 YUV at 8bit
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  -> input&current colorSampling: YUV420P8
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Unknown color matrix '' -> using '470bg'
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Luminance scale: tv -> yuvPCScale: false
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: There's no Codec in mp4_d93f2e7e2ea0eebaddf271cdaae6ec59_853323747
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: getColorSampling for i422 i422 at 10bit
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  -> input&current colorSampling: YUV422P10
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: target color: YUV422P10
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: There's no typ in mp4_d93f2e7e2ea0eebaddf271cdaae6ec59_853323747
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  vc1: false
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: dgDecNVCompatible: true
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: vsDGDecNVAvailable: true
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: vsUseDGDecNV: false
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Disabling DGDec incompatible format (AVC)!
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Vapoursynth tryLSMASHSource for: M:\Twemlow to Upscale\OLD BITS\Eve Island Edited Master Encode to DV HQ.mp4
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   vsPreferLSMASH: true
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   mp4Compatible: true
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   forcing CFR output: true
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: -> using LibAvSource
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: There's no Color Primes in mp4_d93f2e7e2ea0eebaddf271cdaae6ec59_853323747
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   getStartAndEnd(cutStartTime: 0, cutEndTime: 5053.56, selectionStartTime: 0, selectionEndTime: 5053.56, ...)
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   startTime: 0.00000000
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   endTime: 5053.56000000
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   -> startTime: 0, endTime: 5053.56
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   matchesChapter: true
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: no Vapoursynth deinterlacer,..
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: no Vapoursynth deinterlacer,..
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Interframe::call(59.94,50)
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: There's no timecode in mp4_d93f2e7e2ea0eebaddf271cdaae6ec59_853323747
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.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/DenoiseFilter/CTMF/CTMF.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SharpenFilter/CAS/CAS.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/HQDN3D/libhqdn3d.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 edi_rpow2
import ChangeFPS
import G41Fun
import mvsfunc
import havsfunc
# source: 'M:\Twemlow to Upscale\OLD BITS\Eve Island Edited Master Encode to DV HQ.mp4'
# 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\OLD BITS\Eve Island Edited Master Encode to DV HQ.mp4 using LWLibavSource
clip = core.lsmas.LWLibavSource(source="M:/Twemlow to Upscale/OLD BITS/Eve Island Edited Master Encode to DV HQ.mp4", 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
# ColorMatrix: adjusting color matrix from 470bg to 709
# adjusting luma range to 'limited' due to post clipping
clip = core.resize.Bicubic(clip=clip, matrix_in_s="470bg", matrix_s="709", range_in=0, range=0)
# converting interlaced to half-height progressive for filtering (vsMLDegrain) (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)
# removing grain using MLDegrain
clip = G41Fun.MLDegrain(clip=clip, tr=1, soft=[0,0,0])
# denoising using HQDN3D
clip = core.hqdn3d.Hqdn3d(clip=clip, lum_spac=0.00, chrom_spac=7.00, chrom_tmp=10.50)
# contrast sharpening using CAS
clip = core.cas.CAS(clip=clip, sharpness=0.600)
# deringing using HQDeringmod
clip = havsfunc.HQDeringmod(clip, nrmode=2, darkthr=3.0)
# adjusting frame count with Interframe/SVP
clip = havsfunc.InterFrame(clip, Tuning="smooth", NewNum=60000, NewDen=1001) # new fps: 59.94
# needed 6
# adjusting frame count by adding duplicate frames
original = ChangeFPS.ChangeFPS(clip=original,target_fps_num=60000,target_fps_den=1001)
# resizing using ZNEDI3
# current: 720x576 target: 1478x1080 -> pow: 4
clip = edi_rpow2.nnedi3_rpow2(clip=clip, rfactor=4) # 2880x2304
# adjusting resizing
clip = core.fmtc.resample(clip=clip, w=1478, h=1080, kernel="lanczos", interlaced=False, interlacedd=False)
original = core.resize.Bicubic(clip=original, width=1478, height=1080)
# 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 1478x1080
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 = ChangeFPS.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=2)
clip = core.text.Text(clip=clip,text="Filtered",scale=2)
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.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   writing: UTF8BOM
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  VapoursynthPreview enabling show,..
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: VapoursynthPreview m_currentTempVPY: M:\Twemlow to Upscale\Twemlow-TEMP30\tempPreviewVapoursynthFile09_02_10_266.vpy
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: VapoursynthPreview m_currentCall: C:\Program Files\Hybrid\64bit\Vapoursynth\vsViewer.exe --preview-only M:\Twemlow to Upscale\Twemlow-TEMP30\tempPreviewVapoursynthFile09_02_10_266.vpy --matrix Rec709
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Creating index files,...
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Files to index for VAPOURSYNTHPREVIEW:
 
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Indexer createIndexFiles disable GUI(1),..
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: enableGui 0 + -1 = -1
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  -> m_toIndex is empty,... -> nothing to do,...
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: VsScriptGenerator indexerFinished(0,0): VAPOURSYNTHPREVIEW
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Vapoursynth, indexerFinished after: 17:01:11.213
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: shortFileName for: M:\Twemlow to Upscale\OLD BITS\Eve Island from VHS CompleteSound.avi
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  trying to shorten,..
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  asking windows for short name for: M:\Twemlow to Upscale\OLD BITS\Eve Island from VHS CompleteSound.avi
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  -> shortened: M:\Twemlow to Upscale\OLD BITS\Eve Island from VHS CompleteSound.avi
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: -> shortened name: M:\Twemlow to Upscale\OLD BITS\Eve Island from VHS CompleteSound.avi
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: VsScriptGenerator indexerFinished enable GUI(6),..
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: enableGui -1 + 1 = 0
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  indexing finished,..
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  VapoursynthPreview disable show(2),..
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  VapoursynthPreview disable updating(2),..
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Connected vsViewer->2finished(int, QProcess::ExitStatus) to VapoursynthPreview->1playerFinished(int, QProcess::ExitStatus), type: 384
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Connected vsViewer->2readyReadStandardOutput() to VapoursynthPreview->1handlePreviewOutput(), type: 128
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Connected vsViewer->2readyReadStandardError() to VapoursynthPreview->1handlePreviewOutput(), type: 128
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: startPreview call: C:\Program Files\Hybrid\64bit\Vapoursynth\vsViewer.exe --preview-only M:\Twemlow to Upscale\Twemlow-TEMP30\tempPreviewVapoursynthFile09_02_10_266.vpy --matrix Rec709 --listen 8692_VPY_ --listen-to HYBRID --crop off#0#0#0#0
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Connected ->2messageReceived(QString) to VapoursynthPreview->1gotMessage(QString), type: 128
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Connected ->2connected() to ->1socket_connected(), type: 128
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Connected ->2disconnected() to ->1socket_disconnected(), type: 128
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Connected ->2readyRead() to ->1socket_readReady(), type: 128
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Connected ->2errorOccurred(QLocalSocket::LocalSocketError) to ->1socket_error(QLocalSocket::LocalSocketError), type: 128
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: tokenizing(2) 'C:\Program Files\Hybrid\64bit\Vapoursynth\vsViewer.exe' with:
  --preview-only
  M:\Twemlow to Upscale\Twemlow-TEMP30\tempPreviewVapoursynthFile09_02_10_266.vpy
  --matrix
  Rec709
  --listen
  8692_VPY_
  --listen-to
  HYBRID
  --crop
  off#0#0#0#0
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: tool(2): C:\Program Files\Hybrid\64bit\Vapoursynth\vsViewer.exe
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: arguments(2):
  --preview-only
  M:\Twemlow to Upscale\Twemlow-TEMP30\tempPreviewVapoursynthFile09_02_10_266.vpy
  --matrix
  Rec709
  --listen
  8692_VPY_
  --listen-to
  HYBRID
  --crop
  off#0#0#0#0
2022.07.23 - 09:02:10_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Preview::indexingIsFinished 'VAPOURSYNTHPREVIEW' ignored,..
2022.07.23 - 09:02:13_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: --- vsViewer output - START ---
2022.07.23 - 09:02:13_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: --- vsViewer output - END ---
2022.07.23 - 09:02:15_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: --- vsViewer output - START ---
2022.07.23 - 09:02:15_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: --- vsViewer output - END ---
2022.07.23 - 09:02:23_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: player finished,...
2022.07.23 - 09:02:23_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: setting updatingScript to: false
2022.07.23 - 09:02:23_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: kill process,...
2022.07.23 - 09:02:23_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  VapoursynthPreview disable show(3),..
2022.07.23 - 09:02:23_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  VapoursynthPreview disable updating(3),..
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: (VapoursynthFilterLogic) Adjusting output color matrix,...
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  old outputColorMatrix value: Rec.709
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  set outputColorMatrix value: bt601
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  new output color matrix: Rec.601/470bg/470m
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: x264Model ADJUST for inputColorMatrix: Rec.601/470bg/470m
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   (x264Model->VUIModelService) adjustVUIColorMatrixValue
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    adjustVUIColorMatrixToInput: true
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    vuiColorMatrix: true
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    vuiColorMatrixValue enabled: false
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: inputColorMatrix: rec.601/470bg/470m
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: resulting colorMatrix: rec.601/470bg/470m
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjustVUIColorMatrixValue->inputColorMatrix: rec.601/470bg/470m
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjusting VUI ColorMatrix to: bt470bg
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  -> VUI Color Matrix: bt470bg
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: set output color space,...
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: SvtAv1Model ADJUST for inputColorMatrix: Rec.601/470bg/470m
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   (SvtAv1Model->VUIModelService) adjustVUIColorMatrixValue
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    adjustVUIColorMatrixToInput: true
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    vuiColorMatrix: true
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    vuiColorMatrixValue enabled: false
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: inputColorMatrix: rec.601/470bg/470m
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: resulting colorMatrix: rec.601/470bg/470m
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjustVUIColorMatrixValue->inputColorMatrix: rec.601/470bg/470m
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjusting VUI ColorMatrix to: bt470bg
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  -> VUI Color Matrix: bt470bg
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjustVUIColorMatrixValue
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    adjustVUIColorMatrixToInput: true
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    vuiColorMatrix: true
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    vuiColorMatrixValue enabled: false
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjustVUIColorMatrixValue->inputColorMatrix: rec.601/470bg/470m
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjusting VUI ColorMatrix to: bt470bg
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjusting VUI ColorMatrix to: bt470bg
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: QSVEncModel ADJUST for inputColorMatrix: Rec.601/470bg/470m
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   (QSVEncModel->VUIModelService) adjustVUIColorMatrixValue
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    adjustVUIColorMatrixToInput: true
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    vuiColorMatrix: true
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    vuiColorMatrixValue enabled: false
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: inputColorMatrix: rec.601/470bg/470m
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: resulting colorMatrix: rec.601/470bg/470m
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjustVUIColorMatrixValue->inputColorMatrix: rec.601/470bg/470m
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjusting VUI ColorMatrix to: bt470bg
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  -> VUI Color Matrix: bt470bg
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: NVEncModel ADJUST for inputColorMatrix: Rec.601/470bg/470m
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   (NVEncModel->VUIModelService) adjustVUIColorMatrixValue
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    adjustVUIColorMatrixToInput: true
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    vuiColorMatrix: true
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    vuiColorMatrixValue enabled: false
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: inputColorMatrix: rec.601/470bg/470m
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: resulting colorMatrix: rec.601/470bg/470m
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjustVUIColorMatrixValue->inputColorMatrix: rec.601/470bg/470m
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjusting VUI ColorMatrix to: bt470bg
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  -> VUI Color Matrix: bt470bg
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: x265Model ADJUST for inputColorMatrix: Rec.601/470bg/470m
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   (x265Model->VUIModelService) adjustVUIColorMatrixValue
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    adjustVUIColorMatrixToInput: true
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    vuiColorMatrix: true
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:    vuiColorMatrixValue enabled: false
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: inputColorMatrix: rec.601/470bg/470m
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: resulting colorMatrix: rec.601/470bg/470m
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjustVUIColorMatrixValue->inputColorMatrix: rec.601/470bg/470m
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   adjusting VUI ColorMatrix to: bt470bg
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  -> VUI Color Matrix: bt470bg
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: -> old best: none, percentage: 0
2022.07.23 - 09:02:25_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: not updating vsPreview,..
2022.07.23 - 09:03:04_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: not updating vsPreview,..
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: generating vapoursynth script for preview,..
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: generateScript - dual: 1, crop: 0, preview: 0, script: 0, job: 0
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: There's no timecode in mp4_d93f2e7e2ea0eebaddf271cdaae6ec59_853323747
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: target bit depth from filtering model: 10
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: getColorSampling for 4:2:0 YUV at 8bit
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  -> input&current colorSampling: YUV420P8
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Unknown color matrix '' -> using '470bg'
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Luminance scale: tv -> yuvPCScale: false
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: There's no Codec in mp4_d93f2e7e2ea0eebaddf271cdaae6ec59_853323747
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: getColorSampling for i422 i422 at 10bit
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  -> input&current colorSampling: YUV422P10
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: target color: YUV422P10
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: There's no typ in mp4_d93f2e7e2ea0eebaddf271cdaae6ec59_853323747
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  vc1: false
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: dgDecNVCompatible: true
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: vsDGDecNVAvailable: true
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: vsUseDGDecNV: false
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Disabling DGDec incompatible format (AVC)!
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Vapoursynth tryLSMASHSource for: M:\Twemlow to Upscale\OLD BITS\Eve Island Edited Master Encode to DV HQ.mp4
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   vsPreferLSMASH: true
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   mp4Compatible: true
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   forcing CFR output: true
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: -> using LibAvSource
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: There's no Color Primes in mp4_d93f2e7e2ea0eebaddf271cdaae6ec59_853323747
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   getStartAndEnd(cutStartTime: 0, cutEndTime: 5053.56, selectionStartTime: 0, selectionEndTime: 5053.56, ...)
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   startTime: 0.00000000
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   endTime: 5053.56000000
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   -> startTime: 0, endTime: 5053.56
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   matchesChapter: true
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: no Vapoursynth deinterlacer,..
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: no Vapoursynth deinterlacer,..
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Interframe::call(59.94,50)
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: There's no timecode in mp4_d93f2e7e2ea0eebaddf271cdaae6ec59_853323747
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.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/DenoiseFilter/CTMF/CTMF.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SharpenFilter/CAS/CAS.dll")
core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/HQDN3D/libhqdn3d.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 edi_rpow2
import ChangeFPS
import G41Fun
import mvsfunc
import havsfunc
# source: 'M:\Twemlow to Upscale\OLD BITS\Eve Island Edited Master Encode to DV HQ.mp4'
# 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\OLD BITS\Eve Island Edited Master Encode to DV HQ.mp4 using LWLibavSource
clip = core.lsmas.LWLibavSource(source="M:/Twemlow to Upscale/OLD BITS/Eve Island Edited Master Encode to DV HQ.mp4", 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)
# Converting to target color sampling
clip = core.resize.Bicubic(clip=clip, format=vs.YUV422P10, range_s="limited")
original = clip
# converting interlaced to half-height progressive for filtering (vsMLDegrain) (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 color space from YUV422P10 to YUV444P8 for vsMLDegrain
clip = core.resize.Bicubic(clip=clip, format=vs.YUV444P8, range_s="limited", dither_type="error_diffusion")
# removing grain using MLDegrain
clip = G41Fun.MLDegrain(clip=clip, tr=1, soft=[0,0,0])
# denoising using HQDN3D
clip = core.hqdn3d.Hqdn3d(clip=clip, lum_spac=0.00, chrom_spac=7.00, chrom_tmp=10.50)
# contrast sharpening using CAS
clip = core.cas.CAS(clip=clip, sharpness=0.600)
# deringing using HQDeringmod
clip = havsfunc.HQDeringmod(clip, nrmode=2, darkthr=3.0)
# adjusting color space from YUV444P8 to YUV420P8 for Interframe
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8, range_s="limited")
# adjusting frame count with Interframe/SVP
clip = havsfunc.InterFrame(clip, Tuning="smooth", NewNum=60000, NewDen=1001) # new fps: 59.94
# needed 6
# adjusting frame count by adding duplicate frames
original = ChangeFPS.ChangeFPS(clip=original,target_fps_num=60000,target_fps_den=1001)
# resizing using ZNEDI3
# current: 720x576 target: 1478x1080 -> pow: 4
clip = edi_rpow2.nnedi3_rpow2(clip=clip, rfactor=4) # 2880x2304
# adjusting resizing
clip = core.fmtc.resample(clip=clip, w=1478, h=1080, kernel="lanczos", interlaced=False, interlacedd=False)
original = core.resize.Bicubic(clip=original, width=1478, height=1080)
# 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 1478x1080
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 = ChangeFPS.ChangeFPS(clip=original,target_fps_num=30000,target_fps_den=1001)
# 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=2)
clip = core.text.Text(clip=clip,text="Filtered",scale=2)
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.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:   writing: UTF8BOM
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  VapoursynthPreview enabling show,..
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: VapoursynthPreview m_currentTempVPY: M:\Twemlow to Upscale\Twemlow-TEMP30\tempPreviewVapoursynthFile09_03_06_801.vpy
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: VapoursynthPreview m_currentCall: C:\Program Files\Hybrid\64bit\Vapoursynth\vsViewer.exe --preview-only M:\Twemlow to Upscale\Twemlow-TEMP30\tempPreviewVapoursynthFile09_03_06_801.vpy --matrix Rec601
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Creating index files,...
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Files to index for VAPOURSYNTHPREVIEW:
 
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Indexer createIndexFiles disable GUI(1),..
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: enableGui 0 + -1 = -1
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  -> m_toIndex is empty,... -> nothing to do,...
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: VsScriptGenerator indexerFinished(0,0): VAPOURSYNTHPREVIEW
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Vapoursynth, indexerFinished after: 17:02:07.748
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: shortFileName for: M:\Twemlow to Upscale\OLD BITS\Eve Island from VHS CompleteSound.avi
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  trying to shorten,..
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  asking windows for short name for: M:\Twemlow to Upscale\OLD BITS\Eve Island from VHS CompleteSound.avi
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  -> shortened: M:\Twemlow to Upscale\OLD BITS\Eve Island from VHS CompleteSound.avi
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: -> shortened name: M:\Twemlow to Upscale\OLD BITS\Eve Island from VHS CompleteSound.avi
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: VsScriptGenerator indexerFinished enable GUI(6),..
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: enableGui -1 + 1 = 0
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  indexing finished,..
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  VapoursynthPreview disable show(2),..
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  VapoursynthPreview disable updating(2),..
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Connected vsViewer->2finished(int, QProcess::ExitStatus) to VapoursynthPreview->1playerFinished(int, QProcess::ExitStatus), type: 384
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Connected vsViewer->2readyReadStandardOutput() to VapoursynthPreview->1handlePreviewOutput(), type: 128
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Connected vsViewer->2readyReadStandardError() to VapoursynthPreview->1handlePreviewOutput(), type: 128
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: startPreview call: C:\Program Files\Hybrid\64bit\Vapoursynth\vsViewer.exe --preview-only M:\Twemlow to Upscale\Twemlow-TEMP30\tempPreviewVapoursynthFile09_03_06_801.vpy --matrix Rec601 --listen 8692_VPY_ --listen-to HYBRID --crop off#0#0#0#0
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Connected ->2messageReceived(QString) to VapoursynthPreview->1gotMessage(QString), type: 128
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Connected ->2connected() to ->1socket_connected(), type: 128
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Connected ->2disconnected() to ->1socket_disconnected(), type: 128
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Connected ->2readyRead() to ->1socket_readReady(), type: 128
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Connected ->2errorOccurred(QLocalSocket::LocalSocketError) to ->1socket_error(QLocalSocket::LocalSocketError), type: 128
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: tokenizing(2) 'C:\Program Files\Hybrid\64bit\Vapoursynth\vsViewer.exe' with:
  --preview-only
  M:\Twemlow to Upscale\Twemlow-TEMP30\tempPreviewVapoursynthFile09_03_06_801.vpy
  --matrix
  Rec601
  --listen
  8692_VPY_
  --listen-to
  HYBRID
  --crop
  off#0#0#0#0
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: tool(2): C:\Program Files\Hybrid\64bit\Vapoursynth\vsViewer.exe
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: arguments(2):
  --preview-only
  M:\Twemlow to Upscale\Twemlow-TEMP30\tempPreviewVapoursynthFile09_03_06_801.vpy
  --matrix
  Rec601
  --listen
  8692_VPY_
  --listen-to
  HYBRID
  --crop
  off#0#0#0#0
2022.07.23 - 09:03:06_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: Preview::indexingIsFinished 'VAPOURSYNTHPREVIEW' ignored,..
2022.07.23 - 09:03:09_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: --- vsViewer output - START ---
2022.07.23 - 09:03:09_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: --- vsViewer output - END ---
2022.07.23 - 09:03:12_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: --- vsViewer output - START ---
2022.07.23 - 09:03:12_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: --- vsViewer output - END ---
2022.07.23 - 09:03:23_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: player finished,...
2022.07.23 - 09:03:23_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: setting updatingScript to: false
2022.07.23 - 09:03:23_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: kill process,...
2022.07.23 - 09:03:23_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  VapoursynthPreview disable show(3),..
2022.07.23 - 09:03:23_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9:  VapoursynthPreview disable updating(3),..
2022.07.23 - 09:03:24_Windows 10 Version 2009 (64bit)_2022.07.19.1 - level 9: not updating vsPreview,..
Reply
#58
don't see any error messages or something else which would shine details on 'seems to be causing problems'
-> no clue what problems you are facing, if Vapoursynth Preview is reporting some error that do not appear in the log I don't know about them.
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply
#59
Here's the MediaInfo report. It's a mystery. I will re-encode the file and see if that works.

Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/mp41)
File size                                : 1.85 GiB
Duration                                 : 1 h 24 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 3 151 kb/s
Encoded date                             : UTC 2019-10-11 10:01:50
Tagged date                              : UTC 2019-10-11 10:01:50
TIM                                      : 00:00:00:00
TSC                                      : 25
TSZ                                      : 1

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : Main@L3.1
Format settings                          : CABAC / 3 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 3 frames
Format settings, GOP                     : M=4, N=33
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 1 h 24 min
Bit rate                                 : 2 958 kb/s
Width                                    : 720 pixels
Height                                   : 576 pixels
Display aspect ratio                     : 4:3
Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Standard                                 : PAL
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Interlaced
Scan type, store method                  : Separated fields
Scan order                               : Bottom Field First
Bits/(Pixel*Frame)                       : 0.285
Stream size                              : 1.74 GiB (94%)
Language                                 : English
Encoded date                             : UTC 2019-10-11 10:01:50
Tagged date                              : UTC 2019-10-11 10:01:50
Color range                              : Limited
Codec configuration box                  : avcC

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 1 h 24 min
Source duration                          : 1 h 24 min
Bit rate mode                            : Variable
Bit rate                                 : 192 kb/s
Maximum bit rate                         : 295 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 114 MiB (6%)
Source stream size                       : 114 MiB (6%)
Language                                 : English
Reply
#60
You still have not written what the problem is,...
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)