Topic: Custom command-line encode using SVP?

I've been experimenting with SVPCode (on Linux). I'd really like to just use ffmpeg and vapoursynth because customizing the encoding process (and everything really) is so much simpler without having to work around mpv.

Is it possible to use SVP (with GPU) by just doing "python foo.vpy | ffmpeg -i etc. -o foo_60.mkv" ? (obviously pseudocode, just as an example)

If it is possible, what raw video format does SVP output?

If it isn't possible, how can I pass these ffmpeg options (-hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi) to mpv so I can benefit from vaapi encoding/decoding?

I'd rather stick to the command-line rather than the GUI for SVPCode... just personal preference.

Thanks for any help!

Re: Custom command-line encode using SVP?

> Is it possible to use SVP (with GPU) by just doing "python foo.vpy | ffmpeg -i etc. -o foo_60.mkv" ? (obviously pseudocode, just as an example)

http://www.vapoursynth.com/doc/gettings … ith-vspipe

> how can I pass these ffmpeg options (-hwaccel vaapi -hwaccel_device /dev/dri/renderD128

https://mpv.io/manual/master/#options-hwdec

> -hwaccel_output_format vaapi

https://mpv.io/manual/master/#encoding-ovc

3 (edited by OpenSourceAnarchist 18-06-2019 16:20:46)

Re: Custom command-line encode using SVP?

I looked for a while and couldn't find those mpv settings... I feel pretty dumb, but thank you so much!

Sorry to bother you again, but is there any benefit to using mpv vs vspipe and ffmpeg? And the .vpy script where I installed SVP4 will work with my GPU with or without SVP Manager being opened? How would I change profiles? Can I just use "vspipe -a profile=foo etc."?

I'm away from my computer at the moment, else I'd just try all these things for myself!