• 1
  • 2
  • 3(current)
  • 4
  • 5
  • 8
[REQUEST] 2012 London Olympics
#31
(2012-07-28, 20:04)ncube2 Wrote: It shows up empty..no links when i open the plugin.
Is there a region block for non EU regions.


(2012-07-28, 00:51)AddonScriptorDE Wrote: Hi,
I just discovered eurovisionsports.tv (official broadcaster) and started an addon for that.
There are 12 Livefeeds + 1 Newsfeed, 47 European Live-TV Channels, Live HD Events and Highlights available.
(For some reason the tv-channels from your own country are not watchable.)

But there's a problem:
There are 3 different streaming types available. Live-rtmp and ondemand-rtmp are working fine, but I dont know how to get the http streams working! (The Livefeeds and HD Events are using http)
They play fine for only 15 seconds... The full http url (captured with wireshark) looks like this:
Code:
http://culture-f.akamaihd.net/d03m01_1_700@s73516?primaryToken=1343429976_8026355950f5638d98e65b51815d22cb&v=1.1.12&fp=WIN%2011,3,300,268&r=TGFHH&g=TEDFKDRIAXAD&primaryToken=?event=d03m01
Example for .smil with the needed data:
Code:
http://ebustreaming.fr.edgesuite.net/vp/ovp/london2012/ebu/ms01.smil?event=d03m01

Any parameters missing? I'm sure someone here finds a way to get this working Wink

So, at the moment, only the 24/7 Newsfeed, LiveTV Channels, Highlights and Featured Videos are playing...
Download v0.0.2
- Added missing categories and logos
Yes, these countries are supported! Not even full EU, for example Italy is missing...
When your region is blocked, the xml could not be loaded and you see an empty list.
Reply
#32
AddonScriptorDE: check http videos from flv meta-data blocks. I have seen this streaming before where they embed tokens and session information in the video. This information has to be used to further communicate with the server. I don't know of a working solution currently.

I guess it is pointless to check if it can't be fixed currently. I was just curious really because I attempted to check but was geo-blocked.
Reply
#33
(2012-07-29, 01:27)BlueCop Wrote: AddonScriptorDE: check http videos from flv meta-data blocks. I have seen this streaming before where they embed tokens and session information in the video. This information has to be used to further communicate with the server. I don't know of a working solution currently.

I guess it is pointless to check if it can't be fixed currently. I was just curious really because I attempted to check but was geo-blocked.
Thanks for your help, that sounds not good...
I don't have much experience with these things, perhaps you can have a look at the beginning of the connection data. (When playing with a browser)
Same connection data when playing within XBMC. Maybe its obvious for you if its really not possible.
Reply
#34
It is indeed the same type of streaming. I believe this streaming is part of the Akamai EdgePlatform. The data is in these onEdge blocks throughout the flv.

the first one includes more information then subsequent blocks. It also has a large base64 encoded block which i am unsure what exactly it is. It seems to always begin with CWS when base64 decoded. I removed the large data64 value to fit the example in this post. I also removed the ip addresses.

Code:
onEdge: { session: "AQBjD3WnQNbjlYeGFFDdmGJBxzMU9UiEzGZ3idf+4Hc0TuexCuMmr0yrW96mQhQW5UvYoZ2m", tat: 46.246, dvrWindow: -1.0, timeBase: 0.0, timeOfLastTAT: 1.343522439329963E9, errorNumber: 0.0, status: 0.0, streamType: 3.0, streamStartTime: 0.0, liveDelay: 0.0, isLive: false, switchFail: false, streamName: "mpx/video/Nat_Geo_Channels/27/162/The_Gloves_Come_Off_Teaser_ngc_015.flv_0_0@1", transferToken: "q1bSV6Tc", data64: "", edgeVersion: "X.X.X.X", edgeIP: "X.X.X.X", playerIP: "X.X.X.X" }

the session value is used in the header for further http requsts as the "x-Akamai-Streaming-SessionID". there is also a "x-Akamai-Streaming-SessionToken" header value which i believe is generated from the transfer token in the first onEdge block.

the stream name value is that path to send commands to the server. The first request looks something like this. I have monitored a variety of commands it sends. The first is sendNewToken. The rest seem to be buffering and throttling information.

here is an example url for one of these commands. These are always POST and not GET commands. It sends "Smile" as the data for the post.

