-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathusage
78 lines (71 loc) · 2.85 KB
/
usage
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
Usage: twitch-hls-client [OPTIONS] [-p <PATH> -r <PATH>] <CHANNEL> <QUALITY>
Arguments:
<CHANNEL>
Twitch channel to watch
<QUALITY>
Stream to play (best, 1080p, 720p, 360p, 160p, audio_only, etc.)
General options:
-h, --help
Print help (this message) and exit
-V, --version
Print version and exit
-d, --debug
Enable debug logging
-c <PATH>
Path to config file
--no-config
Ignore config file
Player options:
-p <PATH>
Path to player
-a <ARGUMENTS>
Arguments to pass to the player [default: -]
-q, --quiet
Silence player output
--passthrough
Passthrough playlist URL to player and do nothing else
--no-kill
Don't kill the player on exit
Recording options:
-r <PATH>
Record to the specified file path
--overwrite
Allow overwriting file when recording
HLS options:
-s <URL1,URL2>
Ad blocking playlist proxy server to fetch the master playlist from.
If not specified will fetch the master playlist directly from Twitch.
Can be multiple comma separated servers, will try each in order until successful.
If URL includes the keyword "[channel]" it will be replaced with the channel argument at runtime.
Note: This does not support standard HTTP proxies (ie. proxies using the CONNECT request)
--print-streams
Print available streams and exit
--no-low-latency
Disable low latency streaming
--client-id <ID>
Value to be used in the Client-Id header.
If not specified will use the default client ID.
--auth-token <TOKEN>
Value to be used in the Authorization header.
If --client-id is not specified will retrieve client ID from Twitch.
--codecs <CODEC1,CODEC2>
Comma separated list of supported codecs [default: av1,h265,h264]
--never-proxy <CHANNEL1,CHANNEL2>
Prevent specified channels from using a playlist proxy.
Can be multiple comma separated channels.
--playlist-cache-dir <PATH>
Cache the variant playlist URL to a file in the specified directory.
If the playlist is still available it will be used instead of fetching a new one.
--force-playlist-url <URL>
Skip fetching/parsing the variant playlist URL and use this URL instead
HTTP options:
--force-https
Abort request if protocol is not HTTPS
--force-ipv4
Only use IPv4 addresses when resolving host names
--user-agent <USERAGENT>
User agent used in HTTP requests [default: a recent version of Firefox on Windows 10]
--http-retries <COUNT>
Retry HTTP requests <COUNT> times before giving up [default: 3]
--http-timeout <SECONDS>
HTTP request timeout in seconds [default: 10]