Total Pageviews

Monday 27 April 2020

Livestreamer

Command-line utility that extracts streams from various services and pipes them into a video player of choice. No longer maintained, use streamlink or youtube-dl instead. 

http://img.shields.io/pypi/v/livestreamer.svg?style=flat-square http://img.shields.io/pypi/dm/livestreamer.svg?style=flat-square http://img.shields.io/travis/chrippa/livestreamer.svg?style=flat-square

Overview

Livestreamer is a command-line utility that pipes video streams from various services into a video player, such as VLC. The main purpose of Livestreamer is to allow the user to avoid buggy and CPU heavy flash plugins but still be able to enjoy various streamed content. There is also an API available for developers who want access to the video stream data.

Features

Livestreamer is built upon a plugin system which allows support for new services to be easily added. Currently most of the big streaming services are supported, such as:
... and many more. A full list of plugins currently included can be found on the Plugins page.

Quickstart

The default behaviour of Livestreamer is to playback a stream in the default player (VLC).
# pip install livestreamer
$ livestreamer twitch.tv/day9tv best
[cli][info] Found matching plugin twitch for URL twitch.tv/day9tv
[cli][info] Opening stream: source
[cli][info] Starting player: vlc
For more in-depth usage and install instructions see the User guide.

Related software


Feel free to add any Livestreamer related things to the wiki.
-------------------------------------------------------

Streamlink is a CLI utility which pipes video streams from various services into a video player

streamlink.github.io/  
Avoid resource-heavy and unoptimized websites, and still enjoy streamed content.

Streamlink was forked in 2016 from the abandoned Livestreamer project.

📦 Installation

Please take a look at the documentation for different ways of installing Streamlink:

👍 Features

Streamlink is built on top of a plugin system which allows support for new services to be added easily.

Most of the popular streaming services are supported, such as:

... and many more. A list of all plugins currently included can be found on the plugins page.

💡 Quickstart

After installing, simply run:

streamlink "STREAMURL" best

The default behavior of Streamlink is to play back streams in the VLC player, but a lot of other options and output methods are available, such as writing the stream to the filesystem, reading stream metadata, etc.

For more in-depth usage, please refer to the CLI documentation.

An API guide and API reference is available for Python implementors of Streamlink.

from https://github.com/streamlink/streamlink

(https://streamlink.github.io/index.html)

------------------------------------------------------------------------------------------------

Streamlink 0.5.0 Adds Support For Streaming Google Drive / Google Docs Videos

0.5.0 was released yesterday, bringing support for streaming videos from Google Drive / Google Docs, along with other improvements.

Forked from Livestreamer, which is no longer maintained, Streamlink is a command line tool (and API) that can be used to stream videos from various streaming services, such as Twitch, YouTube Live and many more, and play them using your favorite video player, be it VLC, mpv, and more.

It is is available for Linux, Windows, and Mac OS.

Changes in Streamlink 0.5.0 include:
  • added support for streaming videos stored on Google Drive / Google Docs;
  • added support for BBC iPlayer live and VOD, along with support for HLS streams;
  • add support for Beam VOD and HLS streams for live;
  • added support for camsoda.com;
  • added new plugin: canlitv;
  • added new plugin: garena;
  • Aliez plugin now accepts any TLD;
  • added support for avi/mov VOD streams for rtve;
  • removed dead plugins such as blip.tv, gaminglive.tv, leon.tv, livestation.com and more.

Since our initial article about Streamlink, the tool has seen quite a few improvements, including support to use FFmpeg to mux separate video and audio streams, along with new plugins and much more. Check out the Streamlink GitHub releases page for a complete changelog.

For a complete list of supported streaming services, see THIS page.

Using the Streamlink command line interface is very simple. Here's an example using a Google Drive video. The first thing you need to do is run Streamlink with the link you want to stream, to see the available streams:
streamlink https://drive.google.com/open?id=0B0tRrdcY7CwJWGdVdHEyYWpfTTQ
This should list the available formats:
[cli][info] Found matching plugin googledrive for URL https://drive.google.com/open?id=0B0tRrdcY7CwJWGdVdHEyYWpfTTQ
Available streams: 360p_alt, 480p_alt, 360p (worst), 480p, 720p, 1080p (best)
Next, simply add one of the available streams at the end of the command, and Streamlink will start streaming:
streamlink https://drive.google.com/open?id=0B0tRrdcY7CwJWGdVdHEyYWpfTTQ 1080p
By default, Streamlink uses VLC to play the stream, but you can specify a different video player by using the "--player" argument, e.g. "--player mpv" to use mpv instead.

For more about using the Streamlink command line interface, check out THIS page.

Install Streamlink

Ubuntu / Linux Mint users can install Streamlink by using the main WebUpd8 PPA. To add the PPA and install Streamlink, use the following commands:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt update
sudo apt install streamlink

I didn't add a direct deb download link because the PPA provides quite a few dependencies required to install Streamlink.

For how to install Streamlink in other Linux distributions, Windows or Mac OS, see THIS page.

Report any bugs you may find @ GitHub.
 
from http://www.webupd8.org/2017/04/streamlink-050-adds-support-for.html

 

 

 

 

No comments:

Post a Comment