Fix svt-av1 encode tune for streams

This commit is contained in:
2026-03-22 21:30:11 +01:00
parent 101a6e1fe1
commit db83c55f56

View File

@@ -150,7 +150,7 @@ def _encode(
cmd += ["-x264-params", "keyint=24:min-keyint=24:scenecut=0"]
cmd += ["-c:a", "aac", "-b:a", "160k"]
elif preset["encoder"] == "libsvtav1":
cmd += ["-svtav1-params", f"keyint={keyframe_interval}s:fast-decode=1:tune=0"]
cmd += ["-svtav1-params", f"keyint={keyframe_interval}s:fast-decode=1:tune=1"]
cmd += ["-c:a", "aac", "-b:a", "160k"]
output_path = os.path.join(cdn_folder, preset['out_folder'], 'manifest.mpd')