speedyrazor
17th January 2016, 08:50
Hi, I am trying to get the portable Vapour synth working but just keep getting an error message, im sure its just a newbie issue.
I am on Windows 7 64bit, I have downloaded Python 3.5.1 embedded and unzipped Vapoursynth portable into that directory. I have created a script:
import vapoursynth as vs
core = vs.get_core()
ret = core.lsmas.LWLibavSource(source=r'movie.mov', format="YUV422P10")
ret = core.fmtc.resample (clip=ret, w=720, h=576, css="444", kernel="spline36")
ret = core.fmtc.matrix (clip=ret, mats="709", matd="601")
ret = core.fmtc.resample (clip=ret, css="422")
ret = core.fmtc.bitdepth (clip=ret, bits=10)
ret = core.std.AssumeFPS(ret, fpsnum=25, fpsden=1)
ret.set_output()
I cd'd into the pythoin 3.5.1 directory and run:
"C:\Program Files\python-3.5.1\VSPipe.exe" --y4m "C:\Users\myself\Desktop\script.vpy" - | "G:\ffmpeg\ffmpeg.exe" -f yuv4mpegpipe -i - -c:v prores -an output.mov
But then I get this:
Script evaluation failed:
Python exception: LoadLibraryEx failed with code 87: update windows and try again
Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 1489, in vapoursynth.vpy_evaluateScript (src\cython\vapoursynth.c:26885)
File "C:\Users\myself\Desktop\script.vpy", line 3, in <module>
core.std.LoadPlugin(r'C:\Program Files\python-3.5.1\vapoursynth64\coreplugins\vslsmashsource.dll')
File "src\cython\vapoursynth.pyx", line 1381, in vapoursynth.Function.__call__
(src\cython\vapoursynth.c:25200)
vapoursynth.Error: LoadLibraryEx failed with code 87: update windows and try again
I do also have python 2.7.11 installed as I use this for other application development.
What am I doing wrong please?
I am on Windows 7 64bit, I have downloaded Python 3.5.1 embedded and unzipped Vapoursynth portable into that directory. I have created a script:
import vapoursynth as vs
core = vs.get_core()
ret = core.lsmas.LWLibavSource(source=r'movie.mov', format="YUV422P10")
ret = core.fmtc.resample (clip=ret, w=720, h=576, css="444", kernel="spline36")
ret = core.fmtc.matrix (clip=ret, mats="709", matd="601")
ret = core.fmtc.resample (clip=ret, css="422")
ret = core.fmtc.bitdepth (clip=ret, bits=10)
ret = core.std.AssumeFPS(ret, fpsnum=25, fpsden=1)
ret.set_output()
I cd'd into the pythoin 3.5.1 directory and run:
"C:\Program Files\python-3.5.1\VSPipe.exe" --y4m "C:\Users\myself\Desktop\script.vpy" - | "G:\ffmpeg\ffmpeg.exe" -f yuv4mpegpipe -i - -c:v prores -an output.mov
But then I get this:
Script evaluation failed:
Python exception: LoadLibraryEx failed with code 87: update windows and try again
Traceback (most recent call last):
File "src\cython\vapoursynth.pyx", line 1489, in vapoursynth.vpy_evaluateScript (src\cython\vapoursynth.c:26885)
File "C:\Users\myself\Desktop\script.vpy", line 3, in <module>
core.std.LoadPlugin(r'C:\Program Files\python-3.5.1\vapoursynth64\coreplugins\vslsmashsource.dll')
File "src\cython\vapoursynth.pyx", line 1381, in vapoursynth.Function.__call__
(src\cython\vapoursynth.c:25200)
vapoursynth.Error: LoadLibraryEx failed with code 87: update windows and try again
I do also have python 2.7.11 installed as I use this for other application development.
What am I doing wrong please?