streamlink
Extract streams from various services and pipes them into a video player of choice.
More info →Options (3)
-p, --playerbooleanUse a specific player to feed stream data to (VLC is used by default if found)
streamlink {{[-p|--player]}} {{mpv}} {{example.com/stream}} {{best}}-o, --outputbooleanWrite stream data to a file instead of playing it
streamlink {{[-o|--output]}} {{path/to/file.ts}} {{example.com/stream}} {{best}}-r, --recordbooleanOpen the stream in the player, while at the same time writing it to a file
streamlink {{[-r|--record]}} {{path/to/file.ts}} {{example.com/stream}} {{best}}Examples (8)
Attempt to extract streams from the URL specified, and if it's successful, print out a list of available streams to choose from
streamlink example.com/streamOpen a stream with the specified quality
streamlink example.com/stream 720p60Select the highest or lowest available quality
streamlink example.com/stream best|worstUse a specific player to feed stream data to (VLC is used by default if found)
streamlink [-p|--player] mpv example.com/stream bestSkip a specific amount of time from the beginning of the stream. For live streams, this is a negative offset from the end of the stream (rewind)
streamlink --hls-start-offset [HH:]MM:SS example.com/stream bestSkip to the beginning of a live stream, or as far back as possible
streamlink --hls-live-restart example.com/stream bestWrite stream data to a file instead of playing it
streamlink [-o|--output] path/to/file.ts example.com/stream bestOpen the stream in the player, while at the same time writing it to a file
streamlink [-r|--record] path/to/file.ts example.com/stream best