From 25c0d229a0bec75b351af7039b55cc3255d6c440 Mon Sep 17 00:00:00 2001 From: N00MKRAD Date: Mon, 10 May 2021 00:25:23 +0200 Subject: [PATCH] faster av1 encoding with tiling --- Code/Media/FFmpegUtils.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/Media/FFmpegUtils.cs b/Code/Media/FFmpegUtils.cs index aee116b..49a8ed3 100644 --- a/Code/Media/FFmpegUtils.cs +++ b/Code/Media/FFmpegUtils.cs @@ -83,7 +83,7 @@ namespace Flowframes.Media if (codec == Codec.AV1) { int cq = (Config.GetInt("av1Crf") * 1.0f).RoundToInt(); - args += $"-b:v 0 -qp {cq} -g 240 {GetSvtAv1Speed()} -pix_fmt yuv420p"; + args += $"-b:v 0 -qp {cq} -g 240 {GetSvtAv1Speed()} -tile_rows 2 -tile_columns 2 -pix_fmt yuv420p"; } if (codec == Codec.VP9)