Merge pull request #3370 from metalefty/x264-threads

make x264 threads configurable
This commit is contained in:
metalefty
2024-12-31 21:23:46 +09:00
committed by GitHub
15 changed files with 51 additions and 3 deletions
+10 -2
View File
@@ -68,7 +68,7 @@ for use with xrdp. Here are available options:
.TP
\fBprofile\fR = \fI<string>\fR
Select a profile. Here are available options:
Select a profile. Here are available options:
.B main, baseline, high, high10, high422, high444
@@ -83,12 +83,20 @@ Set the size of the VBV buffer size in kilobits.
.TP
\fBfps_num\fR = \fI<integer>\fR
Set the fps numerator.
Set the fps numerator.
.TP
\fBfps_den\fR = \fI<integer>\fR
Set the fps denominator.
.TP
\fBthreads = \fI<integer>\fR
Specify how many CPU threads to use for H.264 encoding per screen (0 for
auto). Carefully evaluate this value when configuring it to avoid exhausting
the available threads. For example, if 3 users are connected simultaneously
with dual screens, xrdp may use up to <threads> * 3 * 2 threads for H.264
encoding. Please also note that too many threads can hurt quality.
.SH "OPENH264"
\fB[OpenH264]\fR section defines encoding parameters that will be passed to