feat(preset): adding encoding preset

This commit is contained in:
CarolinePascal
2025-11-24 21:50:13 +01:00
parent 5ec2615b21
commit 6cf4555081
+3
View File
@@ -354,6 +354,9 @@ def encode_video_frames(
if crf is not None:
video_options["crf"] = str(crf)
#TEMPORARY FIX
video_options["preset"] = "12"
if fast_decode:
key = "svtav1-params" if vcodec == "libsvtav1" else "tune"
value = f"fast-decode={fast_decode}" if vcodec == "libsvtav1" else "fastdecode"