File: streamlink.1

package info (click to toggle)
streamlink 8.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 5,564 kB
  • sloc: python: 51,188; sh: 184; makefile: 152
file content (1534 lines) | stat: -rw-r--r-- 45,321 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
.\" Man page generated from reStructuredText.
.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "STREAMLINK" "1" "Dec 14, 2025" "8.1.0" "Streamlink"
.SH NAME
streamlink \- extracts streams from various services and pipes them into a video player of choice
.SH SYNOPSIS
.INDENT 0.0
.INDENT 3.5
.sp
.EX
streamlink [OPTIONS] <URL> [STREAM]
.EE
.UNINDENT
.UNINDENT
.SH EXAMPLES
.INDENT 0.0
.INDENT 3.5
.sp
.EX
streamlink \-\-loglevel debug youtu.be/VIDEO\-ID best
streamlink \-\-player mpv \-\-player\-args \(aq\-\-no\-border \-\-no\-keepaspect\-window\(aq twitch.tv/CHANNEL 1080p60
streamlink \-\-player\-external\-http \-\-player\-external\-http\-port 8888 URL STREAM
streamlink \-\-output /path/to/file \-\-http\-timeout 60 URL STREAM
streamlink \-\-stdout URL STREAM | ffmpeg \-i pipe:0 ...
streamlink \-\-http\-header \(aqAuthorization=OAuth TOKEN\(aq \-\-http\-header \(aqReferer=URL\(aq URL STREAM
streamlink \-\-hls\-live\-edge 5 \-\-stream\-segment\-threads 5 \(aqhls://https://host/playlist.m3u8\(aq best
streamlink \-\-twitch\-low\-latency \-p mpv \-a \(aq\-\-cache=yes \-\-demuxer\-max\-back\-bytes=2G\(aq twitch.tv/CHANNEL best
.EE
.UNINDENT
.UNINDENT
.SH OPTIONS
.SS Positional arguments
.INDENT 0.0
.TP
.B URL
A URL to attempt to extract streams from.
.sp
Usually, the protocol of http(s) URLs can be omitted (\fBhttps://\fP),
depending on the implementation of the plugin being used.
.sp
Alternatively, the URL can also be specified by using the \fI\%\-\-url\fP option.
.UNINDENT
.INDENT 0.0
.TP
.B STREAM
Stream to play.
.sp
Use \fBbest\fP or \fBworst\fP for selecting the highest or lowest available quality.
.sp
Fallback streams can be specified by using a comma\-separated list:
.INDENT 7.0
.INDENT 3.5
.sp
.EX
\(dq720p,480p,best\(dq
.EE
.UNINDENT
.UNINDENT
.sp
If no stream is specified and \fI\%\-\-default\-stream\fP is not used, then a list of available streams will be printed.
.UNINDENT
.SS General options
.INDENT 0.0
.TP
.B \-h
.TP
.B \-\-help
Show this help message and exit.
.UNINDENT
.INDENT 0.0
.TP
.B \-V
.TP
.B \-\-version
Show version string and exit.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-version\-check
Run a version check and exit.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-auto\-version\-check {yes,true,1,on,no,false,0,off}
Enable or disable the automatic check for a new version of Streamlink.
.sp
Default is: \fB\(dqno\(dq\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-config FILENAME
Load options from this config file.
.sp
Can be repeated to load multiple files, in which case the options are
merged on top of each other where the last config has highest priority.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-no\-config
Disable loading any default or custom config files.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-locale LOCALE
Override the system\(aqs locale setting, for selecting the preferred subtitle and audio language.
.sp
The locale is formatted as \fB[language_code]_[country_code]\fP, e.g. \fBen_US\fP or \fBes_ES\fP\&.
.sp
Default is: \fBsystem locale\fP\&.
.UNINDENT
.SS Logging arguments
.INDENT 0.0
.TP
.B \-l LEVEL
.TP
.B \-\-loglevel LEVEL
Set the log message threshold.
.sp
Valid levels are, in order of increasing verbosity:
.sp
\fBnone\fP, \fBcritical\fP, \fBerror\fP, \fBwarning\fP, \fBinfo\fP, \fBdebug\fP, \fBtrace\fP, \fBall\fP
.sp
Default is: \fB\(dqinfo\(dq\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-logformat FORMAT
Set a custom logging format.
.sp
See the Python standard library\(aqs \fBlogging.Formatter\fP docs for more information about the logging format
and the available \fBLogRecord\fP attributes. Streamlink\(aqs formatter uses the curly brace style.
.sp
The default format depends on the chosen log level.
.sp
For verbose levels (\fBtrace\fP and \fBall\fP):
.sp
Default is: \fB\(dq[{asctime}][{threadName}][{name}][{levelname}] {message}\(dq\fP\&.
.sp
Otherwise:
.sp
Default is: \fB\(dq[{name}][{levelname}] {message}\(dq\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-logdateformat DATEFORMAT
Set a custom logging date format.
.sp
This formats the \fBLogRecord\fP\(aqs \fBasctime\fP attribute via \fBstrftime()\fP\&.
.sp
The default date format depends on the chosen log level.
.sp
For verbose levels (\fBtrace\fP and \fBall\fP):
.sp
Default is: \fB\(dq%H:%M:%S.%f\(dq\fP\&.
.sp
Otherwise:
.sp
Default is: \fB\(dq%H:%M:%S\(dq\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-logfile FILE
Append log output to \fBFILE\fP instead of writing to stdout/stderr.
.sp
User prompts and download progress won\(aqt be written to \fBFILE\fP\&.
.sp
A value of \fB\-\fP (dash) will set the file name to an ISO8601\-like string
and will choose the following default log directories.
.sp
Windows:
.INDENT 7.0
.INDENT 3.5
.sp
.EX
%TEMP%\estreamlink\elogs
.EE
.UNINDENT
.UNINDENT
.sp
macOS:
.INDENT 7.0
.INDENT 3.5
.sp
.EX
${HOME}/Library/Logs/streamlink
.EE
.UNINDENT
.UNINDENT
.sp
Linux/BSD:
.INDENT 7.0
.INDENT 3.5
.sp
.EX
${XDG_STATE_HOME:\-${HOME}/.local/state}/streamlink/logs
.EE
.UNINDENT
.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
.B \-Q
.TP
.B \-\-quiet
Suppress all console and log output, and also disable user prompts.
.UNINDENT
.INDENT 0.0
.TP
.B \-j
.TP
.B \-\-json
Output JSON representations instead of the normal text output.
.sp
Useful for external scripting.
.UNINDENT
.SS Plugin options
.INDENT 0.0
.TP
.B \-\-plugins
Print a list of all currently installed plugins.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-show\-matchers PLUGIN
Show the list of matchers of a specific plugin (URL regex pattern with opt. priority and opt. name).
.sp
The output is a human\-readable pseudo YAML format. Please use \fI\%\-\-json\fP when reading matcher data programmatically.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-can\-handle\-url URL
Check if Streamlink has a plugin that can handle the specified URL.
.sp
Status code is \fB0\fP on success, \fB1\fP on failure.
.sp
Useful for external scripting.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-can\-handle\-url\-no\-redirect URL
Same as \fI\%\-\-can\-handle\-url\fP, but without following redirects when looking up the URL.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-no\-plugin\-cache
Disable I/O of the plugin key\-value store.
.sp
If disabled, plugins won\(aqt be able to load or store data like cookies, authentication data, etc.
The data which is loaded or stored depends on each plugin implementation.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-no\-plugin\-sideloading
Disable automatic sideloading of third\-party plugins from the default location.
.sp
See the plugin\-sideloading documentation for where third\-party plugins are loaded from.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-plugin\-dir DIRECTORY
Load additional plugins from this directory.
.sp
Can be set multiple times to load plugins from multiple directories.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-plugin\-dirs DIRECTORY
Load additional plugins from a list of comma\-separated directories. (deprecated)
.UNINDENT
.SS Network arguments
.INDENT 0.0
.TP
.B \-\-interface INTERFACE
Set the network interface.
.UNINDENT
.INDENT 0.0
.TP
.B \-4
.TP
.B \-\-ipv4
Resolve address names to IPv4 only. This option overrides \fI\%\-\-ipv6\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-6
.TP
.B \-\-ipv6
Resolve address names to IPv6 only. This option overrides \fI\%\-\-ipv4\fP\&.
.UNINDENT
.SS Player options
.INDENT 0.0
.TP
.B \-p PATH
.TP
.B \-\-player PATH
Set the player executable that will be launched (unless a different output method was chosen).
.sp
Either set an absolute or relative path to the player executable, or just set the executable\(aqs name
if it can be resolved from the paths of the system\(aqs \fBPATH\fP environment variable.
.sp
In addition to setting the player executable path, custom player arguments can be set via \fI\%\-\-player\-args\fP\&.
.sp
\fBNOTE:\fP
.INDENT 7.0
.INDENT 3.5
In the past, \fI\%\-\-player\fP allowed defining additional player arguments, which as a consequence required wrapping
player paths that contained spaces in quotation marks. This is unsupported since release \fB6.0.0\fP\&.
.UNINDENT
.UNINDENT
.sp
Default is: \fBVLC player, if available\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-a ARGUMENTS
.TP
.B \-\-player\-args ARGUMENTS
Set a string of custom \fI\%\-\-player\fP launch arguments that will be parsed and tokenized.
.sp
The value can contain formatting variables surrounded by curly braces, \fB{\fP and \fB}\fP\&.
Curly brace characters can be escaped by doubling, e.g. \fB{{\fP and \fB}}\fP\&.
.sp
Available formatting variables:
.INDENT 7.0
.TP
.B \fB{playerinput}\fP
This is the input argument that the \fI\%\-\-player\fP will receive. For standard input (stdin),
it is \fB\-\fP (dash), but it can also be a file path or URL, depending on the options used.
If unset, then the player input argument will be appended to the parsed player arguments list.
.TP
.B \fB{playertitleargs}\fP
The automatically generated player title arguments, if a supported \fI\%\-\-player\fP was found. See \fI\%\-\-title\fP for more.
If unset, automatically generated player title arguments will be prepended to the parsed player arguments list.
.UNINDENT
.sp
Example:
.INDENT 7.0
.INDENT 3.5
.sp
.EX
streamlink \-p vlc \-a \(dq\-\-play\-and\-exit \-\-no\-one\-instance\(dq <url> [stream]
.EE
.UNINDENT
.UNINDENT
.sp
Default is: \fB\(dq\(dq\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-player\-env KEY=VALUE
Add an additional environment variable to the spawned \fI\%\-\-player\fP process, in addition to the ones inherited from
the Streamlink/Python parent process. This allows setting player environment variables in config files.
.sp
Can be repeated to add multiple environment variables.
.UNINDENT
.INDENT 0.0
.TP
.B \-v
.TP
.B \-\-player\-verbose
Write the \fI\%\-\-player\fP\(aqs stdout/stderr output to Streamlink\(aqs stdout/stderr output.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-verbose\-player
Deprecated in favor of \fI\%\-\-player\-verbose\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-n
.TP
.B \-\-player\-fifo
Make the \fI\%\-\-player\fP read the stream through a named pipe instead of the stdin pipe.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-fifo
Deprecated in favor of \fI\%\-\-player\-fifo\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-player\-http
Make the \fI\%\-\-player\fP read the stream through HTTP instead of the stdin pipe.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-player\-continuous\-http
Make the \fI\%\-\-player\fP read the stream through HTTP, but unlike \fI\%\-\-player\-http\fP,
it will continuously try to open the stream if the player requests it.
.sp
This enables the handling of stream disconnects if the player is
capable of reconnecting to a HTTP stream. This is usually done by
setting the player to a \(dqrepeat mode\(dq.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-player\-external\-http
Serve stream data through HTTP without opening the \fI\%\-\-player\fP\&. This is
useful to allow external devices like smartphones or streaming boxes to
watch streams they wouldn\(aqt be able to otherwise.
.sp
The default behavior is similar to the \fI\%\-\-player\-continuous\-http\fP option,
but no player program will be started, and the server will listen on all available
connections instead of just in the local (loopback) interface.
.sp
See \fI\%\-\-player\-external\-http\-interface\fP for choosing a specific network interface, and
see \fI\%\-\-player\-external\-http\-port\fP for choosing a non\-randomized port.
.sp
Optionally, the \fI\%\-\-player\-external\-http\-continuous\fP option allows for disabling
the continuous run\-mode, so that Streamlink will stop when the stream ends.
.sp
The URLs that can be used to access the stream will be printed to the
console, and the server can be interrupted using CTRL\-C.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-player\-external\-http\-continuous {yes,true,1,on,no,false,0,off}
Set the run\-mode of \fI\%\-\-player\-external\-http\fP to continuous or non\-continuous.
.sp
In the continuous run\-mode, Streamlink will keep running after the stream has ended
and will wait for the next HTTP request being made unless it gets shut down via CTRL\-C.
.sp
If set to non\-continuous, Streamlink will stop once the stream has ended.
.sp
Default is: \fBtrue\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-player\-external\-http\-interface INTERFACE
Set the network interface on which the HTTP server will be listening on.
If unset or set to \fB0.0.0.0\fP, all available interfaces will be bound.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-player\-external\-http\-port PORT
Set the port of the external HTTP server if that mode is enabled.
Omit or set to \fB0\fP to use a random high ( >1024) port.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-player\-passthrough TYPES
A comma\-delimited list of stream types to pass to the \fI\%\-\-player\fP as a URL to
let it handle the transport of the stream instead of Streamlink.
.sp
Stream types that can be converted into a playable URL are:
.sp
hls, http
.sp
Make sure the player can handle the stream type when using this.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-player\-no\-close
By default, Streamlink will close the \fI\%\-\-player\fP when the stream ends.
This is to avoid \(dqdead\(dq GUI players lingering after Streamlink has exited.
.sp
It does however have the side\-effect of sometimes closing a
player before it has played back all of its cached data.
.sp
This option will instead let the player decide when to exit.
.UNINDENT
.INDENT 0.0
.TP
.B \-t TITLE
.TP
.B \-\-title TITLE
Change the title of the \fI\%\-\-player\fP\(aqs window.
.sp
Please see the \(dq\fI\%Metadata variables\fP\(dq section of Streamlink\(aqs CLI documentation for all available metadata variables,
as well as the \(dq\fI\%Plugins\fP\(dq section for the list of metadata variables defined in each plugin.
.sp
Only the following players are supported:
.INDENT 7.0
.IP \(bu 2
mpv
.IP \(bu 2
PotPlayer
.IP \(bu 2
VLC
.UNINDENT
.sp
Example:
.INDENT 7.0
.INDENT 3.5
.sp
.EX
streamlink \-p mpv \-\-title \(dq{author} \- {category} \- {title}\(dq <URL> [STREAM]
.EE
.UNINDENT
.UNINDENT
.UNINDENT
.SS File output options
.INDENT 0.0
.TP
.B \-O
.TP
.B \-\-stdout
Write stream data to \fBstdout\fP instead of playing it in the \fI\%\-\-player\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-o FILENAME
.TP
.B \-\-output FILENAME
Write stream data to \fBFILENAME\fP instead of playing it in the \fI\%\-\-player\fP\&.
If \fBFILENAME\fP is set to \fB\-\fP (dash), then the stream data will be written to \fBstdout\fP,
similar to the \fI\%\-\-stdout\fP argument.
.sp
Directories and subdirectories will be created if they do not exist, if filesystem permissions allow.
.sp
Unless \fI\%\-\-force\fP is set, Streamlink will ask for confirmation before writing if \fBFILENAME\fP already exists.
.sp
Please see the \(dq\fI\%Metadata variables\fP\(dq section of Streamlink\(aqs CLI documentation for all available metadata variables,
as well as the \(dq\fI\%Plugins\fP\(dq section for the list of metadata variables defined in each plugin.
.sp
Unsupported characters in substituted variables will be replaced with an underscore.
.sp
Example:
.INDENT 7.0
.INDENT 3.5
.sp
.EX
streamlink \-\-output \(dq~/recordings/{author}/{category}/{id}\-{time:%Y%m%d%H%M%S}.ts\(dq <URL> [STREAM]
.EE
.UNINDENT
.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
.B \-r FILENAME
.TP
.B \-\-record FILENAME
Write stream data to \fBFILENAME\fP while at the same time allowing playback in the \fI\%\-\-player\fP or writing it to \fI\%\-\-stdout\fP\&.
If \fBFILENAME\fP is set to \fB\-\fP (dash), then the stream data will be written to \fBstdout\fP,
similar to the \fI\%\-\-stdout\fP argument, while still opening the player.
.sp
Directories and subdirectories will be created if they do not exist, if filesystem permissions allow.
.sp
Unless \fI\%\-\-force\fP is set, Streamlink will ask for confirmation before writing if \fBFILENAME\fP already exists.
.sp
Please see the \(dq\fI\%Metadata variables\fP\(dq section of Streamlink\(aqs CLI documentation for all available metadata variables,
as well as the \(dq\fI\%Plugins\fP\(dq section for the list of metadata variables defined in each plugin.
.sp
Unsupported characters in substituted variables will be replaced with an underscore.
.sp
Example:
.INDENT 7.0
.INDENT 3.5
.sp
.EX
streamlink \-\-record \(dq~/recordings/{author}/{category}/{id}\-{time:%Y%m%d%H%M%S}.ts\(dq <URL> [STREAM]
.EE
.UNINDENT
.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
.B \-R FILENAME
.TP
.B \-\-record\-and\-pipe FILENAME
Deprecated in favor of \fI\%\-\-stdout\fP \fI\%\-\-record=FILENAME\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-fs\-safe\-rules {POSIX,Windows}
The rules used to make formatting variables filesystem\-safe are chosen
automatically according to the type of system in use. This overrides
the automatic detection.
.sp
Intended for use when Streamlink is running on a UNIX\-like OS but writing
to Windows filesystems such as NTFS; USB devices using VFAT or exFAT; CIFS
shares that are enforcing Windows filename limitations, etc.
.sp
These characters are replaced with an underscore for the rules in use:
.INDENT 7.0
.IP \(bu 2
POSIX: \fB\ex00\-\ex1F /\fP
.IP \(bu 2
Windows: \fB\ex00\-\ex1F \ex7F \(dq * / : < > ? \e |\fP
.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
.B \-f
.TP
.B \-\-force
When using \fI\%\-\-output\fP or \fI\%\-\-record\fP, always write to file even if it already exists (overwrite).
.UNINDENT
.INDENT 0.0
.TP
.B \-\-skip
When using \fI\%\-\-output\fP or \fI\%\-\-record\fP, never write to file if it already exists (don\(aqt prompt).
.sp
Takes precedence over \fI\%\-\-force\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-progress {yes,force,no}
When using \fI\%\-\-output\fP or \fI\%\-\-record\fP, show or hide the download progress bar, or force it if there\(aqs no terminal.
.sp
Default is: \fByes\fP\&.
.UNINDENT
.SS Stream options
.INDENT 0.0
.TP
.B \-\-url URL
A URL to attempt to extract streams from.
.sp
Usually, the protocol of http(s) URLs can be omitted (\fBhttps://\fP),
depending on the implementation of the plugin being used.
.sp
This is an alternative to setting the URL using a positional argument and can be useful if set in a config file.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-default\-stream STREAM
Stream to play.
.sp
Use \fBbest\fP or \fBworst\fP for selecting the highest or lowest available quality.
.sp
Fallback streams can be specified by using a comma\-separated list:
.INDENT 7.0
.INDENT 3.5
.sp
.EX
\(dq720p,480p,best\(dq
.EE
.UNINDENT
.UNINDENT
.sp
This is an alternative to setting the stream using a positional argument and can be useful if set in a config file.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-stream\-url
If possible, translate the resolved stream to a URL and print it.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-retry\-streams DELAY
Retry fetching the list of available streams until streams are found
while waiting \fBDELAY\fP second(s) between each attempt.
.sp
The number of retry attempts can be capped with \fI\%\-\-retry\-max\fP\&.
A default value of \fB1\fP is implied for non\-zero values of \fI\%\-\-retry\-max\fP\&.
.sp
If both \fI\%\-\-retry\-streams\fP and \fI\%\-\-retry\-max\fP are set to \fB0\fP, then only one attempt will be made
to fetch the list of available streams. This is the default behavior.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-retry\-max COUNT
Stop fetching the list of available streams after \fBCOUNT\fP retry attempt(s).
.sp
A value of \fB0\fP makes Streamlink fetch streams indefinitely if \fI\%\-\-retry\-streams\fP is set to a non\-zero value.
If \fI\%\-\-retry\-streams\fP is unset, then the default delay between fetching available streams is 1 second.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-retry\-open ATTEMPTS
After a successful fetch, try \fBATTEMPTS\fP time(s) to open the stream until giving up.
.sp
Default is: \fB1\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-stream\-types TYPES
.TP
.B \-\-stream\-priority TYPES
A comma\-delimited list of stream types to allow.
.sp
The order will be used to separate streams when there are multiple
streams with the same name but different stream types. Any stream type
not listed will be omitted from the available streams list.  An \fB*\fP (asterisk) can
be used as a wildcard to match any other type of stream, e.g. dash.
.sp
Default is: \fB\(dqhls,http,*\(dq\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-stream\-sorting\-excludes STREAMS
Fine\-tune the \fBbest\fP and \fBworst\fP stream name synonyms by excluding unwanted streams.
.sp
If all of the available streams get excluded, \fBbest\fP and \fBworst\fP will become
inaccessible and new special stream synonyms \fBbest\-unfiltered\fP and \fBworst\-unfiltered\fP
can be used as a fallback selection method.
.sp
The filter\-expression\(aqs format is:
.INDENT 7.0
.INDENT 3.5
.sp
.EX
[operator]<value>
.EE
.UNINDENT
.UNINDENT
.sp
Valid operators are \fB>\fP, \fB>=\fP, \fB<\fP and \fB<=\fP\&. If no operator is specified then
equality is tested.
.sp
For example this will exclude streams ranked higher than \(dq480p\(dq:
.INDENT 7.0
.INDENT 3.5
.sp
.EX
\-\-stream\-sorting\-excludes \(dq>480p\(dq
.EE
.UNINDENT
.UNINDENT
.sp
Multiple filters can be used by separating each expression with a comma.
.sp
For example this will exclude streams from two quality types:
.INDENT 7.0
.INDENT 3.5
.sp
.EX
\-\-stream\-sorting\-excludes \(dq>480p,>medium\(dq
.EE
.UNINDENT
.UNINDENT
.UNINDENT
.SS Stream transport options
.INDENT 0.0
.TP
.B \-\-ringbuffer\-size SIZE
The maximum size of the ringbuffer.
.sp
Mebibytes or kibibytes (base 2) can be specified via the M or K suffix respectively.
.sp
The ringbuffer is used as a temporary storage between the stream and the player.
This allows Streamlink to download the stream faster than the player which reads the data from the ringbuffer.
.sp
The smaller the size of the ringbuffer, the higher the chance of the player buffering if the download speed
decreases, and the higher the size, the more data can be use as a storage to recover from volatile download speeds.
.sp
Most players have their own additional cache and will read the ringbuffer\(aqs content as soon as data is available.
If the player stops reading data while playback is paused, Streamlink will continue to download the stream in the
background as long as the ringbuffer doesn\(aqt get full.
.sp
Default is: \fB\(dq16M\(dq\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-stream\-segment\-attempts ATTEMPTS
The number of download attempts of each stream segment before giving up.
.sp
This applies to all different kinds of segmented stream types, such as DASH, HLS, etc.
.sp
Default is: \fB3\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-stream\-segment\-threads THREADS
The size of the thread pool used to download segments. Minimum value is \fB1\fP and maximum is \fB10\fP\&.
.sp
This applies to all different kinds of segmented stream types, such as DASH, HLS, etc.
.sp
Default is: \fB1\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-stream\-segment\-timeout TIMEOUT
The maximum time to wait for each segment to start downloading.
.sp
This applies to all different kinds of segmented stream types, such as DASH, HLS, etc.
.sp
Default is: \fB10.0\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-stream\-segmented\-duration [[XX:]XX:]XX[.XX] | [XXh][XXm][XX[.XX]s]
Limit the output duration of segmented streams, like HLS and DASH.
The actual duration may be slightly longer, as it is rounded to the nearest segment.
.sp
Set to 0 to disable.
.sp
Default is: \fB0\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-stream\-segmented\-queue\-deadline FACTOR
A multiplication factor of the time frame in which new segments must be queued in order to prevent playback issues
due to lack of video/audio data. If this segment\-queue\-deadline has not been met, the stream will be stopped early.
.sp
The intention of this segment\-queue\-deadline is to be able to stop early when the end of a stream is not announced
by the server, so Streamlink doesn\(aqt have to wait until a buffer read\-timeout occurs. See \fI\%\-\-stream\-timeout\fP\&.
.sp
The base time this multiplication factor is applied to depends on the specific
stream implementation and the respective values returned by the streaming server.
This deadline check is done after trying to fetch new data.
.sp
Set to \fB0\fP to disable.
.sp
Default is: \fB3.0\fP\&.
.sp
By default, wait three times as long for new segments to be made available than the server\(aqs advertised time frame.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-stream\-timeout TIMEOUT
The maximum time to wait for an unfiltered stream to continue outputting data.
.sp
This applies to all different kinds of stream types, such as DASH, HLS, HTTP, etc.
.sp
Default is: \fB60.0\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-mux\-subtitles
Automatically mux available subtitles into the output stream.
.sp
Needs to be supported by the used plugin.
.UNINDENT
.SS HLS options
.INDENT 0.0
.TP
.B \-\-hls\-live\-edge SEGMENTS
Number of segments from the live stream\(aqs current live position to begin streaming.
The size or length of each segment is determined by the streaming provider.
.sp
Lower values will decrease the latency, but will also increase the chance of buffering, as there is less time for
Streamlink to download segments and write their data to the output buffer. The number of parallel segment downloads
can be set with \fI\%\-\-stream\-segment\-threads\fP and the HLS playlist reload time to fetch and queue new segments can be
overridden with \fI\%\-\-hls\-playlist\-reload\-time\fP\&.
.sp
Default is: \fB3\fP\&.
.sp
\fBNOTE:\fP
.INDENT 7.0
.INDENT 3.5
During live playback, the caching/buffering settings of the used player will add additional latency.
To adjust this, please refer to the player\(aqs own documentation for the required configuration.
Player parameters can be set via \fI\%\-\-player\-args\fP\&.
.UNINDENT
.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
.B \-\-hls\-segment\-stream\-data
Immediately write segment data into output buffer while downloading.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-hls\-playlist\-reload\-attempts ATTEMPTS
The maximum number of attempts when reloading the HLS playlist before giving up.
.sp
Default is: \fB3\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-hls\-playlist\-reload\-time TIME
Set a custom HLS playlist reload time value, either in seconds or by using one of the following keywords:
.INDENT 7.0
.IP \(bu 2
segment: The duration of the last segment in the current playlist
.IP \(bu 2
live\-edge: The sum of segment durations of the live edge value minus one
.IP \(bu 2
default: The playlist\(aqs target duration metadata
.UNINDENT
.sp
Default is: \fBdefault\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-hls\-segment\-queue\-threshold FACTOR
Deprecated in favor of \fI\%\-\-stream\-segmented\-queue\-deadline\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-hls\-segment\-ignore\-names NAMES
A comma\-delimited list of segment names that will get filtered out.
.sp
Example: \fB\-\-hls\-segment\-ignore\-names 000,001,002\fP
.sp
This will ignore every segment that ends with 000.ts, 001.ts and 002.ts
.sp
Default is: \fBNone\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-hls\-segment\-key\-uri URI
Override the segment encryption key URIs for encrypted streams.
.sp
The value can be templated using the following variables, which will be
replaced with their respective part from the source segment URI:
.INDENT 7.0
.INDENT 3.5
.sp
.EX
{url} {scheme} {netloc} {path} {query}
.EE
.UNINDENT
.UNINDENT
.sp
Examples:
.INDENT 7.0
.INDENT 3.5
.sp
.EX
\-\-hls\-segment\-key\-uri \(dqhttps://example.com/hls/encryption_key\(dq
\-\-hls\-segment\-key\-uri \(dq{scheme}://1.2.3.4{path}{query}\(dq
\-\-hls\-segment\-key\-uri \(dq{scheme}://{netloc}/custom/path/to/key\(dq
.EE
.UNINDENT
.UNINDENT
.sp
Default is: \fBNone\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-hls\-audio\-select CODE
Select one or more specific audio sources by language code or name.
Can be set to \fB*\fP (asterisk) to include all audio sources.
.sp
Examples:
.INDENT 7.0
.INDENT 3.5
.sp
.EX
\-\-hls\-audio\-select \(dqEnglish,German\(dq
\-\-hls\-audio\-select \(dqen,de\(dq
\-\-hls\-audio\-select \(dq*\(dq
.EE
.UNINDENT
.UNINDENT
.sp
\fBNOTE:\fP
.INDENT 7.0
.INDENT 3.5
This is only useful in special circumstances where the regular
locale option fails, such as when multiple sources of the same language exist.
.UNINDENT
.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
.B \-\-hls\-start\-offset [[XX:]XX:]XX[.XX] | [XXh][XXm][XX[.XX]s]
The amount of time to skip from the beginning of the stream.
For live streams, this is a negative offset from the end of the stream (rewind).
.sp
Default is: \fB0\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-hls\-duration [[XX:]XX:]XX[.XX] | [XXh][XXm][XX[.XX]s]
Deprecated in favor of \fI\%\-\-stream\-segmented\-duration\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-hls\-live\-restart
Skip to the beginning of a live stream, or as far back as possible.
.UNINDENT
.SS DASH options
.INDENT 0.0
.TP
.B \-\-dash\-manifest\-reload\-attempts ATTEMPTS
The maximum number of attempts when reloading the DASH manifest before giving up.
.sp
Default is: \fB3\fP\&.
.UNINDENT
.SS FFmpeg options
.INDENT 0.0
.TP
.B \-\-ffmpeg\-ffmpeg FILENAME
Set the location of the FFmpeg executable if it can\(aqt be resolved
from the paths of the system\(aqs \fBPATH\fP environment variable.
.sp
FFmpeg is required to access or mux separate video and audio streams,
e.g. in DASH streams or HLS streams with multiple sources.
.sp
Example: \fB\-\-ffmpeg\-ffmpeg \(dq/usr/local/bin/ffmpeg\(dq\fP
.UNINDENT
.INDENT 0.0
.TP
.B \-\-ffmpeg\-no\-validation
Disable FFmpeg validation and version logging.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-ffmpeg\-verbose
Write FFmpeg\(aqs stderr output to Streamlink\(aqs stderr output.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-ffmpeg\-verbose\-path PATH
Write FFmpeg\(aqs stderr output to PATH.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-ffmpeg\-loglevel LOGLEVEL
Change FFmpeg\(aqs \fB\-loglevel\fP value to \fBLOGLEVEL\fP\&.
.sp
Unless \fI\%\-\-ffmpeg\-verbose\fP or \fI\%\-\-ffmpeg\-verbose\-path\fP is set, changing the log level won\(aqt have any effect.
.sp
Default is: \fB\(dqinfo\(dq\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-ffmpeg\-fout OUTFORMAT
Set the output format to \fBOUTFORMAT\fP\&. This only applies to streams which require muxing.
.sp
Default is: \fB\(dqmatroska\(dq\fP\&.
.sp
Example: \fB\-\-ffmpeg\-fout \(dqmpegts\(dq\fP
.UNINDENT
.INDENT 0.0
.TP
.B \-\-ffmpeg\-video\-transcode CODEC
Transcode the video to \fBCODEC\fP\&. This only applies to streams which require muxing.
.sp
Default is: \fB\(dqcopy\(dq\fP\&.
.sp
Example: \fB\-\-ffmpeg\-video\-transcode \(dqh264\(dq\fP
.UNINDENT
.INDENT 0.0
.TP
.B \-\-ffmpeg\-audio\-transcode CODEC
Transcode the audio to \fBCODEC\fP\&. This only applies to streams which require muxing.
.sp
Default is: \fB\(dqcopy\(dq\fP\&.
.sp
Example: \fB\-\-ffmpeg\-audio\-transcode \(dqaac\(dq\fP
.UNINDENT
.INDENT 0.0
.TP
.B \-\-ffmpeg\-copyts
Set the \fB\-copyts\fP FFmpeg option, so input timestamps won\(aqt be processed
and the initial start time offset value be kept.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-ffmpeg\-start\-at\-zero
Enable the \fB\-start_at_zero\fP FFmpeg option when using \fI\%\-\-ffmpeg\-copyts\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-ffmpeg\-validation\-timeout SECONDS
Timeout in seconds for FFmpeg version validation.
.sp
Default is: \fB4.0\fP\&.
.sp
Increase this on low\-power systems if FFmpeg startup is slow.
.UNINDENT
.SS HTTP options
.INDENT 0.0
.TP
.B \-\-http\-proxy HTTP_PROXY
An HTTP proxy to use for all HTTP and HTTPS requests, including WebSocket connections.
.sp
Example: \fB\-\-http\-proxy \(dqhttp://hostname:port/\(dq\fP
.UNINDENT
.INDENT 0.0
.TP
.B \-\-http\-cookie KEY=VALUE
A cookie to add to each HTTP request.
.sp
Can be repeated to add multiple cookies.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-http\-header KEY=VALUE
A header to add to each HTTP request.
.sp
Can be repeated to add multiple headers.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-http\-query\-param KEY=VALUE
A query parameter to add to each HTTP request.
.sp
Can be repeated to add multiple query parameters.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-http\-ignore\-env
Ignore HTTP settings set in the environment, such as environment variables (\fBHTTP_PROXY\fP, etc)
or \fB~/.netrc\fP authentication.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-http\-no\-ssl\-verify
Don\(aqt attempt to verify TLS/SSL certificates.
.sp
Use with caution, as it has TLS/SSL security implications.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-http\-disable\-dh
Disable Diffie Hellman key exchange.
.sp
Use with caution, as it has TLS/SSL security implications.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-http\-ssl\-cert PEM_FILENAME
SSL certificate to use: a .pem file.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-http\-ssl\-cert\-crt\-key CRT_FILENAME KEY_FILENAME
SSL certificate to use: a .crt and a .key file.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-http\-timeout TIMEOUT
Set the general timeout value used by all HTTP requests except the ones covered by other options.
.sp
Default is: \fB20.0\fP\&.
.UNINDENT
.SS Web browser options
.INDENT 0.0
.TP
.B \-\-webbrowser {yes,true,1,on,no,false,0,off}
Enable or disable support for Streamlink\(aqs webbrowser API.
.sp
Streamlink\(aqs webbrowser API allows plugins which implement it to launch a web browser and extract data from websites
which they otherwise couldn\(aqt do via the regular HTTP session in Python due to specific JavaScript restrictions.
.sp
The web browser is run isolated and in a clean environment without access to regular user data.
.sp
Streamlink currently only supports Chromium\-based web browsers using the Chrome Devtools Protocol (CDP).
This includes Chromium itself, Google Chrome, Microsoft Edge, Brave, Vivaldi, and others, but full support for
third party Chromium forks is not guaranteed. Please try Chromium or Google Chrome when encountering any issues.
.sp
Default is: \fBtrue\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-webbrowser\-executable PATH
Path to the web browser\(aqs executable.
.sp
By default, it is looked up automatically according to the rules of the used webbrowser API implementation.
This usually involves a list of known executable names and fallback paths on all supported operating systems.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-webbrowser\-timeout TIME
The maximum amount of time which the web browser can take to launch and execute.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-webbrowser\-cdp\-host HOST
Host for the web browser\(aqs inter\-process communication interface (CDP specific).
.sp
Default is: \fB127.0.0.1\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-webbrowser\-cdp\-port PORT
Port for the web browser\(aqs inter\-process communication interface (CDP specific).
.sp
Tries to find a free port by default.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-webbrowser\-cdp\-timeout TIME
The maximum amount of time for waiting on a single CDP command response.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-webbrowser\-headless {yes,true,1,on,no,false,0,off}
Whether to launch the web browser in headless mode or not.
When enabled, it stays completely hidden and doesn\(aqt require a desktop environment to run.
.sp
Please be aware that headless mode might be blocked by websites which implement bot detections.
.sp
Default is: \fBfalse\fP\&.
.UNINDENT
.SS Plugin\-specific options
.SS Bbciplayer
.INDENT 0.0
.TP
.B \-\-bbciplayer\-username USERNAME
The username used to register with bbc.co.uk.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-bbciplayer\-password PASSWORD
A bbc.co.uk account password to use with \fI\%\-\-bbciplayer\-username\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-bbciplayer\-hd
Prefer HD streams over local SD streams, some live programmes may not be broadcast in HD.
.UNINDENT
.SS Clubbingtv
.INDENT 0.0
.TP
.B \-\-clubbingtv\-username
The username used to register with Clubbing TV.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-clubbingtv\-password
A Clubbing TV account password to use with \fI\%\-\-clubbingtv\-username\fP\&.
.UNINDENT
.SS Kick
.INDENT 0.0
.TP
.B \-\-kick\-low\-latency
Enables low latency streaming by prefetching HLS segments.
Sets \fI\%\-\-hls\-segment\-stream\-data\fP to true and \fI\%\-\-hls\-live\-edge\fP to 2, if it is higher.
Reducing \fI\%\-\-hls\-live\-edge\fP to \fB1\fP will result in the lowest latency possible, but will most likely cause buffering.
.sp
In order to achieve true low latency streaming during playback, the player\(aqs caching/buffering settings will
need to be adjusted and reduced to a value as low as possible, but still high enough to not cause any buffering.
This depends on the stream\(aqs bitrate and the quality of the connection to Kick\(aqs servers. Please refer to the
player\(aqs own documentation for the required configuration. Player parameters can be set via \fI\%\-\-player\-args\fP\&.
.sp
\fBNOTE:\fP
.INDENT 7.0
.INDENT 3.5
Low latency streams have to be enabled by the broadcasters on Kick themselves.
Regular streams can cause buffering issues with this option enabled due to the reduced \fI\%\-\-hls\-live\-edge\fP value.
.UNINDENT
.UNINDENT
.UNINDENT
.SS Nicolive
.INDENT 0.0
.TP
.B \-\-niconico\-email EMAIL
The email or phone number associated with your Niconico account
.UNINDENT
.INDENT 0.0
.TP
.B \-\-niconico\-password PASSWORD
The password of your Niconico account
.UNINDENT
.INDENT 0.0
.TP
.B \-\-niconico\-user\-session VALUE
Value of the user\-session token.
.sp
Can be used as an alternative to providing a password.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-niconico\-purge\-credentials
Purge cached Niconico credentials to initiate a new session and reauthenticate.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-niconico\-timeshift\-offset [[XX:]XX:]XX | [XXh][XXm][XXs]
Amount of time to skip from the beginning of a stream.
.sp
Default is: \fB0\fP\&.
.UNINDENT
.SS Openrectv
.INDENT 0.0
.TP
.B \-\-openrectv\-email EMAIL
The email associated with your openrectv account, required to access any openrectv stream.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-openrectv\-password PASSWORD
An openrectv account password to use with \fI\%\-\-openrectv\-email\fP\&.
.UNINDENT
.SS Pixiv
.INDENT 0.0
.TP
.B \-\-pixiv\-sessionid SESSIONID
The pixiv.net sessionid that\(aqs used in pixiv\(aqs PHPSESSID cookie.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-pixiv\-devicetoken DEVICETOKEN
The pixiv.net device token that\(aqs used in pixiv\(aqs device_token cookie.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-pixiv\-purge\-credentials
Purge cached Pixiv credentials to initiate a new session and reauthenticate.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-pixiv\-performer USER
Select a co\-host stream instead of the owner stream.
.UNINDENT
.SS Raiplay
.INDENT 0.0
.TP
.B \-\-raiplay\-email EMAIL
The email used to register with raiplay.it.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-raiplay\-password PASSWORD
A raiplay.it account password to use with \fI\%\-\-raiplay\-email\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-raiplay\-purge\-credentials
Purge cached RaiPlay credentials to initiate a new session and reauthenticate.
.UNINDENT
.SS Soop
.INDENT 0.0
.TP
.B \-\-soop\-username USERNAME
The username used to register with sooplive.co.kr.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-soop\-password PASSWORD
A sooplive.co.kr account password to use with \fI\%\-\-soop\-username\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-soop\-purge\-credentials
Purge cached Soop credentials to initiate a new session and reauthenticate.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-soop\-stream\-password STREAM_PASSWORD
The password for the stream.
.UNINDENT
.SS Steam
.INDENT 0.0
.TP
.B \-\-steam\-email EMAIL
A Steam account email address to access friends/private streams
.UNINDENT
.INDENT 0.0
.TP
.B \-\-steam\-password PASSWORD
A Steam account password to use with \fI\%\-\-steam\-email\fP\&.
.UNINDENT
.SS Streann
.INDENT 0.0
.TP
.B \-\-streann\-url URL
Source URL where the iframe is located, only required for direct URLs of ott.streann.com
.UNINDENT
.SS Tf1
.INDENT 0.0
.TP
.B \-\-tf1\-email EMAIL
The email address used to register with tf1.fr.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-tf1\-password PASSWORD
A tf1.fr account password to use with \fI\%\-\-tf1\-email\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-tf1\-purge\-credentials
Purge cached tf1.fr credentials to initiate a new session and reauthenticate.
.UNINDENT
.SS Twitcasting
.INDENT 0.0
.TP
.B \-\-twitcasting\-password PASSWORD
Password for private Twitcasting streams.
.UNINDENT
.SS Twitch
.INDENT 0.0
.TP
.B \-\-twitch\-low\-latency
Enables low latency streaming by prefetching HLS segments.
Sets \fI\%\-\-hls\-segment\-stream\-data\fP to true and \fI\%\-\-hls\-live\-edge\fP to 2, if it is higher.
Reducing \fI\%\-\-hls\-live\-edge\fP to \fB1\fP will result in the lowest latency possible, but will most likely cause buffering.
.sp
In order to achieve true low latency streaming during playback, the player\(aqs caching/buffering settings will
need to be adjusted and reduced to a value as low as possible, but still high enough to not cause any buffering.
This depends on the stream\(aqs bitrate and the quality of the connection to Twitch\(aqs servers. Please refer to the
player\(aqs own documentation for the required configuration. Player parameters can be set via \fI\%\-\-player\-args\fP\&.
.sp
\fBNOTE:\fP
.INDENT 7.0
.INDENT 3.5
Low latency streams have to be enabled by the broadcasters on Twitch themselves.
Regular streams can cause buffering issues with this option enabled due to the reduced \fI\%\-\-hls\-live\-edge\fP value.
.UNINDENT
.UNINDENT
.UNINDENT
.INDENT 0.0
.TP
.B \-\-twitch\-supported\-codecs CODECS
A comma\-separated list of codec names which signals Twitch the client\(aqs stream codec preference.
Which streams and which codecs are available depends on the specific channel and broadcast.
.sp
Default is: \fB\(dqh264\(dq\fP\&.
.sp
Supported codecs are h264, h265 and av1. Set to \(dqh264,h265,av1\(dq to enable all codecs.
.sp
Higher quality streams may only be available by enabling h265 or av1.
Lower quality streams which are re\-encoded on Twitch\(aqs end may still be h264, even if not requested.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-twitch\-api\-header KEY=VALUE
A header to add to each Twitch API HTTP request.
.sp
Can be repeated to add multiple headers.
.sp
Useful for adding authentication data that can prevent ads. See the plugin\-specific documentation for more information.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-twitch\-access\-token\-param KEY=VALUE
A parameter to add to the API request for acquiring the streaming access token.
.sp
Can be repeated to add multiple parameters.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-twitch\-force\-client\-integrity
Don\(aqt attempt requesting the streaming access token without a client\-integrity token.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-twitch\-purge\-client\-integrity
Purge cached Twitch client\-integrity token and acquire a new one.
.UNINDENT
.SS Ustreamtv
.INDENT 0.0
.TP
.B \-\-ustream\-password PASSWORD
A password to access password protected UStream.tv channels.
.UNINDENT
.SS Ustvnow
.INDENT 0.0
.TP
.B \-\-ustvnow\-username USERNAME
Your USTV Now account username
.UNINDENT
.INDENT 0.0
.TP
.B \-\-ustvnow\-password PASSWORD
Your USTV Now account password
.UNINDENT
.SS Wwenetwork
.INDENT 0.0
.TP
.B \-\-wwenetwork\-email EMAIL
The email associated with your WWE Network account, required to access any WWE Network stream.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-wwenetwork\-password PASSWORD
A WWE Network account password to use with \fI\%\-\-wwenetwork\-email\fP\&.
.UNINDENT
.SS Yupptv
.INDENT 0.0
.TP
.B \-\-yupptv\-boxid BOXID
The yupptv.com boxid that\(aqs used in the BoxId cookie.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-yupptv\-yuppflixtoken YUPPFLIXTOKEN
The yupptv.com yuppflixtoken that\(aqs used in the YuppflixToken cookie.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-yupptv\-purge\-credentials
Purge cached YuppTV credentials to initiate a new session and reauthenticate.
.UNINDENT
.SS Zattoo
.INDENT 0.0
.TP
.B \-\-zattoo\-email EMAIL
The email associated with your zattoo account, required to access any zattoo stream.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-zattoo\-password PASSWORD
A zattoo account password to use with \fI\%\-\-zattoo\-email\fP\&.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-zattoo\-purge\-credentials
Purge cached zattoo credentials to initiate a new session and reauthenticate.
.UNINDENT
.INDENT 0.0
.TP
.B \-\-zattoo\-stream\-types TYPES
A comma\-delimited list of stream types which should be used.
.sp
The following types are allowed: dash, hls7
.sp
Default is: \fB\(dqdash\(dq\fP\&.
.UNINDENT
.SH BUGS
.sp
Please open a new issue on Streamlink\(aqs issue tracker on GitHub and use the appropriate issue forms:
.sp
\X'tty: link https://github.com/streamlink/streamlink/issues'\fI\%https://github.com/streamlink/streamlink/issues\fP\X'tty: link'
.SH SEE ALSO
.sp
For more detailed information about config files, plugin sideloading, streaming protocols, proxy support, metadata,
or plugin specific stuff, please see Streamlink\(aqs online CLI documentation here:
.sp
\X'tty: link https://streamlink.github.io/cli.html'\fI\%https://streamlink.github.io/cli.html\fP\X'tty: link'
.sp
The list of available plugins and their descriptions can be found here:
.sp
\X'tty: link https://streamlink.github.io/plugins.html'\fI\%https://streamlink.github.io/plugins.html\fP\X'tty: link'
.SH AUTHOR
Streamlink Contributors
.SH COPYRIGHT
2025, Streamlink
.\" Generated by docutils manpage writer.
.