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.

Waifu2x Resulting in crash
#1
Hybrid version: Win64 2017.10.05.1 Vapoursynth

What happened: Crashed while attempting to encode. Vapoursynth preview also does not work.

What did I do to get the bug: Attempt to use waifu2x resizing on any video. I first encountered it while trying to encode a DVD, but I also tested other files and the result is the same. If I choose to downscale the problem does not happen (no surprise :| ).

This is the script:
# Imports import vapoursynth as vs core = vs.get_core() import ctypes # Loading Support Files Dllref = ctypes.windll.LoadLibrary("Support/fmtconv.dll") # Loading Plugins core.std.LoadPlugin(path="C:/Program Files/Hybrid/vsfilters/ResizeFilter/Waifu2x/Waifu2x-w2xc.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/vsfilters/Support/fmtconv.dll") core.std.LoadPlugin(path="C:/Program Files/Hybrid/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll") # Loading X:\!!!temp\[HorribleSubs] Kiznaiver - 10 [1080p].mkv using LWLibavSource clip = core.lsmas.LWLibavSource(source="X:/!!!temp/_3E47R~N.MKV", format="YUV420P8", cache=0) # making sure input color matrix is set as 709 clip = core.resize.Point(clip, matrix_in_s="709") # Making sure input color range is set to TV (limited) range. clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1) # resizing to 2800x1576 # adjusting bit depth to 32bit clip = core.fmtc.bitdepth(clip=clip,bits=32) # resizing using Waifu2x clip = core.w2xc.Waifu2x(clip=clip, scale=2, noise=1, block=512, photo=False, processor=-1, gpu=1) # adjusting resizing clip = core.fmtc.resample(clip=clip, w=2800, h=1576, kernel="lanczos", interlaced=False, interlacedd=False) # adjusting bit depth back to 16bit clip = core.fmtc.bitdepth(clip=clip,bits=16) # adjusting output color from: YUV420P16 to YUV420P8 clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P8) # Output clip.set_output()


Vapoursynth gives me following error:

Failed to evaluate the script: Python exception: [WinError 126] The specified module could not be found Traceback (most recent call last):  File "src\cython\vapoursynth.pyx", line 1810, in vapoursynth.vpy_evaluateScript (src\cython\vapoursynth.c:36455)  File "C:\Users\mmokk\AppData\Local\Temp\tempPreviewVapoursynthFile00_40_44_540.vpy", line 6, in <module>    Dllref = ctypes.windll.LoadLibrary("Support/fmtconv.dll")  File "ctypes\__init__.py", line 422, in LoadLibrary  File "ctypes\__init__.py", line 344, in __init__ OSError: [WinError 126] The specified module could not be found


I performed a clean installation of hybrid two times, with "delete user settings". I also checked if fmtconv.dll is in the directory (it is).

The debug log is in the attachment.

Hope you can help
Reply


Messages In This Thread
Waifu2x Resulting in crash - by mmokkp - 10.12.2017, 02:07
RE: Waifu2x Resulting in crash - by Selur - 10.12.2017, 09:15
RE: Waifu2x Resulting in crash - by Selur - 10.12.2017, 09:40
RE: Waifu2x Resulting in crash - by mmokkp - 10.12.2017, 16:19
RE: Waifu2x Resulting in crash - by Selur - 10.12.2017, 16:42
RE: Waifu2x Resulting in crash - by Selur - 10.12.2017, 17:54
RE: Waifu2x Resulting in crash - by mmokkp - 10.12.2017, 19:05
RE: Waifu2x Resulting in crash - by Selur - 10.12.2017, 19:16

Forum Jump:


Users browsing this thread: 1 Guest(s)