Watch playing online games thanks to twitch.tv on Raspberry Pi

Tara Babcock

You can meet Tara Babcock and watch how she plays League of Legends on twitch.tv

Would you like to see online games played by experts via streaming?. Channels dedicated to Dota 2, Minecraft, Final Fantasy XIV, Skyrim among others from home on your Raspberry Pi. Let's see!


[Background]

twitch.tv is a video platform leader with over 38 million visitors per month. From there you can see and chat with users who are serving via streaming their games. No specific programming. In the main page only are users who have more viewers. You can create an account and follow channels. On Windows you can serve your games via streaming with OBS (free) or xsplit (licensed), but our goal is to watch the games at the highest resolution (even 1080p).

LiveStreamer is a command line interface (CLI) systems connecting various streaming like Dailymotion, Youtube Live among others, with your multimedia player.

Twitchscript is a Python script for Linux/Windows which lets you see Twitch.tv streams using LiveStreamer under the command line. It comes by default for use VLC, but in our case we will use to omxplayer.

Top 25 most viewed (rated) LOL clips from Twich.tv

[Installation]

Follow the next steps:


sudo apt-get install rtmpdump python-pip && sudo pip install livestreamer
wget https://raw.github.com/schmodd/twitchscript/master/twitchscript.py

Modify the lines 46-47:



#playerCommand = 'vlc'
playerCommand = 'omxplayer -o hdmi'

Set execute permission with chmod +x twitchscript.py

and run: ./twitchscript.py

Enjoy!

NOTE: Thanks to David Rodríguez, @NeoDaVe for his collaboration.

Links: Youtube - How to Live Stream to Twitch Tv


We request your permission to obtain statistical data on its navigation on this website. If you continue to browse we consider to accept the use of cookies. OK | More Information