KingLir
23rd January 2017, 15:39
I desperately need the community help.
I am trying to run QTGMC de-interlacer on macOS. So, I figured VapourSynth is the only way. Am I right ?
I installed Vapoursynth using brew and the needed plugins/libs, but unable to build or find a copy of vapoursynth-scxvid for macOS.
I figured that scxvid is what I am missing because of the error messages I get (a copy at the end below).
When trying to compile the latest source of vapoursynth-scxvid from GitHub, after successful run of autogen.sh, when I run ./configure I get:
checking dynamic linker characteristics... darwin16.3.0 dyld
checking how to hardcode library paths into programs... immediate
configure: error: failed to link libxvidcore. See config.log for details.
I tried adding --prefix with the location of libxvidcore.a, libxvidcore.4.dylib and xvid.h - but no change.
This is what showing on config.log:
configure:15983: result: immediate
configure:16099: g++ -o conftest conftest.cpp -lxvidcore >&5
conftest.cpp:22:10: fatal error: 'xvid.h' file not found
#include <xvid.h>
^
1 error generated.
Please help me....
Actual run:
------------
$ vspipe --y4m script.vpy .
Script evaluation failed:
Python exception: No attribute with the name scd exists. Did you mistype a plugin namespace?
Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 1491, in vapoursynth.vpy_evaluateScript (src/cython/vapoursynth.c:27914)
File "script.vpy", line 9, in <module>
clip = haf.QTGMC(clip, Preset='Very Slow', SourceMatch=3, TR2=1, Lossless=2, TFF=True)
File "/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/havsfunc.py", line 956, in QTGMC
if TR0 > 0: ts1 = TemporalSoften(bobbed, 1, 255 << shift, CMts << shift, 28 << shift, 2) # 0.00 0.33 0.33 0.33 0.00
File "/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/havsfunc.py", line 4311, in TemporalSoften
clip = set_scenechange(clip, scenechange)
File "/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/havsfunc.py", line 4343, in set_scenechange
sc = core.scd.Detect(sc, thresh)
File "src/cython/vapoursynth.pyx", line 1105, in vapoursynth.Core.__getattr__ (src/cython/vapoursynth.c:21672)
AttributeError: No attribute with the name scd exists. Did you mistype a plugin namespace?
My Script:
-----------
import vapoursynth as vs
import havsfunc as haf
core = vs.get_core()
core.std.LoadPlugin(path='/usr/local/lib/libffms2.dylib')
core.std.LoadPlugin(path='/usr/local/lib/libfmtconv.dylib')
core.std.LoadPlugin(path='/usr/local/lib/libmvtools.dylib')
clip = core.ffms2.Source(source='Opening.mkv')
clip = haf.QTGMC(clip, Preset='Very Slow', SourceMatch=3, TR2=1, Lossless=2, TFF=True)
clip.set_output()
I am trying to run QTGMC de-interlacer on macOS. So, I figured VapourSynth is the only way. Am I right ?
I installed Vapoursynth using brew and the needed plugins/libs, but unable to build or find a copy of vapoursynth-scxvid for macOS.
I figured that scxvid is what I am missing because of the error messages I get (a copy at the end below).
When trying to compile the latest source of vapoursynth-scxvid from GitHub, after successful run of autogen.sh, when I run ./configure I get:
checking dynamic linker characteristics... darwin16.3.0 dyld
checking how to hardcode library paths into programs... immediate
configure: error: failed to link libxvidcore. See config.log for details.
I tried adding --prefix with the location of libxvidcore.a, libxvidcore.4.dylib and xvid.h - but no change.
This is what showing on config.log:
configure:15983: result: immediate
configure:16099: g++ -o conftest conftest.cpp -lxvidcore >&5
conftest.cpp:22:10: fatal error: 'xvid.h' file not found
#include <xvid.h>
^
1 error generated.
Please help me....
Actual run:
------------
$ vspipe --y4m script.vpy .
Script evaluation failed:
Python exception: No attribute with the name scd exists. Did you mistype a plugin namespace?
Traceback (most recent call last):
File "src/cython/vapoursynth.pyx", line 1491, in vapoursynth.vpy_evaluateScript (src/cython/vapoursynth.c:27914)
File "script.vpy", line 9, in <module>
clip = haf.QTGMC(clip, Preset='Very Slow', SourceMatch=3, TR2=1, Lossless=2, TFF=True)
File "/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/havsfunc.py", line 956, in QTGMC
if TR0 > 0: ts1 = TemporalSoften(bobbed, 1, 255 << shift, CMts << shift, 28 << shift, 2) # 0.00 0.33 0.33 0.33 0.00
File "/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/havsfunc.py", line 4311, in TemporalSoften
clip = set_scenechange(clip, scenechange)
File "/usr/local/opt/python3/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/havsfunc.py", line 4343, in set_scenechange
sc = core.scd.Detect(sc, thresh)
File "src/cython/vapoursynth.pyx", line 1105, in vapoursynth.Core.__getattr__ (src/cython/vapoursynth.c:21672)
AttributeError: No attribute with the name scd exists. Did you mistype a plugin namespace?
My Script:
-----------
import vapoursynth as vs
import havsfunc as haf
core = vs.get_core()
core.std.LoadPlugin(path='/usr/local/lib/libffms2.dylib')
core.std.LoadPlugin(path='/usr/local/lib/libfmtconv.dylib')
core.std.LoadPlugin(path='/usr/local/lib/libmvtools.dylib')
clip = core.ffms2.Source(source='Opening.mkv')
clip = haf.QTGMC(clip, Preset='Very Slow', SourceMatch=3, TR2=1, Lossless=2, TFF=True)
clip.set_output()