Streamlink 1.4.0 adds low-latency streaming on Twitch and fixes the YouTube plugin (use CLI tool to stream live to VLC or mpv)

Stream link 1.4.0 has been released, supports low-latency streaming on Twitch, fixed YouTube plugins, etc. Streamlink is a free and open source command line utility that can stream real-time video to VLC, mpv, MPlayer, OMXPlayer or MPC-HC. The purpose is to avoid websites that take up a lot of resources (on Linux, use hardware accelerated video playback) . It was derived from Livestreamer 3 years ago and is no longer maintained and can run on Windows, macOS and Linux.
This tool uses a plug-in system to easily add new streaming media services, and supports more than 300 streaming media sites, including Twitch, YouTube, Livestream, DLive, Mixer, Dailymotion, BBC iPlayer, ITV Player, NBC, Periscope, Vimeo, VK .com, There are a lot more.The new Streamlink 1.4.0 adds low-latency streaming on Twitch.tv. To use this feature, add --twitch-low-latency Use command line options when streaming live to the video player. There is a new one --hls-segment-stream-data Option, which causes Streamlink to write them to the output buffer when downloading HLS segments (used implicitly when using the low latency option).
With this, Pull request message Please note that Streamlink with mpv (without additional player caching) can “beat Twitch’s web player 0-2 seconds”. This version of Streamlink also fixes the YouTube plugin, which stopped working due to changes to the YouTube VOD API. There is also a new option by always showing download progress --force-progress. By default, Streamlink only displays the download progress when running in the terminal, and this new option can display the progress when running in the terminal. Sub-process.
It is also worth noting that in Streamlink 1.4.0, because it has been unavailable, the function of logging in to Twitch has been disabled.
More changes:

  • Fixing Twitch clips showing “410 Gone” error
  • Add support for Invintus Media live streaming and VOD
  • Add support for radiko.jp
  • Add Kugou Fanxing live plugin
  • Add support for GALATASARAY SK TV
  • Add support for ATV and ATVMas
  • Add support for RTVE sub-channel Clan RTVE
  • New plugin for WASD.TV
  • New plugin for Niconico Live
  • New plugin for rotana.net
  • New plugin for Zeenews Live TV
  • Support Abema overseas version
  • TF1 plugin: Retrieve DASH stream using new API
  • Fixed the following plugins: Crunchyroll, Pixiv, TVplayer, Zattoo, Piczel
  • Use Firefox as the default User-Agent instead of python-requests

This is the last version of Streamlink that supports Python 2, and this version has come to an end in early 2020. Related: Live video wallpaper for GNOME, Xfce or bspwm desktop

Download Streamlink

Streamlink is available for Windows, macOS and Linux.
On Linux, it can be found in the repositories of most Linux distributions as shown above Installation page, Although it may not be up to date.
The easiest way to install the latest version is to install Streamlink with its latest version PyPI package. If you use the PyPI package, delete the installed version from the repository and make sure that FFmpeg is installed on the system.
Also note that the Streamlink PyPI installation instructions mentioned are using Python 2’s “pip” on Ubuntu and Linux Mint, so if you are using an Ubuntu-based Linux distribution, please use pip3 to install the Python 3 version (and Don’t run pip with sudo, Which is not only bad for security, but also messes up your system Python.

New to Streamlink? How is this used

Play the Twitch stream with “best” quality (for these examples, I chose a random Twitch streamer):

streamlink twitch.tv/anomaly best

If VLC is installed on your system, it will be used to play the stream by default.
You can also specify the VLC path, or use other video players. For example, use Streamlink to use mpv to stream the same Twitch link at “best” quality:

streamlink -p mpv twitch.tv/anomaly best

For best results, the Streamlink documentation mentions to use VLC or mpv!
To display all available stream quality, run Streamlink and enter the URL without specifying any quality, for example:

streamlink twitch.tv/anomaly

Which should output the following:

[cli][info] Found matching plugin twitch for URL https://www.twitch.tv/anomaly
Available streams: audio_only, 160p (worst), 360p, 480p, 720p, 720p60, 1080p60 (best)

For more information about Streamlink options, please check its help (streamlink --help)with document.

Source

Sidebar