mirror of https://github.com/streamlink/streamlink
48 lines
1.3 KiB
ReStructuredText
48 lines
1.3 KiB
ReStructuredText
Common issues
|
|
=============
|
|
|
|
Streams are buffering/lagging
|
|
-----------------------------
|
|
|
|
Enable caching in your player
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
By default most players do not cache the data they receive from Streamlink.
|
|
Caching can reduce the amount of buffering you run into because the player will
|
|
have some breathing room between receiving the data and playing it.
|
|
|
|
.. list-table::
|
|
:header-rows: 1
|
|
|
|
* - Player
|
|
- Parameter
|
|
- Note
|
|
* - MPC-HC
|
|
-
|
|
- Currently no way of configuring the cache
|
|
* - MPlayer
|
|
- ``-cache <kbytes>``
|
|
- Between 1024 and 8192 is recommended
|
|
* - mpv
|
|
- ``--cache=yes --demuxer-max-bytes=<kbytes>``
|
|
- Between 1024 and 8192 is recommended
|
|
* - VLC
|
|
- ``--file-caching <ms> --network-caching <ms>``
|
|
- Between 1000 and 10000 is recommended
|
|
|
|
Use the :option:`--player-args` option to pass these options to your player.
|
|
|
|
|
|
Multi-threaded streaming
|
|
^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
On segmented streaming protocols (such as HLS and DASH) it's possible to use
|
|
multiple threads for downloading multiple segments at the same time to
|
|
potentially increase the throughput. This can be done via Streamlink's
|
|
:option:`--stream-segment-threads` argument.
|
|
|
|
.. note::
|
|
|
|
Using 2 or 3 threads should be enough to see an impact on live streams,
|
|
any more will likely not show much effect.
|