Log in

View Full Version : How to load Vapoursynth scripts with StaxRIP


BlackShadowX
31st August 2017, 06:29
I have this script but, i couldn't figured out how can i run script with StaxRIP.


Script:

https://pastebin.com/SZiz6nqG

Any help would be aprricated!

stax76
31st August 2017, 06:53
If it's saved on disk you can open the vpy file just like a mkv file.

BlackShadowX
31st August 2017, 07:00
I tried that and it give me this:

http://imgbox.com/UbH5OtmR

Can you check my script if something is wrong?

stax76
31st August 2017, 07:15
I'm not really a VapourSynth/Python expert.

Error says core in line 1 is not defined.

Let staxrip create a vpy script and you see something like this:

import vapoursynth as vs
core = vs.get_core()
core.std.LoadPlugin(r"D:\Projekte\VS\VB\StaxRip\bin\Apps\Plugins\both\ffms2\ffms2.dll")
clip = core.ffms2.Source(r"D:\Temp\StaxRip\aaa.mkv", cachefile = r"D:\Temp\StaxRip\aaa_temp\aaa.ffindex")
clip.set_output()

In line 2 the core variable is created.