hxxp://natgeo-f.akamaihd.net/control/video/player/media/weirdest-flounder/weirdest-flounder.flv_0_0@14?cmd=sendingNewToken&v=2.7.6&r=FMEKU&g=HTLELQJJEOKL&lvl1=0.287,60,0.5,0,0,NaN,0,0,sbr,sbr,0.054,1343523031.066,0.054,0,0.054,121.103,34,NaN,0,0,0,0,u,false&swf=http%3A//images.nationalgeographic.com/wpf/sites/video/swf/ngplayer_v2.2.swf
Quote:cmd sendingNewToken
v 2.7.6
r FMEKU
g HTLELQJJEOKL
lvl1 0.287,60,0.5,0,0,NaN,0,0,sbr,sbr,0.054,1343523031.066,0.054,0,0.054,121.103,34,NaN,0,0,0,0,u,false
swf http://images.nationalgeographic.com/wpf...r_v2.2.swf
so the path is from the streamName value in onEdge. The parameters are generated in the action script of the swf. I want to take a look at the action script that is activated when the onEdge blocks are received.


The rest of the onEdge packets contain less data then the first. they look something like below.
Code:
onEdge: { session: "AQBjD3WnF0Lnl8MBAVCTcutQ4Pefrfm7nfEYlaWF2ibT+rDaxpFveYaiDz0qiB66ZPy4gcjE", tat: 2744.01, dvrWindow: -1.0, timeBase: 5.071, timeOfLastTAT: 1.342243267540281E9, errorNumber: 0.0, status: 0.0, streamType: 3.0, streamStartTime: 0.0, liveDelay: 0.0, isLive: false, switchFail: false, streamName: "channel/feed/362/225.flv_0_0@1" }

The "errorNumber" value always jumps in the last block before the stream drops.

I was wanting to write something to just download the video and send the proper commands for it to complete. I was hoping that could the first step in getting these streams working in XBMC.

I am only at the point of trying to understand everything happening though.

Sorry to go way off topic of the Olympics.

I found some documentation from brightcove about onEdge commands. It seems to confirm what I was thinking.
http://docs.brightcove.com/en/player/com...:mediaEdge


Reply
#35
@AddonScriptorDE
It would be great if you could add proxy code like iPlayer/ ITV plug-in did.
Bypassing that level of Geo-blocking isn't that difficult.
Reply
#36
OK - here goes.

I've built a script based on K-S-V's "AdobeHDS.php" for stream recorder that kicks-off a download to disk of the Olympics channel, and then plays it via XBMC. I've asked and asked and asked on XBMC forum if there is anyway to pipe the output from one program direct into DVDPlayer, but no answer.

So, the only way that I can think of doing this is to write to a file, and then have XBMC read it after a suitable gap (default is 10 seconds).

The plugin is here http://code.google.com/p/bbcsports-addon...ip&can=2&q=

So, install, setup your proxy, your stream quality (start LOW and work up - if the playing overtakes the downloading, the player will fail), set up a directory that has plenty of GIGs free to act as a temporary staging post for the flv file, and give it a whirl.

Adobe HDS uses HTTP, so don't expect to be able to get anything over about 800kbit/s quality if you're through a proxy. I have tested it in Windows and Linux from outside the UK.

This has been a real pain to put together - porting the Adobe HDS from PHP to Python took an age.

I can't find any information that gives me a programme schedule to scrape for the 24 channels - I'm in Vancouver for this week on business, so unlikely to find ANY time to support/adapt/fault-find this plugin. Code is open; feel free to contribute/fix/adapt.
Reply
#37
@dlake02
not working outside UK
tried http proxy or https proxy
Reply
#38
Lightbulb 
@BlueCop

i have reversed this Akamai SecureHD scheme few months ago. somebody recently asked about the same site in this thread. check last few posts. if you are interested i can send you my reversing details to bypass this scheme.
Reply
#39
OK - found problems....
Working on fixing it now - gimme a bit - need it working in time for TeamGB/UAE !
Reply
#40
@_KSV_

1) THANK YOU ! for the AdobeHDS.php script. I've converted this to Python and that forms the basis of my XBMC addon.

2) The BBC Olympics streams don't appear to be encrypted. I'm watching them fine without your original AdobeHDS.php and my Python port.
Reply
#41
(2012-07-29, 19:53)dlake02 Wrote: 2) The BBC Olympics streams don't appear to be encrypted. I'm watching them fine without your original AdobeHDS.php and my Python port.

i am not sure i understood you correctly but BBC streams are not encrypted and AdobeHDS script doesn't support encrypted streams anyway.
Reply
#42
Give this a go...

http://code.google.com/p/bbcsports-addon...ip&can=2&q=
Reply
#43
@ _KSV_

I was just saying THANK YOU to you and agreeing that the Olympics streams aren't encrypted.

But mostly THANK YOU !!!!
Reply
#44
The plugin doesn't appear to work in the US.
Reply
#45
(2012-07-29, 20:43)dlake02 Wrote: Give this a go...

http://code.google.com/p/bbcsports-addon...ip&can=2&q=

i am assuming this is only for the UK as this dosent work with unblockus either
Reply
  • 1
  • 2
  • 3(current)
  • 4
  • 5
  • 8

Logout Mark Read Team Forum Stats Members Help
[REQUEST] 2012 London Olympics 0