Quote:
Originally Posted by stax76
The built works very well and it's really helpful being able to open vpy with ffmpeg.
I wonder if mpv can open vpy too? I tried it a few days before but couldn't get it working.
|
Unless something has changed, It's Not possible. I've tried to get it to work last year, Every single test failed. It would just refuse to open file or just crash the program.
However using the following line will play back the vpy script in mpv, It will lack the ability to properly scrub the file forward or back.
Quote:
"C:\Program Files (x86)\VapourSynth\core64\vspipe.exe" -y "to\your\VS\Script.vpy" - | "mpv.exe" [Options] -
|
This was the basic set to the script:
Quote:
import os
import sys
ScriptPath = 'Path/to/your/VS/Scripts/Filters'
sys.path.append(os.path.abspath(ScriptPath))
import vapoursynth as vs
core = vs.get_core()
core.std.LoadPlugin(r"SourceFilterHere|I'm Using DGIndexNV")
clip = core.dgdecodenv.DGSource(r"C:\to\your\Source\File.mkv")
clip.set_output()
|
However Potplayer can open vpy script and play it back.