Skip to content

Commit

Permalink
x264: update docs for x264 threads
Browse files Browse the repository at this point in the history
(cherry picked from commit c086a89)
  • Loading branch information
metalefty committed Dec 27, 2024
1 parent ad5b76d commit 6c3738f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/man/gfx.toml.5.in
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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 will use <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
Expand Down

0 comments on commit 6c3738f

Please sign in to comment.