From 233178c8a4447aab76ea3d02f041a94bb41a2cfa Mon Sep 17 00:00:00 2001 From: Lorenz Junglas <4759511+lolleko@users.noreply.github.com> Date: Sat, 25 Apr 2026 22:49:39 +0200 Subject: [PATCH] More video recorder fixes (#4658) * Fix of by one causing stride artifacts Fixes https://github.com/Facepunch/sbox/issues/4654 * Fine tune AV1 encoder settings preset 9 to avoid blocky artifacts PSY configs enabeld overlayframes enabled qp enabled * Reduce default decoder bitrate to 10 MBps --- .../Sandbox.Engine/Systems/Render/Multimedia/ScreenRecorder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/Sandbox.Engine/Systems/Render/Multimedia/ScreenRecorder.cs b/engine/Sandbox.Engine/Systems/Render/Multimedia/ScreenRecorder.cs index 0637837a..577113a3 100644 --- a/engine/Sandbox.Engine/Systems/Render/Multimedia/ScreenRecorder.cs +++ b/engine/Sandbox.Engine/Systems/Render/Multimedia/ScreenRecorder.cs @@ -22,7 +22,7 @@ internal static class ScreenRecorder public static bool IsRecording() => _isRecording; [ConVar( "video_bitrate", Min = 1, Max = 100, Help = "Bit rate for video recorder (in Mbps)" )] - public static int VideoBitRate { get; set; } = 14; + public static int VideoBitRate { get; set; } = 10; [ConVar( "video_framerate", Min = 1, Max = 1000, Help = "Frame rate for screen recording" )] public static int VideoFrameRate { get; set; } = 60; [ConVar( "video_Scale", Min = 1, Max = 800, Help = "Scale percentage for video recorder" )]