[go: up one dir, main page]

File: players.rst

package info (click to toggle)
streamlink 7.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 5,428 kB
  • sloc: python: 49,104; sh: 184; makefile: 145
file content (111 lines) | stat: -rw-r--r-- 3,401 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
Players
=======

Transport modes
---------------

There are three different modes of transporting the stream to the player.

.. list-table::
    :header-rows: 1
    :class: sd-w-100

    * - Name
      - Description
    * - Standard input pipe
      - This is the default behavior when there are no other options specified.
    * - Named pipe (FIFO)
      - See the :option:`--player-fifo` option.
    * - HTTP
      - See the :option:`--player-http` and :option:`--player-continuous-http` options.

.. note::

    Streamlink also allows passing the resolved stream URL through to the player as its first launch argument
    when using the :option:`--player-passthrough` option.

    This does only work if the player has support the specific streaming protocol built in. The player will then do
    all the data fetching on its own while Streamlink will just wait for the player process to end.

    Some streaming protocols like DASH can't be passed through to the player.


Player compatibility
--------------------

This is a list of video players and their compatibility with the transport
modes.

.. list-table::
    :header-rows: 1
    :class: sd-w-100

    * - Name
      - OS
      - License
      - stdin pipe
      - named pipe
      - HTTP
    * - `VLC media player`_
      - :fab:`windows;fa-xl` :fab:`apple;fa-xl` :fab:`linux;fa-xl`
      - GPL2 / LGPL2.1
      - :octicon:`thumbsup;1em;sd-text-success` [1]_
      - :octicon:`thumbsup;1em;sd-text-success`
      - :octicon:`thumbsup;1em;sd-text-success`
    * - `mpv`_
      - :fab:`windows;fa-xl` :fab:`apple;fa-xl` :fab:`linux;fa-xl`
      - GPL2 / LGPL2.1
      - :octicon:`thumbsup;1em;sd-text-success`
      - :octicon:`thumbsup;1em;sd-text-success`
      - :octicon:`thumbsup;1em;sd-text-success`
    * - `MPlayer`_
      - :fab:`windows;fa-xl` :fab:`apple;fa-xl` :fab:`linux;fa-xl`
      - GPL2
      - :octicon:`thumbsup;1em;sd-text-success`
      - :octicon:`thumbsup;1em;sd-text-success`
      - :octicon:`thumbsup;1em;sd-text-success`
    * - `IINA`_
      - :fab:`apple;fa-xl`
      - GPL3
      - :octicon:`thumbsup;1em;sd-text-success` [2]_
      - :octicon:`thumbsdown;1em;sd-text-danger`
      - :octicon:`thumbsdown;1em;sd-text-danger`

.. [1] Some versions of VLC might be unable to use the stdin pipe and
       prints the error message

       VLC is unable to open the MRL 'fd://0'

       Use one of the other transport methods instead to work around this.

.. [2] Requires the ``--stdin`` player argument (:option:`--player-args`)

.. _VLC media player: https://videolan.org/
.. _mpv: https://mpv.io/
.. _MPlayer: https://mplayerhq.hu/
.. _IINA: https://iina.io/


Known issues and workarounds
----------------------------

MPlayer tries to play Twitch streams at the wrong FPS
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is a bug in MPlayer, using the MPlayer fork `mpv`_ instead
is recommended.

Youtube Live does not work with VLC
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
VLC versions below 3 cannot play Youtube Live streams. Please update your
player. You can also try using a different player.

Youtube Live does not work with Mplayer
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Some versions of Mplayer cannot play Youtube Live streams. And errors like:

.. code-block:: console

    Cannot seek backward in linear streams!
    Seek failed

Switching to a recent fork such as mpv resolves the issue.