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.

MClean + Vapoursynth does not work
#1
Hybrid version: 2021.07.18.1 (Windows 10 64bit)
What did happen? Using the Vapoursynth frameserver, enabling MClean on the job yields a weird error.

Failed to evaluate the script:
Python exception: No attribute with the name vcmod exists. Did you mistype a plugin namespace?

Traceback (most recent call last):
  File "src\cython\vapoursynth.pyx", line 2242, in vapoursynth.vpy_evaluateScript
  File "src\cython\vapoursynth.pyx", line 2243, in vapoursynth.vpy_evaluateScript
  File "D:\Hybrid\_temp\tempPreviewVapoursynthFile19_33_03_628.vpy", line 37, in <module>
    clip = G41Fun.mClean(clip=clip)
  File "C:\Hybrid\64bit\vsscripts\G41Fun.py", line 2517, in mClean
    c = core.vcmod.Median(clip, plane=[0, 1, 1]) if chroma else clip
  File "src\cython\vapoursynth.pyx", line 1891, in vapoursynth._CoreProxy.__getattr__
  File "src\cython\vapoursynth.pyx", line 1754, in vapoursynth.Core.__getattr__
AttributeError: No attribute with the name vcmod exists. Did you mistype a plugin namespace

As I've backtraced, vcmod is part of vcm.dll which I do have in c:\Hybrid\64bit\vsfilters\Support\vcm.dll and in the assembly vpy script I see it tries to load it:

# Imports
import os
import sys
import ctypes
# Loading Support Files
Dllref = ctypes.windll.LoadLibrary("C:/Hybrid/64bit/vsfilters/Support/libfftw3-3.dll")
import vapoursynth as vs
# getting Vapoursynth core
core = vs.core
# Import scripts folder
scriptPath = 'C:/Hybrid/64bit/vsscripts'
sys.path.append(os.path.abspath(scriptPath))
# Loading Plugins
core.std.LoadPlugin(path="C:/Hybrid/64bit/vsfilters/DebandFilter/Flash3kDeband/flash3kyuu_deband.dll")
core.std.LoadPlugin(path="C:/Hybrid/64bit/vsfilters/SharpenFilter/AWarpSharp2/libawarpsharp2.dll")
core.std.LoadPlugin(path="C:/Hybrid/64bit/vsfilters/Support/TCanny.dll")
core.std.LoadPlugin(path="C:/Hybrid/64bit/vsfilters/Support/fmtconv.dll")
core.std.LoadPlugin(path="C:/Hybrid/64bit/vsfilters/Support/libtemporalmedian.dll")
core.std.LoadPlugin(path="C:/Hybrid/64bit/vsfilters/Support/vcm.dll")
core.std.LoadPlugin(path="C:/Hybrid/64bit/vsfilters/Support/libmvtools.dll")
core.std.LoadPlugin(path="C:/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll")
# Import scripts
import mvsfunc
import muvsfunc
import G41Fun
# source: 'd:\Video\dvd\title_t00 (1)-004.mkv'
# current color space: YUV420P8, bit depth: 8, resolution: 720x480, fps: 29.97, color matrix: 470bg, yuv luminance scale: limited, scanorder: progressive
# Loading d:\Video\dvd\title_t00 (1)-004.mkv using LWLibavSource
clip = core.lsmas.LWLibavSource(source="d:/Video/dvd/title_t00 (1)-004.mkv", format="YUV420P8", cache=0, prefer_hw=0)
# making sure input color matrix is set as 470bg
clip = core.resize.Point(clip, matrix_in_s="470bg",range_s="limited")
# making sure frame rate is set to 29.970
clip = core.std.AssumeFPS(clip=clip, fpsnum=30000, fpsden=1001)
# Setting color range to TV (limited) range.
clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1)
# denoising using mClean
clip = G41Fun.mClean(clip=clip)
# adjusting output color from: YUV420P16 to YUV420P10 for x265Model (i420@8)
clip = core.resize.Bicubic(clip=clip, format=vs.YUV420P10, range_s="limited")
# adjusted resizing to achieve PAR 1:1 for preview
# resizing for preview to square pixel to 640x480
clip = core.resize.Bicubic(clip=clip, width=640, height=480)
# set output frame rate to 29.970fps
clip = core.std.AssumeFPS(clip=clip, fpsnum=30000, fpsden=1001)
# Output
clip.set_output()

I have no idea what is causing the issue.
Reply


Messages In This Thread
MClean + Vapoursynth does not work - by darkbyte - 07.08.2021, 19:42

Forum Jump:


Users browsing this thread: 1 Guest(s)