-
Notifications
You must be signed in to change notification settings - Fork 1
VapourSynth
patrickenfuego edited this page Jul 30, 2022
·
1 revision
You can pass a VapourSynth script to FFEncoder using the -VapourSynthScript
parameter. There are a few things to know before using this feature:
- For Dolby Vision encodes,
VSPipe
is used to pipe the script tox265
- this is due toffmpeg
's inconsistent handling of RPU files, and should only be temporary as it adds extra overhead - For all other encodes, the builtin
ffmpeg
format is used. For this to work,ffmpeg
must be compiled with the--enable-vapoursynth
flag - All video filtering parameters are ignored when a VapourSynth script is used.
ffmpeg
cannot filter when receiving input from VS, so be aware of that - The
-InputPath
parameter is still required, even if a VS script is used - the input file is used to collect a lot of metadata utilized throughout the script, as well as audio/subtitles if selected
Using this feature is pretty straightforward:
PS > FFEncoder.ps1 'in.mkv' -CRF 18 -VapourSynthScript 'C:\Path\To\vsscript.vpy' -o 'out.mkv'