Adjust default CPU thread count to 2
It's a tiny reduction of encoding quality for a major increase in performance
This commit is contained in:
@@ -975,19 +975,19 @@ keybindings
|
|||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
**Description**
|
**Description**
|
||||||
Minimum number of threads used for software encoding.
|
Minimum number of CPU threads used for encoding.
|
||||||
|
|
||||||
.. note:: Increasing the value slightly reduces encoding efficiency, but the tradeoff is usually worth it to gain
|
.. note:: Increasing the value slightly reduces encoding efficiency, but the tradeoff is usually worth it to gain
|
||||||
the use of more CPU cores for encoding. The ideal value is the lowest value that can reliably encode at your
|
the use of more CPU cores for encoding. The ideal value is the lowest value that can reliably encode at your
|
||||||
desired streaming settings on your hardware.
|
desired streaming settings on your hardware.
|
||||||
|
|
||||||
**Default**
|
**Default**
|
||||||
``1``
|
``2``
|
||||||
|
|
||||||
**Example**
|
**Example**
|
||||||
.. code-block:: text
|
.. code-block:: text
|
||||||
|
|
||||||
min_threads = 1
|
min_threads = 2
|
||||||
|
|
||||||
`hevc_mode <https://localhost:47990/config/#hevc_mode>`__
|
`hevc_mode <https://localhost:47990/config/#hevc_mode>`__
|
||||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|||||||
@@ -320,7 +320,7 @@ namespace config {
|
|||||||
0, // hevc_mode
|
0, // hevc_mode
|
||||||
0, // av1_mode
|
0, // av1_mode
|
||||||
|
|
||||||
1, // min_threads
|
2, // min_threads
|
||||||
{
|
{
|
||||||
"superfast"s, // preset
|
"superfast"s, // preset
|
||||||
"zerolatency"s, // tune
|
"zerolatency"s, // tune
|
||||||
|
|||||||
@@ -761,8 +761,8 @@
|
|||||||
|
|
||||||
<!-- Min Threads -->
|
<!-- Min Threads -->
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="min_threads" class="form-label">Minimum Software Encoding Thread Count</label>
|
<label for="min_threads" class="form-label">Minimum CPU Thread Count</label>
|
||||||
<input type="number" class="form-control" id="min_threads" placeholder="1" min="1" v-model="config.min_threads" />
|
<input type="number" class="form-control" id="min_threads" placeholder="2" min="1" v-model="config.min_threads" />
|
||||||
<div class="form-text">
|
<div class="form-text">
|
||||||
Increasing the value slightly reduces encoding efficiency, but the tradeoff is usually<br>
|
Increasing the value slightly reduces encoding efficiency, but the tradeoff is usually<br>
|
||||||
worth it to gain the use of more CPU cores for encoding. The ideal value is the lowest<br>
|
worth it to gain the use of more CPU cores for encoding. The ideal value is the lowest<br>
|
||||||
@@ -1266,7 +1266,7 @@
|
|||||||
"channels": 1,
|
"channels": 1,
|
||||||
"fec_percentage": 20,
|
"fec_percentage": 20,
|
||||||
"qp": 28,
|
"qp": 28,
|
||||||
"min_threads": 1,
|
"min_threads": 2,
|
||||||
"hevc_mode": 0,
|
"hevc_mode": 0,
|
||||||
"av1_mode": 0,
|
"av1_mode": 0,
|
||||||
"capture": "",
|
"capture": "",
|
||||||
|
|||||||
Reference in New Issue
Block a user