1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-24 01:22:10 +02:00
tldr/pages/common/streamlink.md
Vitor Henrique d79a1667e3
pages*: refine wording (#12132)
* pages*: refine wording

---------

Co-authored-by: Sebastiaan Speck <12570668+sebastiaanspeck@users.noreply.github.com>
Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2024-02-09 19:25:36 +05:30

36 lines
1.3 KiB
Markdown

# streamlink
> Extracts streams from various services and pipes them into a video player of choice.
> More information: <https://streamlink.github.io>.
- 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/stream}}`
- Open a stream with the specified quality:
`streamlink {{example.com/stream}} {{720p60}}`
- Select the highest or lowest available quality:
`streamlink {{example.com/stream}} {{best|worst}}`
- Use a specific player to feed stream data to (VLC is used by default if found):
`streamlink --player={{mpv}} {{example.com/stream}} {{best}}`
- Skip 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}} {{best}}`
- Skip to the beginning of a live stream, or as far back as possible:
`streamlink --hls-live-restart {{example.com/stream}} {{best}}`
- Write stream data to a file instead of playing it:
`streamlink --output {{path/to/file.ts}} {{example.com/stream}} {{best}}`
- Open the stream in the player, while at the same time writing it to a file:
`streamlink --record {{path/to/file.ts}} {{example.com/stream}} {{best}}`