View Full Version : No attribute with the name mvsf exists. Did you mistype a plugin namespace?
Logan9778
12th September 2017, 00:50
Keep getting this error that I can't seem to resolve when trying to find all the modules to run my code in Vapoursynth.
I've tried looking for other modules, but nothing seems to work. It appears it's an error in the Plum module, as far as I can tell, and it looks like it has to deal with libmvtools_sf_em64t.dll and the mvsf function, but I can't understand what I'm doing wrong. I've managed to solve a lot of problems with missing .dlls and such so far, but I'm really stuck on this one. Nothing I do seems to work. Maybe I have it in the wrong place?
This is the error I get in the windows cmd terminal -
F:\Encoding\Vine>python vinetest.vpy
Traceback (most recent call last):
File "vinetest.vpy", line 10, in <module>
deconv = plum.Basic(video)
File "C:\Users\logan\AppData\Local\Programs\Python\Python36\lib\site-packages\plum.py", line 226, in Basic
core = get_core()
File "C:\Users\logan\AppData\Local\Programs\Python\Python36\lib\site-packages\plum.py", line 17, in __init__
self.MSuper = vs.core.mvsf.Super
File "src\cython\vapoursynth.pyx", line 1524, in vapoursynth._CoreProxy.__getattr__ (src\cython\vapoursynth.c:31934)
File "src\cython\vapoursynth.pyx", line 1379, in vapoursynth.Core.__getattr__ (src\cython\vapoursynth.c:29142)
AttributeError: No attribute with the name mvsf exists. Did you mistype a plugin namespace?
I think I have the right single precision mvsf library it wants, but it fails to find the function.
Here are all the librarys, modules etc. I have loaded and their locations.
https://picload.org/image/dgraiair/dlls.jpg
Here's my code, basically Fiesty2's single precision conversion.
from vapoursynth import core
import havsfunc as haf
import mvmulti
import vine
import plum
video = core.ffms2.Source(source='tyo1.mkv')
vidclp = core.ffms2.Source(source='tyo1.mkv')
video = haf.QTGMC(video, TFF=True, Preset="Very Slow", Sharpness=1.2, SLMode=2, EZKeepGrain=1.2, NoiseProcess=2) # result is double framerate progressive, so re-interlate it later
video = core.fmtc.bitdepth(video,bits=32,fulls=False,fulld=True)
deconv = plum.Basic(video)
conv = plum.Basic(video,mode="convolution")
sup = plum.Super([video, None])
supdeconv = plum.Super([video, deconv])
supconv = plum.Super([conv, None])
video = plum.Final([video, deconv, conv], [sup, supdeconv, supconv], strength=2.1, cutoff=16) # middlin
video = core.std.SeparateFields(video, tff=True)
#video = core.text.ClipInfo(video)
#print(video)
#vine.Super(video, pel=4)
video.set_output()
I really don't know what I'm doing here, so any help appreciated.
Logan9778
12th September 2017, 18:21
What I'm really not understanding is how vs.core.mvsf.'etc' is being put together. Is it just from vs (vapoursynth dll), which it looks like to me, or is it being put together from the functions of other dlls under core? Because I'm not understanding this, I can't figure out how to fix it.
Myrsloik
12th September 2017, 22:22
Explicitly use loadplugin to load it. You may get an informative error message at least.
Logan9778
12th September 2017, 22:33
Thanks Myrsloik.
I really don't know python at all. Is that code like import or a program?
EDIT:Ah, ok, I see it in your docs. But I'm still a little confused on what module to load with it. Vapoursynth.dll? or should it be another module?
Myrsloik
12th September 2017, 22:37
The mvtools dll that supposedly contains the mvsf stuff.
Logan9778
12th September 2017, 22:47
Ok, I was trying to use Loadplugin like an import statement, and I get the error "NameError: name 'LoadPlugin' is not defined".
Should it be set to a variable, like x = LoadPlugin(....?
Could you give me an example of how it should be in the vapoursynth script? Thanks.
This is my script so far -
from vapoursynth import core
import havsfunc as haf
import mvmulti
import vine
import plum
plug = LoadPlugin(path=r'c:\program files (x86)\vapoursynth\core64\vapoursynth.dll')
video = core.ffms2.Source(source='tyo1.mkv')
vidclp = core.ffms2.Source(source='tyo1.mkv')
#video = haf.QTGMC(video, TFF=True, Preset="Very Slow", Sharpness=1.2, SLMode=2, EZKeepGrain=1.2, NoiseProcess=2) # result is double framerate progressive, so re-interlate it later
video = core.fmtc.bitdepth(video,bits=32,fulls=False,fulld=True)
deconv = plum.Basic(video)
conv = plum.Basic(video,mode="convolution")
sup = plum.Super([video, None])
supdeconv = plum.Super([video, deconv])
supconv = plum.Super([conv, None])
video = plum.Final([video, deconv, conv], [sup, supdeconv, supconv], strength=2.1, cutoff=16) # middlin
video = core.std.SeparateFields(video, tff=True)
#video = core.text.ClipInfo(video)
#print(video)
#vine.Super(video, pel=4)
video.set_output()
Myrsloik
12th September 2017, 22:48
core.std.LoadPlugin(...)
Logan9778
12th September 2017, 22:57
F:\Encoding\Vine>python vinetest.vpy
Traceback (most recent call last):
File "vinetest.vpy", line 6, in <module>
plug = core.std.LoadPlugin(path=r'C:\Program Files (x86)\VapourSynth\plugins64\libmvtools')
File "src\cython\vapoursynth.pyx", line 1702, in vapoursynth.Function.__call__ (src\cython\vapoursynth.c:34595)
vapoursynth.Error: Plugin C:\Program Files (x86)\VapourSynth\plugins64\libmvtools already loaded (com.nodame.mvtools)
F:\Encoding\Vine>python vinetest.vpy
Traceback (most recent call last):
File "vinetest.vpy", line 6, in <module>
plug = core.std.LoadPlugin(path=r'C:\Program Files (x86)\VapourSynth\plugins64\libmvtools_sf_em64t.dll')
File "src\cython\vapoursynth.pyx", line 1702, in vapoursynth.Function.__call__ (src\cython\vapoursynth.c:34595)
vapoursynth.Error: Failed to load C:\Program Files (x86)\VapourSynth\plugins64\libmvtools_sf_em64t.dll. GetLastError() returned 126. A DLL dependency is probably missing.
Hmm, first one says its loaded, but the precision floating one by Fiesty2 gives me an error. I think it was Fiesty who wrote it. I was trying to use his program Vine with it. His program Plum is the module that first gives the error looking for mvsf.
Also tried libfftw3f-3.dll, but get the error
F:\Encoding\Vine>python vinetest.vpy
Traceback (most recent call last):
File "vinetest.vpy", line 6, in <module>
plug = core.std.LoadPlugin(path=r'C:\Program Files (x86)\VapourSynth\plugins64\libfftw3f-3.dll')
File "src\cython\vapoursynth.pyx", line 1702, in vapoursynth.Function.__call__ (src\cython\vapoursynth.c:34595)
vapoursynth.Error: No entry point found in C:\Program Files (x86)\VapourSynth\plugins64\libfftw3f-3.dll
Not sure what "no entry point means".
Here is the error I get in Plum when it tries to call vs.core.mvsf.Super.
F:\Encoding\Vine>python vinetest.vpy
Traceback (most recent call last):
File "vinetest.vpy", line 11, in <module>
deconv = plum.Basic(video)
File "C:\Users\logan\AppData\Local\Programs\Python\Python36\lib\site-packages\plum.py", line 226, in Basic
core = get_core()
File "C:\Users\logan\AppData\Local\Programs\Python\Python36\lib\site-packages\plum.py", line 17, in __init__
self.MSuper = vs.core.mvsf.Super
File "src\cython\vapoursynth.pyx", line 1524, in vapoursynth._CoreProxy.__getattr__ (src\cython\vapoursynth.c:31934)
File "src\cython\vapoursynth.pyx", line 1379, in vapoursynth.Core.__getattr__ (src\cython\vapoursynth.c:29142)
AttributeError: No attribute with the name mvsf exists. Did you mistype a plugin namespace?
It doesn't seem to exist or be loaded. Wouldn't it be part of vapoursynth.dll? Or are the modules being put together somehow? Python seems to flow in ways I didn't expect.
Myrsloik
12th September 2017, 23:06
It needs libfftw3-3.dll
Logan9778
12th September 2017, 23:11
Hmm, I have it together in vapoursynth/Plugins64 with the regular libmvtools and Fiesty's floating point mod of libmvtools. I tried to force it to load with LoadPlugin but it gives me a no entry point error, as above.
I wonder if it's not loading somehow.
OH, I just saw you put the one WITHOUT the f at the end. Let me try that real quick.
EDIT: OK! That looks like it worked! I'm on to the next error now.
F:\Encoding\Vine>python vinetest.vpy
Traceback (most recent call last):
File "vinetest.vpy", line 12, in <module>
conv = plum.Basic(video,mode="convolution")
TypeError: Basic() got an unexpected keyword argument 'mode'
I'll try to figure this one out now.
THANK YOU SO MUCH! I was REALLY stuck on that one.
And if could ask you one last thing, so, in Python, when I see vs.core.mvsf.Super, that's all in one .dll or module? Stuff isn't coming from other modules and being all stuck under core, right?
I mean, Super would be a function of vs.core.mvsf say from the one .dll virtualsynth.dll.
lansing
13th September 2017, 16:00
Modules came from the "import", such as "havfunc" and "plum", they are not loaded into the core, so you call them just by their module names
havfunc.QTGMC().
dlls in the plugin folders are loaded into the core automatically, each dll will have their own namespace to avoid same function name confusion. "mvsf" is a namespace from the single precision mvtools dll.
Since your problem came from loading plum, you should ask them in the official plum thread
https://forum.doom9.org/showthread.php?t=173775
Logan9778
14th September 2017, 00:07
Thanks Lansing. I think I understand what your saying. :p I'm pretty sure the problem with Plum was that I just had the code wrong. I don't think there is any "mode" option actually.
Got VapourSynth working and it's about the same speed as AviSynth, except I don't appear to have to use DGdecodeNV anymore, which saves a lot of time not having to make .dgi and .avs files. Very Nice program! Looks like Vapoursynth is well on its way to replacing AviSynth. Very impressed with it.
Busty
23rd May 2025, 11:35
I dare to revive this thread again because I have the same error message.
If libfftw3-3 is the solution, where can I find this for mac?
I tried building it with MacPorts, which creates a libfftw3.3.dylib at opt/local, but copying this to Vapoursynth libraries doe not help.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.