forked from 2bc4/twitch-hls-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
usage
65 lines (62 loc) · 2.48 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
Usage: twitch-hls-client [OPTIONS] [-p <PATH> -r <PATH>] <CHANNEL> <QUALITY>
Arguments:
<CHANNEL>
Twitch channel to watch (can also be twitch.tv/channel)
<QUALITY>
Stream quality/variant playlist to stream (best, 1080p, 720p, 360p, 160p, audio_only, etc.)
Options:
-p <PATH>
Path to player
-a <ARGUMENTS>
Arguments to pass to the player [default: -]
-r <PATH>
Record to <PATH>
-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)
-c <PATH>
Path to config file
-d, --debug
Enable debug logging
-q, --quiet
Silence player output
--passthrough
Passthrough playlist URL to player and do nothing else
--print-streams
Print available stream qualities and exit
--overwrite
Allow overwriting file when recording
--no-low-latency
Disable low latency streaming
--no-config
Ignore config file
--no-kill
Don't kill the player on exit
--force-https
Abort request if protocol is not HTTPS
--force-ipv4
Only use IPv4 addresses when resolving host names
--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.
--never-proxy <CHANNEL1,CHANNEL2>
Prevent specified channels from using a playlist proxy.
Can be multiple comma separated channels.
--codecs <CODEC1,CODEC2>
Comma separated list of supported codecs [default: av1,h265,h264]
--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]
-h, --help
Print help
-V, --version
Print version