master-of-zen / Av1an

Cross-platform command-line AV1 / VP9 / HEVC / H264 encoding framework with per scene quality encoding
GNU General Public License v3.0
1.52k stars 156 forks source link

Add support for passing variables to the vspipe python environment #858

Closed Vernoxvernax closed 4 months ago

Vernoxvernax commented 4 months ago

This adds support to use the --arg key=value argument through av1an.

Usage: av1an -i script.vpy --vspipe-args "source=video.mp4" av1an -i script.vpy --vspipe-args "deinterlace=True" "source=video.mp4"

The Vec<String> containing the input is saved in the Vapoursynth variant/struct of Input.

Changes are welcome. Completes #528 .