Pipe online video streams into your own video player
open sourceBSD-2-Clauseself-hostablefree
Streamlink is a BSD-2-Clause Python command-line tool and library that extracts video streams from streaming sites and pipes them into a video player such as VLC or mpv, so you can watch without the site's heavy web player. A plugin system covers most popular services, including Twitch and YouTube, and new services can be added as plugins. Besides playing, it can write a stream to a file or stdout, choose a quality (streamlink URL best), and read stream metadata. Python developers can use its API directly. It was forked in 2016 from the abandoned Livestreamer project and installs on Windows (installer, winget), macOS (Homebrew), Linux and BSD (distribution packages, AppImage) or from PyPI.
Ways to install
Package managers
Problems it solves
- watch Twitch streams in VLC or mpv instead of the browser
- record a live stream to a file from the command line
- avoid heavy streaming websites and still watch live video
- get the direct stream URL of a live broadcast in Python
- pick a stream quality and play it in my own player
Features
- plays streams in VLC, mpv or another player
- plugins for Twitch, YouTube and many other services
- writes streams to a file or stdout
- quality selection such as best or worst
- stream metadata output
- Python API for developers
- Windows installer and winget, Homebrew, Linux and BSD packages, AppImage, PyPI
Capabilities
| Has an API | plan not known |
|---|---|
| Has a command line tool | plan not known |
| Takes plugins | plan not known |
| Has official SDKs | plan not known |
Alternatives
The same job
These do what Streamlink does.
- yt-dlp A feature-rich command-line audio/video downloader
