http://ubuntuhandbook.org/index.php/2013/09/watch-live-streams-on-ubuntu-via-video-player/
How to Watch Live Streams on Ubuntu via Your Favorite Video Player
September 8, 2013 — 10 CommentsWant to watch live streams on Ubuntu via your favorite video player? Well, here’s how to do it using Livestreamer which supports most of the big streaming services such as Dailymotion, Livestream, Twitch/Justin.tv, YouTube Live, UStream.
Livestreamer is a Command Line Interface that pipes video streams from various services into a video player, such as VLC, Mplayer. 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.
It’s very easy to use this tool. Let’s say you want to watch the stream located on http://twitch.tv/day9tv, just run below command in terminal (press Ctrl+Alt+T to open it).
livestreamer twitch.tv/day9tv[cli][info] Found matching plugin justintv for URL twitch.tv/day9tv
Found streams: 240p, 360p, 480p, 720p (best), mobile_high, mobile_low (worst)
It will find out what streams are available and print them out for you to choose from. Simply give livestreamer the stream as the second argument and playback will start in your video player of choice.
In this case the best stream is a reference to the stream that is considered to be of highest quality, e.g 720p. The –player argument will specify the video player (It will open VLC as the default player if not specified).
livestreamer twitch.tv/day9tv best --player mplayerInstall Livestreamer in Ubuntu, Linux Mint
Press Ctrl+Alt+T on your keyboard to open terminal. When it opens run below commands to install pip installer:
sudo apt-get install python-pipThen install Livestreamer via pip:
sudo pip install livestreamerThis will work on all current supported Ubuntu releases, include Ubuntu 13.10, Ubuntu 13.04, Ubuntu 12.10, Ubuntu 12.04, Ubuntu 10.04 and their derivatives such as Linux Mint and Elementary OS.

no subject
Date: 2015-12-23 03:26 am (UTC)In App Review live streams, Ubuntu 12.10, Ubuntu 13.04, Ubuntu 13.10
Ji m
I'm a freelance blogger who started using Ubuntu 5+ years ago and wishes to share my experiences and some useful tips with Ubuntu beginners and lovers. Please notify me if you find any typo/grammar/language mistakes. English is not my native language. Contact me on Google Plus or email to ubuntuhandbook1@gmail.com
Linux Kernel 3.10.11... VMware Player 6.0 Released,...
10 responses to How to Watch Live Streams on Ubuntu via Your Favorite Video Player
tee_spoon September 9, 2013 at 5:44 am
Thanks a lot it works!!
but how do i watch new “Source thing(on twitch)” ?
but still thanks
Reply
Panda September 9, 2013 at 6:12 am
Read this document for Twitch/Justin.tv and GOMTV.net
Reply
Reetou September 15, 2013 at 1:39 am
When I use the command
livestreamer twitch.tv/*
I get
livestreamer: command not found
Does it need to be compiled or something?
Reply
Panda September 15, 2013 at 1:55 am
Sounds like livestreamer’s not installed properly. Is there any error out when you run below commands to install it on your system:
sudo apt-get install python-pip; sudo pip install livestreamer
You can also install the development version if above command not work for you. Run below commands one by one to get it from github:
git clone git://github.com/chrippa/livestreamer.git
cd livestreamer
python setup.py install
Reply
Zipa October 16, 2013 at 3:15 pm
Can I do that installation as well on Python windows with VLC?
Reply
rob ramdisk December 24, 2013 at 4:24 pm
It’s working for me on Fedora 19 with VLC. VERY NICE!
Reply
augis May 5, 2014 at 7:39 am
Thank you very much – it works sooo good
Reply
Meindert June 30, 2014 at 7:17 am
When i do:
livestreamer twitch.tv/day9tv best --player mplayer
I get:
[cli][info] Found matching plugin twitch for URL twitch.tv/day9tv
error: Unable to open URL: https://api.twitch.tv/api/channels/day9tv/access_token.json (HTTPSConnectionPool(host='api.twitch.tv', port=443): Max retries exceeded with url: /api/channels/day9tv/access_token.json?as3=t (Caused by : [Errno 113] No route to host))
Same with other streamers
Reply
le April 20, 2015 at 1:04 pm
getting
[cli][info] Found matching plugin twitch for URL twitch.tv/cohhcarnage
[cli][info] Available streams: audio, high, low, medium, mobile (worst), source (best)
[cli][info] Opening stream: source (hls)
[cli][info] Starting player: mplayer
error: Failed to start player: mplayer ([Errno 2] No such file or directory)
Reply
navaneeth April 27, 2015 at 5:56 am
i have a easy-cap video capturing device connected to usb port and it is listed in /dev/ folder as /dev/video0 . Can i play videos through livestreamer from /dev/video0.
Reply
http://ubuntuhandbook.org/index.php/2013/09/watch-live-streams-on-ubuntu-via-video-player/
no subject
Date: 2015-12-23 03:36 am (UTC)http://livestreamer.tanuki.se/en/latest/cli.html