From 73bdc5d54dbce3061ca7c2768f871a4224d4a988 Mon Sep 17 00:00:00 2001 From: Koichiro Iwao Date: Mon, 19 Aug 2024 15:16:32 +0900 Subject: [PATCH] Update x264 encoding parameters --- xrdp/gfx.toml | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/xrdp/gfx.toml b/xrdp/gfx.toml index 26bcff903..5b7f27c41 100644 --- a/xrdp/gfx.toml +++ b/xrdp/gfx.toml @@ -1,27 +1,37 @@ - [x264.default] preset = "ultrafast" tune = "zerolatency" -profile = "main" +profile = "main" # profile is forced to baseline if preset == ultrafast vbv_max_bitrate = 0 vbv_buffer_size = 0 fps_num = 24 fps_den = 1 - [x264.lan] +# inherits default + [x264.wan] +vbv_max_bitrate = 15000 +vbv_buffer_size = 1500 + [x264.broadband_high] +preset = "superfast" +vbv_max_bitrate = 8000 +vbv_buffer_Size = 800 + [x264.satellite] +preset = "superfast" +vbv_max_bitrate = 5000 +vbv_buffer_size = 500 [x264.broadband_low] preset = "veryfast" tune = "zerolatency" -vbv_max_bitrate = 1800 -vbv_buffer_size = 40 +vbv_max_bitrate = 1600 +vbv_buffer_size = 66 [x264.modem] preset = "fast" tune = "zerolatency" -vbv_max_bitrate = 500 -vbv_buffer_size = 40 +vbv_max_bitrate = 1200 +vbv_buffer_size = 50