wrong parameter when starting vspipe. corrected parameter
This commit is contained in:
@@ -216,7 +216,8 @@ final_clip.set_output()
|
|||||||
svtav1_param_list += [f"--{k}", str(v)]
|
svtav1_param_list += [f"--{k}", str(v)]
|
||||||
print(f" - Using SvtAv1EncApp parameters: {' '.join(svtav1_param_list)}")
|
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)]
|
svtav1_cmd = ["SvtAv1EncApp2"] + svtav1_param_list + ["-i", "-", "-b", str(encoded_video_file)]
|
||||||
|
|
||||||
print(f" - Running: {' '.join(vspipe_cmd)} | {' '.join(svtav1_cmd)}")
|
print(f" - Running: {' '.join(vspipe_cmd)} | {' '.join(svtav1_cmd)}")
|
||||||
|
|||||||
Reference in New Issue
Block a user