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
This commit is contained in:
Lorenz Junglas
2026-04-25 22:49:39 +02:00
committed by GitHub
parent 9f00d0125c
commit 233178c8a4

View File

@@ -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" )]