Posts: 184
Joined: Jan 2010
Reputation:
1
I'm guessing Iplayer will work for those of us in the UK- not sure whether we'll get all 24 streaming channels though...
Posts: 267
Joined: Feb 2011
Reputation:
8
Auntie have decided to use a Facebook app to stream the 24 video streams....
To make matters (much) worse, they are also using Adobe HDS "live" streaming for which there is no current native support in XBMC.
Now, I do have a working solution using the Adobe OSMF player and Opera loaded on XBMC, but frankly, it's pants.
I also have a php script that can read the embedded HDS streams (copied from KSV at stream-recorder) and I have played that live through XBMC's dvdplayer.
I'm in the process of taking the elements of the HDS php script that I need, converting to python and building an app.
This all takes time, so bear with me - I'm currently traveling the world for work....
D
Posts: 1,432
Joined: May 2004
Reputation:
73
BlueCop
Skilled Python Coder
Posts: 1,432
2012-07-25, 21:30
(This post was last modified: 2012-07-28, 02:08 by BlueCop.)
I was looking at the NBC Live Extra streaming app for iOS. It is adobe flash app ported to ios and it using youtube for all video hosting. They just seem to serve youtube ids for all videos( ads and live feeds). It uses a youtube api to get the HLS live stream. Unfortunately the XBMC youtube app errors somewhere in "videoIsUnavailable" when trying to play. I tried some on the website and the ads are just unlisted videos. the live feeds say it is restricted through a browser. I was just curious though. The apple HLS stream and will play in XBMC. The highest quality is 854x480 h264/aac.
I am going to take a look at the android version and see if they use the same type of streaming.
here is a csv of the logos for the networks that support log-in.
hxxp://www.nbcolympics.com/mobileapps/live/prod/1.1/mvpd_logos.csv
I have been unable to get the log-in urls for the various stations. I understand the redirects it is doing to get cookies but i am not sure how to get that orginal log-in url for each provider is generated. they actually have a method to get a temporary pass to play content without log-in.
most of the below urls are generated from this config.
hxxp://www.nbcolympics.com/mobileapps/live/prod/1.1/configuration.json
here are the scheduling urls.
hxxp://www.nbcolympics.com/mobilefeeds/cms/video/schedule.json
hxxp://www.nbcolympics.com/mobilefeeds/cms/video/featured.json
hxxp://www.nbcolympics.com/mobilefeeds/cms/video/live.json
hxxp://www.nbcolympics.com/mobilefeeds/cms/video/upcoming.json
you can also filter by sport
hxxp://www.nbcolympics.com/mobilefeeds/cms/video/sport=archery/featured.json
hxxp://www.nbcolympics.com/mobilefeeds/cms/video/sport=badminton/featured.json
lists of sport values are available in the configuration file.
this seems to be a ticker feed of Olympic news.
hxxp://www.nbcolympics.com/mobilefeeds/cms/notification.json
The HLS url is provided from requests to youtube. It returns alot of json information. the HLS feeds are in the media content items.
hxxps://gdata.youtube.com/feeds/api/videos/{YOUTUBE_ID}?v=2
if you don't have a special "X-GData-Device" header value then it will just return the website link and not the HLS links.
It looks like this except base64 encoded data in the device_id and data quotes.
X-GData-Device: device-id="",data=""
someone more knowledgeable then me on youtube might know what this is.
Posts: 515
Joined: Oct 2011
Reputation:
22
For anyone in the UK the tvcatchup addon now has 24 BBC Olympic channels