wrong parameter when starting vspipe. corrected parameter

This commit is contained in:
2025-08-11 11:21:26 +02:00
parent e27f37d625
commit e1d2946ac3

View File

@@ -216,7 +216,8 @@ final_clip.set_output()
svtav1_param_list += [f"--{k}", str(v)]
print(f" - Using SvtAv1EncApp parameters: {' '.join(svtav1_param_list)}")
vspipe_cmd = ["vspipe", "--y4m", str(vpy_file), "-"]
# CORRECTED: Use '-c y4m' for modern vspipe versions instead of the legacy '--y4m' flag.
vspipe_cmd = ["vspipe", "-c", "y4m", str(vpy_file), "-"]
svtav1_cmd = ["SvtAv1EncApp2"] + svtav1_param_list + ["-i", "-", "-b", str(encoded_video_file)]
print(f" - Running: {' '.join(vspipe_cmd)} | {' '.join(svtav1_cmd)}")