STREAMLINK(1)

okay so bestie, this is the streamlink manual page, and it is literally the moment. This tool extracts streams from various services and pipes them into a video player of choice. Itโ€™s giving โ€œone command, many servicesโ€ energy, and we are obsessed.

๐Ÿซถ NAME ๐Ÿซถ

streamlink โ€” extracts streams from various services and pipes them into a video player of choice

โœจ SYNOPSIS โœจ

streamlink [OPTIONS] <URL> [STREAM]

๐ŸŽฌ EXAMPLES ๐ŸŽฌ

streamlink --loglevel debug youtu.be/VIDEO-ID best
streamlink --player mpv --player-args '--no-border --no-keepaspect-window' 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 'Authorization=OAuth TOKEN' --http-header 'Referer=URL' URL STREAM
streamlink --hls-live-edge 5 --stream-segment-threads 5 'hls://https://host/playlist.m3u8' best
streamlink --twitch-low-latency -p mpv -a '--cache=yes --demuxer-max-back-bytes=2G' twitch.tv/CHANNEL best

๐Ÿ’… OPTIONS ๐Ÿ’…

๐ŸŒธ Positional arguments ๐ŸŒธ

  • URL โ€” A URL to attempt to extract streams from.

Usually, the protocol of http(s) URLs can be omitted (https://), depending on the implementation of the plugin being used.

Alternatively, the URL can also be specified by using the --url option.

  • STREAM โ€” Stream to play.

Use best or worst for selecting the highest or lowest available quality.

Fallback streams can be specified by using a comma-separated list:

"720p,480p,best"

If no stream is specified and --default-stream is not used, then a list of available streams will be printed.

๐ŸŒŸ General options ๐ŸŒŸ

  • -h, --help โ€” Show this help message and exit.
  • -V, --version โ€” Show version string and exit.
  • --version-check โ€” Run a version check and exit.
  • --auto-version-check {yes,true,1,on,no,false,0,off} โ€” Enable or disable the automatic check for a new version of Streamlink.

Default is: "no".

  • --config FILENAME โ€” Load options from this config file.

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.

  • --no-config โ€” Disable loading any default or custom config files.
  • --locale LOCALE โ€” Override the system's locale setting, for selecting the preferred subtitle and audio language.

The locale is formatted as [language_code]_[country_code], e.g. en_US or es_ES.

Default is: system locale.

๐Ÿ“ Logging arguments ๐Ÿ“

  • -l LEVEL, --loglevel LEVEL โ€” Set the log message threshold.

Valid levels are, in order of increasing verbosity:

none, critical, error, warning, info, debug, trace, all

Default is: "info".

  • --logformat FORMAT โ€” Set a custom logging format.

See the Python standard library's logging.Formatter docs for more information about the logging format and the available LogRecord attributes. Streamlink's formatter uses the curly brace style.

The default format depends on the chosen log level.

For verbose levels (trace and all):

Default is: [{asctime}][{threadName}][{name}][{levelname}] {message}.

Otherwise:

Default is: [{name}][{levelname}] {message}.

  • --logdateformat DATEFORMAT โ€” Set a custom logging date format.

This formats the LogRecord's asctime attribute via strftime().

The default date format depends on the chosen log level.

For verbose levels (trace and all):

Default is: %H:%M:%S.%f.

Otherwise:

Default is: %H:%M:%S.

  • --logfile FILE โ€” Append log output to FILE instead of writing to stdout/stderr.

User prompts and download progress won't be written to FILE.

A value of - (dash) will set the file name to an ISO8601-like string and will choose the following default log directories.

Windows:

%TEMP%\streamlink\logs

macOS:

${HOME}/Library/Logs/streamlink

Linux/BSD:

${XDG_STATE_HOME:-${HOME}/.local/state}/streamlink/logs
  • -Q, --quiet โ€” Suppress all console and log output, and also disable user prompts.
  • -j, --json โ€” Output JSON representations instead of the normal text output.

Useful for external scripting.

๐Ÿงฉ Plugin options ๐Ÿงฉ

  • --plugins โ€” Print a list of all currently installed plugins.
  • --show-matchers PLUGIN โ€” Show the list of matchers of a specific plugin (URL regex pattern with opt. priority and opt. name).

The output is a human-readable pseudo YAML format. Please use --json when reading matcher data programmatically.

  • --can-handle-url URL โ€” Check if Streamlink has a plugin that can handle the specified URL.

Status code is 0 on success, 1 on failure.

Useful for external scripting.

  • --can-handle-url-no-redirect URL โ€” Same as --can-handle-url, but without following redirects when looking up the URL.
  • --no-plugin-cache โ€” Disable I/O of the plugin key-value store.

If disabled, plugins won't be able to load or store data like cookies, authentication data, etc. The data which is loaded or stored depends on each plugin implementation.

  • --no-plugin-sideloading โ€” Disable automatic sideloading of third-party plugins from the default location.

See the plugin-sideloading documentation for where third-party plugins are loaded from.

  • --plugin-dir DIRECTORY โ€” Load additional plugins from this directory.

Can be set multiple times to load plugins from multiple directories.

  • --plugin-dirs DIRECTORY โ€” Load additional plugins from a list of comma-separated directories.

Deprecated in favor of --plugin-dir.

๐ŸŒ Network arguments ๐ŸŒ

  • --interface INTERFACE โ€” Select the network interface, either by IP address or by interface name.

The following optional prefixes are supported:

  • if!<name> โ€” interface name
  • host!<name> โ€” IP address or hostname
  • ifhost!<interface>!<host> โ€” interface name and IP address or hostname
NOTE: On Windows, only IP addresses are supported and prefixes are ignored.
  • -4, --ipv4 โ€” Resolve address names to IPv4 only. This option overrides --ipv6.
  • -6, --ipv6 โ€” Resolve address names to IPv6 only. This option overrides --ipv4.

๐ŸŽฎ Player options ๐ŸŽฎ

  • -p PATH, --player PATH โ€” Set the player executable that will be launched (unless a different output method was chosen).

Either set an absolute or relative path to the player executable, or just set the executable's name if it can be resolved from the paths of the system's PATH environment variable.

In addition to setting the player executable path, custom player arguments can be set via --player-args.

NOTE: In the past, --player allowed defining additional player arguments, which as a consequence required wrapping player paths that contained spaces in quotation marks. This is unsupported since release 6.0.0.

Default is: VLC player, if available.

  • -a ARGUMENTS, --player-args ARGUMENTS โ€” Set a string of custom --player launch arguments that will be parsed and tokenized.

The value can contain formatting variables surrounded by curly braces, { and }. Curly brace characters can be escaped by doubling, e.g. {{ and }}.

Available formatting variables:

  • {playerinput} โ€” This is the input argument that the --player will receive. For standard input (stdin), it is - (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.
  • {playertitleargs} โ€” The automatically generated player title arguments, if a supported --player was found. See --title for more. If unset, automatically generated player title arguments will be prepended to the parsed player arguments list.

Example:

streamlink -p vlc -a "--play-and-exit --no-one-instance" <url> [stream]

Default is: "".

  • --player-env KEY=VALUE โ€” Add an additional environment variable to the spawned --player process, in addition to the ones inherited from the Streamlink/Python parent process. This allows setting player environment variables in config files.

Can be repeated to add multiple environment variables.

  • -v, --player-verbose โ€” Write the --player's stdout/stderr output to Streamlink's stdout/stderr output.
  • --verbose-player โ€” Deprecated in favor of --player-verbose.
  • -n, --player-fifo โ€” Make the --player read the stream through a named pipe instead of the stdin pipe.
  • --fifo โ€” Deprecated in favor of --player-fifo.
  • --player-http โ€” Make the --player read the stream through HTTP instead of the stdin pipe.
  • --player-continuous-http โ€” Make the --player read the stream through HTTP, but unlike --player-http, it will continuously try to open the stream if the player requests it.

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 "repeat mode".

  • --player-external-http โ€” Serve stream data through HTTP without opening the --player. This is useful to allow external devices like smartphones or streaming boxes to watch streams they wouldn't be able to otherwise.

The default behavior is similar to the --player-continuous-http 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.

See --player-external-http-interface for choosing a specific network interface, and see --player-external-http-port for choosing a non-randomized port.

Optionally, the --player-external-http-continuous option allows for disabling the continuous run-mode, so that Streamlink will stop when the stream ends.

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.

  • --player-external-http-continuous {yes,true,1,on,no,false,0,off} โ€” okay so this one picks the run-mode of --player-external-http, and your choices are continuous or not-continuous, no in-between ๐Ÿ’…

In the continuous run-mode, Streamlink keeps running after the stream has ended and waits for the next HTTP request being made โ€” unless it gets shut down via Ctrl+C. So it just... sits there, main character energy, waiting for you to come back ๐Ÿซถ

If set to non-continuous, Streamlink stops once the stream has ended. That's it, that's the vibe.

Default is: true.

  • --player-external-http-interface INTERFACE โ€” sets the network interface the HTTP server will be listening on. If unset or set to 0.0.0.0, all available interfaces get bound. Basically "who's allowed to knock on the door" ๐Ÿšช
  • --player-external-http-port PORT โ€” sets the port of the external HTTP server, if that mode is even enabled. Omit it or set it to 0 to use a random high (>1024) port, aka let the universe decide โœจ
  • --player-passthrough TYPES โ€” a comma-delimited list of stream types you want to pass to the --player as a URL, so the player handles the transport of the stream instead of Streamlink. Delegation! We love to see it ๐Ÿ‘‘

Stream types that can be converted into a playable URL are:

  • hls
  • http

Make sure the player can actually handle the stream type when using this. Don't hand someone a raw URL and act surprised ๐Ÿ˜ญ

  • --player-no-close โ€” so by default Streamlink closes the --player when the stream ends. This is to avoid "dead" GUI players lingering after Streamlink has exited ๐Ÿ’€

It does however have the side-effect of sometimes closing a player before it has played back all of its cached data. Rude, honestly.

This option will instead let the player decide when to exit. Player autonomy, periodt.

  • -t TITLE
  • --title TITLE โ€” changes the title of the --player's window ๐ŸŽ€

Please see the "Metadata variables" section of Streamlink's CLI documentation for all available metadata variables, as well as the "Plugins" section for the list of metadata variables defined in each plugin.

Only the following players are supported:

  • mpv
  • PotPlayer
  • VLC

Example:

streamlink -p mpv --title "{author} - {category} - {title}" <URL> [STREAM]

๐ŸŽ€ File output options ๐ŸŽ€

  • -O
  • --stdout โ€” writes stream data to stdout instead of playing it in the --player. Pipe it, redirect it, do your thing ๐Ÿ’…
  • -o FILENAME
  • --output FILENAME โ€” writes stream data to FILENAME instead of playing it in the --player. If FILENAME is set to - (dash), then the stream data gets written to stdout, similar to the --stdout argument. Sneaky but iconic.

Directories and subdirectories will be created if they don't exist, if filesystem permissions allow ๐Ÿซถ

Unless --force is set, Streamlink will ask for confirmation before writing if FILENAME already exists. Consent matters!

Please see the "Metadata variables" section of Streamlink's CLI documentation for all available metadata variables, as well as the "Plugins" section for the list of metadata variables defined in each plugin.

Unsupported characters in substituted variables will be replaced with an underscore. (More on that down below ๐Ÿ‘€)

Example:

streamlink --output "~/recordings/{author}/{category}/{id}-{time:%Y%m%d%H%M%S}.ts" <URL> [STREAM]
  • -r FILENAME
  • --record FILENAME โ€” writes stream data to FILENAME while at the same time allowing playback in the --player or writing it to --stdout. Record AND watch?? Multitasking queen behavior ๐Ÿ‘‘

If FILENAME is set to - (dash), then the stream data will be written to stdout, similar to the --stdout argument, while still opening the player.

Directories and subdirectories will be created if they don't exist, if filesystem permissions allow.

Unless --force is set, Streamlink will ask for confirmation before writing if FILENAME already exists.

Please see the "Metadata variables" section of Streamlink's CLI documentation for all available metadata variables, as well as the "Plugins" section for the list of metadata variables defined in each plugin.

Unsupported characters in substituted variables will be replaced with an underscore.

Example:

streamlink --record "~/recordings/{author}/{category}/{id}-{time:%Y%m%d%H%M%S}.ts" <URL> [STREAM]
  • -R FILENAME
  • --record-and-pipe FILENAME โ€” deprecated in favor of --stdout --record=FILENAME. It's giving "still works but please move on" ๐Ÿ™ˆ
  • --fs-safe-rules {POSIX,Windows} โ€” the rules used to make formatting variables filesystem-safe get chosen automatically according to the type of system in use. This overrides that automatic detection. You're the boss now ๐Ÿ’…

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. Cross-platform chaos, handled.

These characters are replaced with an underscore for the rules in use:

  • POSIX: \x00-\x1F /
  • Windows: \x00-\x1F \x7F " * / : < > ? \ |
  • -f
  • --force โ€” when using --output or --record, always write to file even if it already exists (overwrite). No questions asked, no thoughts, just vibes ๐Ÿ”ฅ
  • --skip โ€” when using --output or --record, never write to file if it already exists (don't prompt). Respectfully declining โœ‹

Takes precedence over --force. So if both are on, --skip wins. Rules are rules.

  • --progress {yes,force,no} โ€” when using --output or --record, show or hide the download progress bar, or force it if there's no terminal. The little bar is genuinely so satisfying, ngl ๐Ÿ“

Default is: yes.

๐ŸŒˆ Stream options ๐ŸŒˆ

  • --url URL โ€” a URL to attempt to extract streams from.

Usually, the protocol of http(s) URLs can be omitted (https://), depending on the implementation of the plugin being used.

This is an alternative to setting the URL using a positional argument and can be useful if set in a config file. Config file girlies rise ๐Ÿซถ

  • --default-stream STREAM โ€” stream to play.

Use best or worst for selecting the highest or lowest available quality. Extremes only.

Fallback streams can be specified by using a comma-separated list:

"720p,480p,best"

This is an alternative to setting the stream using a positional argument and can be useful if set in a config file.

  • --stream-url โ€” if possible, translate the resolved stream to a URL and print it. Just the URL, mwah ๐Ÿ’‹
  • --retry-streams DELAY โ€” retry fetching the list of available streams until streams are found while waiting DELAY second(s) between each attempt. Persistence is lowkey iconic.

The number of retry attempts can be capped with --retry-max. A default value of 1 is implied for non-zero values of --retry-max.

If both --retry-streams and --retry-max are set to 0, then only one attempt will be made to fetch the list of available streams. This is the default behavior. One shot, no notes.

  • --retry-max COUNT โ€” stop fetching the list of available streams after COUNT retry attempt(s).

A value of 0 makes Streamlink fetch streams indefinitely if --retry-streams is set to a non-zero value. If --retry-streams is unset, then the default delay between fetching available streams is 1 second. Forever and ever and ever ๐Ÿ’€

  • --retry-open ATTEMPTS โ€” after a successful fetch, try ATTEMPTS time(s) to open the stream until giving up. Know when to let go, bestie.

Default is: 1.

  • --stream-types TYPES
  • --stream-priority TYPES โ€” a comma-delimited list of stream types to allow.

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 * (asterisk) can be used as a wildcard to match any other type of stream, e.g. dash. Wildcard slay โœจ

Default is: "hls,http,*".

  • --stream-sorting-excludes STREAMS โ€” fine-tune the best and worst stream name synonyms by excluding unwanted streams. Curated.

If all of the available streams get excluded, best and worst will become inaccessible and new special stream synonyms best-unfiltered and worst-unfiltered can be used as a fallback selection method. Emergency backup besties ๐Ÿซถ

The filter-expression's format is:

[operator]<value>

Valid operators are >, >=, < and <=. If no operator is specified then equality is tested.

For example this will exclude streams ranked higher than "480p":

--stream-sorting-excludes ">480p"

Multiple filters can be used by separating each expression with a comma.

For example this will exclude streams from two quality types:

--stream-sorting-excludes ">480p,>medium"

๐Ÿฆ‹ Stream transport options ๐Ÿฆ‹

  • --ringbuffer-size SIZE โ€” the maximum size of the ringbuffer.

Mebibytes or kibibytes (base 2) can be specified via the M or K suffix respectively.

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. It's like a little snack drawer for your player ๐Ÿ“

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.

Most players have their own additional cache and will read the ringbuffer's 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't get full.

Default is: "16M".

  • --stream-segment-attempts ATTEMPTS โ€” the number of download attempts of each stream segment before giving up. Try again energy, but with a limit.

This applies to all different kinds of segmented stream types, such as DASH, HLS, etc.

Default is: 3.

  • --stream-segment-threads THREADS โ€” the size of the thread pool used to download segments. Minimum value is 1 and maximum is 10. Yes, ten is the ceiling, don't try it.

This applies to all different kinds of segmented stream types, such as DASH, HLS, etc.

Default is: 1.

  • --stream-segment-timeout TIMEOUT โ€” the maximum time to wait for each segment to start downloading. Clock's ticking โณ

This applies to all different kinds of segmented stream types, such as DASH, HLS, etc.

Default is: 10.0.

  • --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 ๐ŸŽ€

Set to 0 to disable.

Default is: 0.

  • --stream-segmented-queue-deadline FACTOR โ€” so this is a multiplication factor on the time frame where new segments have to get queued, otherwise you get playback issues from not enough video/audio data. If this segment-queue-deadline isn't met, the stream gets stopped early. The whole point of this deadline is being able to bail early when the server never announces that the stream ended, so Streamlink doesn't have to sit there waiting for a buffer read-timeout to happen. Peep --stream-timeout for that. The base time this factor multiplies depends on the specific stream implementation and whatever values the streaming server hands back. This deadline check happens after trying to fetch new data. Set it to 0 to disable. Default is 3.0 โ€” so by default Streamlink waits three times as long for new segments than the server's advertised time frame. ๐Ÿ•ฐ๏ธ
  • --stream-timeout TIMEOUT โ€” the maximum time to wait for an unfiltered stream to keep outputting data. This hits all the different kinds of stream types, like DASH, HLS, HTTP, etc. Default is 60.0. โณ
  • --stream-passthrough-encrypted โ€” passes data from encrypted streams straight through with no decryption and no encryption checks. This applies to DASH and HLS streams, and yeah... it will likely result in garbage output. ๐Ÿ’€
  • --mux-subtitles โ€” automatically muxes available subtitles into the output stream. Needs the used plugin to support it. ๐ŸŽฌ

๐ŸŽ€ HLS options ๐ŸŽ€

  • --hls-live-edge SEGMENTS โ€” how many segments from the live stream's current live position to start streaming at. The size or length of each segment is decided by the streaming provider, not us. Lower values decrease latency but also increase the chance of buffering, because Streamlink has less time to download segments and write their data to the output buffer. You can set the number of parallel segment downloads with --stream-segment-threads, and override the HLS playlist reload time for fetching and queueing new segments with --hls-playlist-reload-time. Default is 3.
NOTE: during live playback the caching/buffering settings of the player you're using add extra latency on top. To adjust that, please refer to the player's own documentation for the required configuration. Player parameters can be set via --player-args. ๐Ÿซถ
  • --hls-segment-stream-data โ€” immediately writes segment data into the output buffer while it's downloading. ๐Ÿš€
  • --hls-playlist-reload-attempts ATTEMPTS โ€” the maximum number of attempts when reloading the HLS playlist before giving up. Default is 3.
  • --hls-playlist-reload-time TIME โ€” set a custom HLS playlist reload time value, either in seconds or by using one of these keywords:
    • segment: the duration of the last segment in the current playlist
    • live-edge: the sum of segment durations of the live edge value minus one
    • default: the playlist's target duration metadata

Default is default. โœจ

  • --hls-segment-queue-threshold FACTOR โ€” deprecated in favor of --stream-segmented-queue-deadline.
  • --hls-segment-ignore-names NAMES โ€” a comma-delimited list of segment names that get filtered out.

Example: --hls-segment-ignore-names 000,001,002

This will ignore every segment that ends with 000.ts, 001.ts and 002.ts.

Default is None. ๐Ÿ™ˆ

  • --hls-segment-key-uri URI โ€” override the segment encryption key URIs for encrypted streams. The value can be templated using these variables, which get replaced with their respective part from the source segment URI:

{url} {scheme} {netloc} {path} {query}

Examples:

--hls-segment-key-uri "https://example.com/hls/encryption_key"
--hls-segment-key-uri "{scheme}://1.2.3.4{path}{query}"
--hls-segment-key-uri "{scheme}://{netloc}/custom/path/to/key"

Default is None. ๐Ÿ”‘

  • --hls-audio-select CODE โ€” select one or more specific audio sources by language code or name. Can be set to * (asterisk) to include all audio sources.

Examples:

--hls-audio-select "English,German"
--hls-audio-select "en,de"
--hls-audio-select "*"
NOTE: this is only useful in special circumstances where the regular locale option fails, like when multiple sources of the same language exist. ๐ŸŽง
  • --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 (basically a rewind). Default is 0. โช
  • --hls-duration [[XX:]XX:]XX[.XX] | [XXh][XXm][XX[.XX]s] โ€” deprecated in favor of --stream-segmented-duration.
  • --hls-live-restart โ€” skips to the beginning of a live stream, or as far back as possible. ๐Ÿ”

๐ŸŒˆ DASH options ๐ŸŒˆ

  • --dash-manifest-reload-attempts ATTEMPTS โ€” the maximum number of attempts when reloading the DASH manifest before giving up. Default is 3.

๐Ÿ”ฅ FFmpeg options ๐Ÿ”ฅ

  • --ffmpeg-ffmpeg FILENAME โ€” set the location of the FFmpeg executable if it can't be resolved from the paths in the system's PATH environment variable. FFmpeg is required to access or mux separate video and audio streams, e.g. in DASH streams or HLS streams with multiple sources.

Example: --ffmpeg-ffmpeg "/usr/local/bin/ffmpeg" ๐ŸŽž๏ธ

  • --ffmpeg-no-validation โ€” disables FFmpeg validation and version logging.
  • --ffmpeg-verbose โ€” writes FFmpeg's stderr output to Streamlink's stderr output.
  • --ffmpeg-verbose-path PATH โ€” writes FFmpeg's stderr output to PATH.
  • --ffmpeg-loglevel LOGLEVEL โ€” changes FFmpeg's -loglevel value to LOGLEVEL. Unless --ffmpeg-verbose or --ffmpeg-verbose-path is set, changing the log level won't have any effect. Default is "info".
  • --ffmpeg-fout OUTFORMAT โ€” sets the output format to OUTFORMAT. This only applies to streams which require muxing. Default is "matroska".

Example: --ffmpeg-fout "mpegts" ๐ŸŽ€

  • --ffmpeg-video-transcode CODEC โ€” transcodes the video to CODEC. This only applies to streams which require muxing. Default is "copy".

Example: --ffmpeg-video-transcode "h264"

  • --ffmpeg-audio-transcode CODEC โ€” transcodes the audio to CODEC. This only applies to streams which require muxing. Default is "copy".

Example: --ffmpeg-audio-transcode "aac" ๐ŸŽต

  • --ffmpeg-copyts โ€” sets the -copyts FFmpeg option, so input timestamps won't be processed and the initial start time offset value gets kept.
  • --ffmpeg-start-at-zero โ€” enables the -start_at_zero FFmpeg option when using --ffmpeg-copyts.
  • --ffmpeg-validation-timeout SECONDS โ€” timeout in seconds for FFmpeg version validation. Default is 4.0. Increase this on low-power systems if FFmpeg startup is slow. ๐Ÿข

๐ŸŒธ HTTP options ๐ŸŒธ

  • --http-proxy HTTP_PROXY โ€” an HTTP proxy to use for all HTTP and HTTPS requests, including WebSocket connections.

Example: --http-proxy "http://hostname:port/" ๐Ÿงš

  • --http-cookie KEY=VALUE โ€” a cookie to add to each HTTP request. Can be repeated to add multiple cookies. ๐Ÿช
  • --http-cookies-file PATH โ€” a path to a cookies file whose cookie data gets added to HTTP requests. Can be repeated to add multiple cookie files. The file format must adhere to the Netscape HTTP Cookie File format (MozillaCookieJar, curl, etc.), also known as cookies.txt. Be aware that this format loses information about RFC 2965 cookies, and also about newer or non-standard cookie-attributes such as port. Unlike --http-cookie, which sends data with every request, this option gives you granular control by respecting domain, path, and other cookie attributes. ๐Ÿ—‚๏ธ
  • --http-header KEY=VALUE โ€” a header to add to each HTTP request. Can be repeated to add multiple headers.
  • --http-query-param KEY=VALUE โ€” a query parameter to add to each HTTP request. Can be repeated to add multiple query parameters.
  • --http-ignore-env โ€” ignores HTTP settings set in the environment, such as environment variables (HTTP_PROXY, etc) or ~/.netrc authentication. ๐Ÿ™…โ€โ™€๏ธ
  • --http-no-ssl-verify โ€” don't attempt to verify TLS/SSL certificates.
Use with caution, as it has TLS/SSL security implications. ๐Ÿ’€
  • --http-disable-dh โ€” disables Diffie Hellman key exchange.
Use with caution, as it has TLS/SSL security implications.
  • --http-ssl-cert PEM_FILENAME โ€” SSL certificate to use: a .pem file. ๐Ÿ“œ
  • --http-ssl-cert-crt-key CRT_FILENAME KEY_FILENAME โ€” SSL certificate to use: a .crt and a .key file.
  • --http-timeout TIMEOUT โ€” sets the general timeout value used by all HTTP requests except the ones covered by other options. Default is 20.0. โฑ๏ธ

๐Ÿ’œ Web browser options ๐Ÿ’œ

  • --webbrowser {yes,true,1,on,no,false,0,off} โ€” enables or disables support for Streamlink's webbrowser API. This API lets plugins which implement it launch a web browser and extract data from websites which they otherwise couldn't get via the regular HTTP session in Python, because of specific JavaScript restrictions. The web browser runs isolated and in a clean environment with no access to regular user data. Streamlink currently only supports Chromium-based web browsers using the Chrome Devtools Protocol (CDP). That 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 you hit any issues. Default is true. ๐ŸŒ
  • --webbrowser-executable PATH โ€” path to the web browser's executable. By default it gets looked up automatically according to the rules of the used webbrowser API implementation. That usually involves a list of known executable names and fallback paths on all supported operating systems. ๐Ÿฆ‹
  • --webbrowser-timeout TIME โ€” the max amount of time the web browser is allowed to take to launch and execute. bestie, give it a generous window or it'll get cancelled mid-vibe ๐Ÿ’…
  • --webbrowser-cdp-host HOST โ€” host for the web browser's inter-process communication interface (CDP specific).

Default is: 127.0.0.1.

  • --webbrowser-cdp-port PORT โ€” port for the web browser's inter-process communication interface (CDP specific).

Tries to find a free port by default. โœจ it literally hunts one down for you.

  • --webbrowser-cdp-timeout TIME โ€” the maximum amount of time for waiting on a single CDP command response. one (1) response, one timer, no exceptions ๐Ÿซถ
  • --webbrowser-headless {yes,true,1,on,no,false,0,off} โ€” whether to launch the web browser in headless mode or not. when it's enabled, it stays completely hidden and doesn't require a desktop environment to run. stealth mode fr ๐Ÿฅท
โš ๏ธ heads up: headless mode might get blocked by websites that implement bot detections. you've been warned, don't come for me ๐Ÿ˜ญ

Default is: false.


๐ŸŒˆ Plugin-specific options ๐ŸŒˆ

okay this is the part where every plugin gets its own little locker with its own little secrets. lets gooo ๐Ÿ’–

๐ŸŽ€ Bbciplayer

  • --bbciplayer-username USERNAME โ€” the username used to register with bbc.co.uk.
  • --bbciplayer-password PASSWORD โ€” a bbc.co.uk account password to use with --bbciplayer-username.
  • --bbciplayer-hd โ€” prefer HD streams over local SD streams. lowkey some live programmes may not be broadcast in HD, so don't be shocked ๐Ÿ‘‘

๐ŸŽ€ Clubbingtv

  • --clubbingtv-username โ€” the username used to register with Clubbing TV.
  • --clubbingtv-password โ€” a Clubbing TV account password to use with --clubbingtv-username.

๐ŸŽ€ Kick

  • --kick-low-latency โ€” enables low latency streaming by prefetching HLS segments. sets --hls-segment-stream-data to true and --hls-live-edge to 2, if it is higher. reducing --hls-live-edge to 1 will result in the lowest latency possible, but will most likely cause buffering. ๐Ÿ˜ฌ

in order to achieve true low latency streaming during playback, the player's 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's bitrate and the quality of the connection to Kick's servers. please refer to the player's own documentation for the required configuration. player parameters can be set via --player-args. ๐Ÿซถ

NOTE: 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 --hls-live-edge value. not me warning you twice ๐Ÿ’€

๐ŸŽ€ Nicolive

  • --niconico-email EMAIL โ€” the email or phone number associated with your Niconico account. (no period, that's just how it is, we respect it)
  • --niconico-password PASSWORD โ€” the password of your Niconico account. (same, no period)
  • --niconico-user-session VALUE โ€” value of the user-session token.

can be used as an alternative to providing a password. ๐ŸŽŸ๏ธ

  • --niconico-purge-credentials โ€” purge cached Niconico credentials to initiate a new session and reauthenticate.
  • --niconico-timeshift-offset [[XX:]XX:]XX | [XXh][XXm][XXs] โ€” amount of time to skip from the beginning of a stream.

Default is: 0.

๐ŸŽ€ Openrectv

  • --openrectv-email EMAIL โ€” the email associated with your openrectv account, required to access any openrectv stream. required required, not optional required ๐Ÿšจ
  • --openrectv-password PASSWORD โ€” an openrectv account password to use with --openrectv-email.

๐ŸŽ€ Pixiv

  • --pixiv-sessionid SESSIONID โ€” the pixiv.net sessionid that's used in pixiv's PHPSESSID cookie.
  • --pixiv-devicetoken DEVICETOKEN โ€” the pixiv.net device token that's used in pixiv's device_token cookie.
  • --pixiv-purge-credentials โ€” purge cached Pixiv credentials to initiate a new session and reauthenticate.
  • --pixiv-performer USER โ€” select a co-host stream instead of the owner stream. ๐ŸŽค main character swap, love that for you

๐ŸŽ€ Raiplay

  • --raiplay-email EMAIL โ€” the email used to register with raiplay.it.
  • --raiplay-password PASSWORD โ€” a raiplay.it account password to use with --raiplay-email.
  • --raiplay-purge-credentials โ€” purge cached RaiPlay credentials to initiate a new session and reauthenticate.

๐ŸŽ€ Soop

  • --soop-username USERNAME โ€” the username used to register with sooplive.com.
  • --soop-password PASSWORD โ€” a sooplive.com account password to use with --soop-username.
  • --soop-purge-credentials โ€” purge cached Soop credentials to initiate a new session and reauthenticate.
  • --soop-stream-password STREAM_PASSWORD โ€” the password for the stream. ๐Ÿ”

๐ŸŽ€ Steam

  • --steam-email EMAIL โ€” a Steam account email address to access friends/private streams. (no period again, we keep it real)
  • --steam-password PASSWORD โ€” a Steam account password to use with --steam-email.

๐ŸŽ€ Streann

  • --streann-url URL โ€” source URL where the iframe is located, only required for direct URLs of ott.streann.com.

๐ŸŽ€ Tf1

  • --tf1-email EMAIL โ€” the email address used to register with tf1.fr.
  • --tf1-password PASSWORD โ€” a tf1.fr account password to use with --tf1-email.
  • --tf1-purge-credentials โ€” purge cached tf1.fr credentials to initiate a new session and reauthenticate.

๐ŸŽ€ Twitcasting

  • --twitcasting-password PASSWORD โ€” password for private Twitcasting streams. ๐Ÿคซ

๐ŸŽ€ Twitch

  • --twitch-low-latency โ€” enables low latency streaming by prefetching HLS segments. sets --hls-segment-stream-data to true and --hls-live-edge to 2, if it is higher. reducing --hls-live-edge to 1 will result in the lowest latency possible, but will most likely cause buffering. ๐Ÿ˜ญ (yes it's the same deal as Kick, twins)

in order to achieve true low latency streaming during playback, the player's 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's bitrate and the quality of the connection to Twitch's servers. please refer to the player's own documentation for the required configuration. player parameters can be set via --player-args.

NOTE: 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 --hls-live-edge value. ๐Ÿ’€
  • --twitch-supported-codecs CODECS โ€” a comma-separated list of codec names which signals Twitch the client's stream codec preference. which streams and which codecs are available depends on the specific channel and broadcast. ๐Ÿ‘‘

Default is: "h264".

supported codecs are h264, h265 and av1. set to "h264,h265,av1" to enable all codecs.

higher quality streams may only be available by enabling h265 or av1. lower quality streams which are re-encoded on Twitch's end may still be h264, even if not requested. slay but also read it twice ๐Ÿงš

  • --twitch-api-header KEY=VALUE โ€” a header to add to each Twitch API HTTP request.

can be repeated to add multiple headers. ๐Ÿ”

useful for adding authentication data that can prevent ads. see the plugin-specific documentation for more information. (ad-blocking era, we love it)

  • --twitch-access-token-param KEY=VALUE โ€” a parameter to add to the API request for acquiring the streaming access token.

can be repeated to add multiple parameters. ๐Ÿ”๐Ÿ”

  • --twitch-force-client-integrity โ€” don't attempt requesting the streaming access token without a client-integrity token. no token, no entry, periodt ๐Ÿ’…
  • --twitch-purge-client-integrity โ€” purge cached Twitch client-integrity token and acquire a new one. fresh start energy โœจ

๐ŸŽ€ Ustreamtv

  • --ustream-password PASSWORD โ€” a password to access password protected UStream.tv channels. (yes the option is --ustream-password while the plugin is Ustreamtv โ€” that's canon, don't @ me)

๐ŸŽ€ Ustvnow

  • --ustvnow-username USERNAME โ€” your USTV Now account username. (no period, iconic)
  • --ustvnow-password PASSWORD โ€” your USTV Now account password. (also no period)

๐ŸŽ€ Wwenetwork

  • --wwenetwork-email EMAIL โ€” the email associated with your WWE Network account, required to access any WWE Network stream. required required, again ๐Ÿšจ
  • --wwenetwork-password PASSWORD โ€” a WWE Network account password to use with --wwenetwork-email.

๐ŸŽ€ Yupptv

  • --yupptv-boxid BOXID โ€” the yupptv.com boxid that's used in the BoxId cookie.
  • --yupptv-yuppflixtoken YUPPFLIXTOKEN โ€” the yupptv.com yuppflixtoken that's used in the YuppflixToken cookie. say that five times fast, i dare you ๐Ÿ˜ญ
  • --yupptv-purge-credentials โ€” purge cached YuppTV credentials to initiate a new session and reauthenticate.

๐ŸŽ€ Zattoo

  • --zattoo-email EMAIL โ€” the email associated with your zattoo account, required to access any zattoo stream. ๐Ÿšจ required, yes, again
  • --zattoo-password PASSWORD โ€” a zattoo account password to use with --zattoo-email.
  • --zattoo-purge-credentials โ€” purge cached zattoo credentials to initiate a new session and reauthenticate.
  • --zattoo-stream-types TYPES โ€” a comma-delimited list of stream types which should be used.

the following types are allowed: dash, hls7

Default is: "dash".


๐Ÿฆ‹ BUGS ๐Ÿฆ‹

something broke? it happens to the best of us, no shame. please open a new issue on Streamlink's issue tracker on GitHub and use the appropriate issue forms:

https://github.com/streamlink/streamlink/issues

using the appropriate form is the whole vibe check here โ€” read the forms, pick the right one, and everyone stays happy ๐Ÿซถ


๐ŸŒธ SEE ALSO ๐ŸŒธ

for more detailed information about config files, plugin sideloading, streaming protocols, proxy support, metadata, or plugin specific stuff, please see Streamlink's online CLI documentation here:

https://streamlink.github.io/cli.html

the list of available plugins and their descriptions can be found here:

https://streamlink.github.io/plugins.html

like, go read them, they're giving main character documentation energy ๐Ÿ‘‘


๐Ÿ’œ AUTHOR ๐Ÿ’œ

Streamlink Contributors โ€” a whole squad, we stan ๐Ÿซถ

2026, Streamlink


and that's a wrap, bestie! ๐ŸŽ€ you just made it through the entire page โ€” that's version 8.6.3, dated Oct 29, 2026, dropping as STREAMLINK(1) like the absolute icon it is. now go stream something and remember: purge your credentials responsibly ๐Ÿ’…โœจ

๐Ÿ“ฆ where this page comes from