I see you added a "Temporarily disable SVP" which can avoid me from killing the process to disable it; still have to see how to use that from code.
If I wanted to do this flow, I would have to:
- Let SVP open the video via ffdshow
- Intercept the generated AVS file
- Disable SVP
- Modify/inject the intercepted script into my player script
- Load it into MPC-HC
This could work but would cause even more glitching on loading videos.
Any way I can ask SVP to generate the script for a given video file without playing it? Or perhaps it would have to believe my own application is playing it and SVP would kick in while I control the playback?
Additionally, I'm just thinking -- it could be possible to run SVP in Vapoursynth (which doesn't support audio), then load that script in Avisynth and load the Audio alongside it. Is the performance and stability of SVP better in Vapoursynth than in Avisynth? As an additional benefit, then I can also run MPC-HC in x64.