Omnifi
Posts: 1
Joined: Sat Mar 19, 2016 5:19 pm

Watching website streams

Sat Mar 19, 2016 5:27 pm

Hello!

I am a proud new owner of a Raspberry Pi 3 and am trying to figure out how exactly to work this thing. My experience with Linux comes from Redhat/KDE from MANY years ago.

For the moment what I'm trying to figure out is how to watch streams from websites. Most of the information I've found both on here and from google is information from 3+ years ago.

I did find an addon for Twitch which is one of the sites I was wanting watch, but there are others (a notable example being the NCAA basketball tournament games, http://www.ncaa.com/march-madness-live/ ... l2016_ncaa ) that do not have such a handy addon.

I currently have Raspbian and OpenELEC up and running on the device and am hoping to find some explicit step by step instructions on what I should do in order to watch streams from any website

Thanks in advance!

fruitoftheloom
Posts: 23548
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Watching website streams

Sat Mar 19, 2016 5:39 pm

Many web sites require Abode Flash which is not natively supported by Web Browsers.

IF you can find a KODI addon for OpenElec then you are good to go, hopefully.

http://kodi.wiki/view/Add-on:TwitchTV
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot) RaspiOS64 ARM64
Asus ChromeBox 3 Celeron is my other computer...

User avatar
EvanMarkHopkins
Posts: 3
Joined: Thu Mar 19, 2015 11:04 pm

Re: Watching website streams

Sat Mar 19, 2016 6:36 pm

It might not be an ideal solution, but I often use a combination of youtube-dl and omxplayer.

here's an example twitch stream:

Code: Select all

$ omxplayer -b `youtube-dl -g https://www.twitch.tv/twitchplayspokemon/v/48633242`
and here's a quick and dirty script for playing from bandcamp

Code: Select all

for track in `youtube-dl -g https://diners.bandcamp.com/album/its-all-true`; do
    omxplayer $track
done
basically you just use `youtube-dl -g` to capture the underlying link from any of it's supported sites[1] and feed it to omxplayer

1: https://rg3.github.io/youtube-dl/supportedsites.html

fruitoftheloom
Posts: 23548
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Watching website streams

Sat Mar 19, 2016 7:15 pm

Yes youtube-dl supports many websites: https://rg3.github.io/youtube-dl/supportedsites.html

Also it is included in kweb package: viewtopic.php?t=40860
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot) RaspiOS64 ARM64
Asus ChromeBox 3 Celeron is my other computer...

Return to “Beginners”