Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
20th September 2020, 13:03 | #1 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
vcm, can't find missing dependency :(
I'm trying to get vcm.fan (and others) working using portable 64bit Vapoursynth.
when using: Code:
# Imports import vapoursynth as vs core = vs.get_core() # Loading Plugins core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll") core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/MiscFilter/vcm.dll") # loading source: F:\TestClips&Co\files\10bit Test.mkv # color sampling YUV420P10@10, matrix:470bg, scantyp: progressive # luminance scale TV # resolution: 640x352 # frame rate: -1 fps # input color space: YUV420P10, bit depth: 10, resolution: 640x352, fps: 25 # Loading F:\TestClips&Co\files\10bit Test.mkv using LWLibavSource clip = core.lsmas.LWLibavSource(source="F:/TestClips&Co/files/10bit Test.mkv", format="YUV420P10", cache=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 25 clip = core.std.AssumeFPS(clip, fpsnum=25, fpsden=1) # Setting color range to TV (limited) range. clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1) clip = core.vcm.fan(clip=clip,span=1,edge=1,uv=1,plus=0.02,minus=0.02) # Output clip.set_output() Code:
Traceback (most recent call last): File "src\cython\vapoursynth.pyx", line 2244, in vapoursynth.vpy_evaluateScript File "src\cython\vapoursynth.pyx", line 2245, in vapoursynth.vpy_evaluateScript File "C:\Users\Selur\Desktop\test.vpy", line 6, in <module> core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/MiscFilter/vcm.dll") File "src\cython\vapoursynth.pyx", line 2069, in vapoursynth.Function.__call__ vapoursynth.Error: Failed to load I:/Hybrid/64bit/vsfilters/MiscFilter/vcm.dll. GetLastError() returned 126. The file you tried to load or one of its dependencies is probably missing. Okay, since it's a domain frequency filter it might depend on fft3w (even so neither the Avisynth documentation of http://www.avisynth.nl/users/vcmohan...FanFilter.html or the fan.html which comes with the plugin mentions it). So I modified the script to: Code:
# Imports import os import sys import ctypes # Loading Support Files Dllref = ctypes.windll.LoadLibrary("I:/Hybrid/64bit/vsfilters/Support/libfftw3f-3.dll") # I tested with libfftw3f-3, libfftw3l-3, libfftw3-3 import vapoursynth as vs core = vs.get_core() # Loading Plugins core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/SourceFilter/LSmashSource/vslsmashsource.dll") core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/MiscFilter/vcm.dll") # loading source: F:\TestClips&Co\files\10bit Test.mkv # color sampling YUV420P10@10, matrix:470bg, scantyp: progressive # luminance scale TV # resolution: 640x352 # frame rate: -1 fps # input color space: YUV420P10, bit depth: 10, resolution: 640x352, fps: 25 # Loading F:\TestClips&Co\files\10bit Test.mkv using LWLibavSource clip = core.lsmas.LWLibavSource(source="F:/TestClips&Co/files/10bit Test.mkv", format="YUV420P10", cache=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 25 clip = core.std.AssumeFPS(clip, fpsnum=25, fpsden=1) # Setting color range to TV (limited) range. clip = core.std.SetFrameProp(clip=clip, prop="_ColorRange", intval=1) clip = core.vcm.fan(clip=clip,span=1,edge=1,uv=1,plus=0.02,minus=0.02) # Output clip.set_output() Code:
Traceback (most recent call last): File "src\cython\vapoursynth.pyx", line 2244, in vapoursynth.vpy_evaluateScript File "src\cython\vapoursynth.pyx", line 2245, in vapoursynth.vpy_evaluateScript File "C:\Users\Selur\Desktop\test.vpy", line 11, in <module> core.std.LoadPlugin(path="I:/Hybrid/64bit/vsfilters/MiscFilter/vcm.dll") File "src\cython\vapoursynth.pyx", line 2069, in vapoursynth.Function.__call__ vapoursynth.Error: Failed to load I:/Hybrid/64bit/vsfilters/MiscFilter/vcm.dll. GetLastError() returned 126. The file you tried to load or one of its dependencies is probably missing. Does anyone have a clue what dependency I'm missing? Thanks! Cu Selur |
20th September 2020, 13:56 | #2 | Link |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
I does work for me. Try to update your dependencies and test again.
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
20th September 2020, 14:11 | #3 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
@ChaosKing: did you need libfftw3f-3.dll?
Thanks for testing. According to Windows "Microsoft Visual C++ 2013 Redistributable (x64) - 12.0.30501" was installed. over at: https://support.microsoft.com/en-us/...utable-package offered 12.0.40660, but installing those didn't help either. Last edited by Selur; 20th September 2020 at 14:17. |
20th September 2020, 14:30 | #5 | Link | |
Registered User
Join Date: Dec 2005
Location: Germany
Posts: 1,795
|
Code:
[.\vcm.dll] architecture: x86_64 machine name: AMD AMD64 (x64) subsystem: Windows GUI DLL: yes stripped: no file version: 0.0 minimum Windows version: 6.0 IMPORTS KERNEL32.dll MSVCP120.dll MSVCR120.dll EXPORTS vcm.dll: VapourSynthPluginInit @ 1 Quote:
You can test my dll versions. Maybe it helps: https://www.dropbox.com/s/t6g0reme3bm3979/deps.rar?dl=1
__________________
AVSRepoGUI // VSRepoGUI - Package Manager for AviSynth // VapourSynth VapourSynth Portable FATPACK || VapourSynth Database |
|
9th October 2020, 08:21 | #7 | Link |
Registered User
Join Date: Jul 2003
Location: India
Posts: 890
|
New function ColorBox
I have added a new function ColorBox to this vcm plugin.
It outputs boxes of colors in all YUV formats (except YUV444PH). The frames are output for 100 sec at fps 24. May be useful as colorbars of avisynth. |
|
|