Selur's Little Message Board
[HELP] Upscale not completing - Printable Version

+- Selur's Little Message Board (https://forum.selur.net)
+-- Forum: Hybrid - Support (https://forum.selur.net/forum-1.html)
+--- Forum: Problems & Questions (https://forum.selur.net/forum-3.html)
+--- Thread: [HELP] Upscale not completing (/thread-2269.html)



Upscale not completing - Miranda - 08.02.2022

I'm trying to do an upscale from a previously de-interlaced TV movie master, but it is not completing. It gets to 57% then "completes", with no finished file.

Log attached.


RE: Upscale not completing - Selur - 08.02.2022

Processign stopy dui to some problem with the processing of the input script.
The script in the debug output:
# Imports import os import sys import ctypes # Loading Support Files Dllref = ctypes.windll.LoadLibrary("C:/Program Files/Hybrid/64bit/vsfilters/Support/libfftw3f-3.dll") import vapoursynth as vs # 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/ResizeFilter/nnedi3/vsznedi3.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/fmtconv.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/MiscFilter/MiscFilters/MiscFilters.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DenoiseFilter/TTempSmooth/TTempSmooth.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/DenoiseFilter/NEO_FFT3DFilter/neo-fft3d.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/DCTFilter.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/DeblockFilter/Deblock/Deblock.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/Support/libmvtools.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll") # Import scripts import edi_rpow2 import havsfunc # source: 'S:\Ghostwatch\Ghostwatch-Out1\GhostwatchComplete-SD-PAL-qtgmc.mov' # current color space: YUV422P10, bit depth: 10, resolution: 714x532, fps: 25, color matrix: 470bg, yuv luminance scale: limited, scanorder: progressive # Loading S:\Ghostwatch\Ghostwatch-Out1\GhostwatchComplete-SD-PAL-qtgmc.mov using LWLibavSource clip = core.lsmas.LWLibavSource(source="S:/Ghostwatch/Ghostwatch-Out1/GhostwatchComplete-SD-PAL-qtgmc.mov", format="YUV422P10", cache=0, fpsnum=25, prefer_hw=0) # making sure input color matrix is set as 470bg clip = core.resize.Bicubic(clip, matrix_in_s="470bg",range_s="limited") # making sure frame rate is set to 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) # 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) # denoising using MCTemporalDenoise clip = havsfunc.MCTemporalDenoise(i=clip, settings="low") # contrast sharpening using CAS clip = core.cas.CAS(clip=clip) clip = core.std.AddBorders(clip=clip, left=0, right=2, top=0, bottom=0) # add borders to archive mod 4 (NNEDI3(CL)) - 716x532 # resizing using ZNEDI3 clip = edi_rpow2.nnedi3_rpow2(clip=clip, rfactor=4, nns=4) # 2864x2128 clip = core.std.CropRel(clip=clip, left=0, right=8, top=0, bottom=0) # removing borders (NNEDI3(CL)) - 2856x2128 # adjusting resizing clip = core.fmtc.resample(clip=clip, w=1440, h=1074, kernel="lanczos", interlaced=False, interlacedd=False) # set output frame rate to 25.000fps clip = core.std.AssumeFPS(clip=clip, fpsnum=25, fpsden=1) # Output clip.set_output()
seems correct.

-> Does the Vapoursynth Preview work?

Cu Selur


RE: Upscale not completing - Miranda - 08.02.2022

I'm not getting a preview window either. I just tried again, and I got around 10 minute sof processed video, followed by the remainder as a plain white picture.


RE: Upscale not completing - Selur - 08.02.2022

Okay, if the preview windows doesn't even open then there is something off with the Vapoursynth setup on your system.
Uninstalling Vapoursynth and it's filters (<- important) and reinstalling them again might help.

Cu Selur

Ps.: May be there is a error message that is visible if you create a debug output of you trying to open the Vapoursynth Preview.


RE: Upscale not completing - Miranda - 08.02.2022

OK, I will investigate. Thanks once again for your help.


RE: Upscale not completing - Selur - 08.02.2022

I packaged a new dev version and send you a link via pm, may be it works fine with that version.

Cu Selur