Kodi Community Forum

Full Version: [REQUEST] BBC iPlayer (Video) Plugin or Script?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Quote:having a few issues with the current script ... but did manage to discover that live streaming is currently not possible.

I'm not sure exactly what the issue is (it's something for frosty or an RTMP dev), but it's not something that the plugin can fix.

I've had a quick look at the live stream for BBC News, and the flash iplayer appears to connect and start playback in a different way. This isn't currently available in the XBMC RTMP code, so I doubt it'd work without changes there.

Gory technical details: The BBC player
* connects to an app named 'live' instead of 'ondemand' (eg. live?_fcs_vhost=cp52113.live.edgefcs.net&auth=daEdbaHbJapcgc4b6cGaAbKdecQdVa9avaR-bjkcGh-cCp-CnoEFnBpLDtFvyE&aifp=v001&[email protected])
* sends an 'FCSubscribe' apparently to check if the stream is live/available
* receives an 'onFCSubscribe' from the server including some data I guess we might need
* sends 'play' for the stream, including the auth param (eg. [email protected]?auth=daEdbaHbJapcgc4b6cGaAbKdecQdVa9avaR-bjkcGh-cCp-CnoEFnBpLDtFvyE&aifp=v001)
At the risk of diluting the thread, can I just say thanks for all the work on this. It flat out rocks, and has made me very happy to have this back working in Atlantis. Keep on truckin' guys.
frosty Wrote:I've had a quick look at the live stream for BBC News, and the flash iplayer appears to connect and start playback in a different way. This isn't currently available in the XBMC RTMP code, so I doubt it'd work without changes there.

Gory technical details: The BBC player
* connects to an app named 'live' instead of 'ondemand' (eg. live?_fcs_vhost=cp52113.live.edgefcs.net&auth=daEdbaHbJapcgc4b6cGaAbKdecQdVa9avaR-bjkcGh-cCp-CnoEFnBpLDtFvyE&aifp=v001&[email protected])
* sends an 'FCSubscribe' apparently to check if the stream is live/available
* receives an 'onFCSubscribe' from the server including some data I guess we might need
* sends 'play' for the stream, including the auth param (eg. [email protected]?auth=daEdbaHbJapcgc4b6cGaAbKdecQdVa9avaR-bjkcGh-cCp-CnoEFnBpLDtFvyE&aifp=v001)

It might be worth looking at this plugin http://code.google.com/p/voinage-xbmc-pl...r&can=2&q=

This does successfully play live ITV streams (on a Mac at least) and I think it uses rtmp+flash like the Beeb streams. There maybe some clues in this plugin that will help despite their being different broadcasters. Maybe the author Voinage whom I have seen post here previously will be listening and have a look at this.

Ironically, while the above ITV plugin above does work on a Mac for playing live streams, none of the catchup streams work on a Mac. This is exactly the opposite of the iPlayer plugin where all the catchup streams work (except the Radio ones) but as per this discussion the live TV streams do not.
Quote:It might be worth looking at this plugin http://code.google.com/p/voinage-xbm...8.rar&can=2&q=
This does successfully play live ITV streams (on a Mac at least) and I think it uses rtmp+flash like the Beeb streams.

I don't think ITV uses flash or rtmp for video. Visiting http://www.itv.com with windows/firefox gave me:
* ITV live streams from an URL like mms://itvbrdbnd-itv1.wm.llnwd.net/itvbrdbnd_itv1?e=1227577639&h=3a5f5596fecd8380e5a7ed13c4ac2ef6 encoded in wmv/wma. The data was coming from port 80, and I didn't recognise the protocol, so I don't know if it's delivered using mms/rtsp/http ...?
* ITV catchup programmes were from an URL like http://87.248.210.108/a1379/o21/ucontent...WMExt=.asf again encoded in wmv/wma. The data was coming from port 80, so I assume is *is* using HTTP but I'm not certain
frosty Wrote:I don't think ITV uses flash or rtmp for video. Visiting www.itv.com with windows/firefox gave me:
* ITV live streams from an URL like mms://itvbrdbnd-itv1.wm.llnwd.net/itvbrdbnd_itv1?e=1227577639&h=3a5f5596fecd8380e5a7ed13c4ac2ef6 encoded in wmv/wma. The data was coming from port 80, and I didn't recognise the protocol, so I don't know if it's delivered using mms/rtsp/http ...?
* ITV catchup programmes were from an URL like http://87.248.210.108/a1379/o21/ucontent...WMExt=.asf again encoded in wmv/wma. The data was coming from port 80, so I assume is *is* using HTTP but I'm not certain


The trick seems to be (which vlc can go) is take
http://87.248.210.108/a1379/o21/ucontent/2008/11/25/31248_384_1_1.wmv?MSWMExt=.asf
fetch the redirect

[Reference]
Ref1=http://87.248.210.108/a1379/o21/ucontent/2008/11/25/31248_384_1_1.wmv?MSWMExt=.asf
Ref2=http://87.248.210.108:80/a1379/o21/ucontent/2008/11/25/31248_384_1_1.wmv?MSWMExt=.asf

and determine the real address (replace http with mms)
mms://87.248.210.108/a1379/o21/ucontent/2008/11/25/31248_384_1_1.wmv?MSWMExt=.asf
dink Wrote:The trick seems to be (which vlc can go) is take
http://87.248.210.108/a1379/o21/ucontent/2008/11/25/31248_384_1_1.wmv?MSWMExt=.asf
fetch the redirect

[Reference]
Ref1=http://87.248.210.108/a1379/o21/ucontent/2008/11/25/31248_384_1_1.wmv?MSWMExt=.asf
Ref2=http://87.248.210.108:80/a1379/o21/ucontent/2008/11/25/31248_384_1_1.wmv?MSWMExt=.asf

and determine the real address (replace http with mms)
mms://87.248.210.108/a1379/o21/ucontent/2008/11/25/31248_384_1_1.wmv?MSWMExt=.asf

My mistake. MMS and ASF are Microsoft standards. While the ITV web-page comes up telling you to get SilverLight, MMS predates SilverLight and does still play in 'other' software. As this is totally different to how the BBC are doing live streams (via Flash) it is not going to help.
I installed the latest XBMC on my XBOX, then downloaded and installed the Iplayer plugin as per the instructions. I can browse and play radio stations but I do not see any videos Sad

I can browse to the list of TV channels, click on say BBC1, the display shows it is retrieving items but stays at 0.

Is anyone watching video with the latest plug in?
Are you inside or outside the UK ?
Is this now working in the latest version os XBMC for the xboxHuh

If so is it a case of installing the latest SVN version of XBMC and then the plugin from the google coode place?

Been trying to keep track of the thread but been away for a bit and not sure quite where things are now.
Valve90210 Wrote:Is this now working in the latest version os XBMC for the xboxHuh

If so is it a case of installing the latest SVN version of XBMC and then the plugin from the google coode place?

Been trying to keep track of the thread but been away for a bit and not sure quite where things are now.

Latest T3ch includes most of the Patches. Download iPlayer Plugin fro Johnsto's Page and install it in the Plugin Video Folder.

One little hickup is reported to sometimes crash after playing back a stream
The trick is to stop playback before it's completely buffered, so like 1 minute before the end of the show. Any later and there's no response.
NEUR0M4NCER Wrote:The trick is to stop playback before it's completely buffered, so like 1 minute before the end of the show. Any later and there's no response.

I have fixed this issue i merged frosty's patch to the xbox only thing is you need to be able to compile your own XBMC as its not yet in the Xbox svn or any svn for that matter lol also here is a better Default.png for the plugin looks alot better.

<commercial crap removed>

you can get the files here.
Hmmmmm... not being daft... but what do I actually do with the text files... Big Grin

Good work thou fella!!!
You place them in here
Code:
XBMC-SVN\xbmc\lib\libRTMP
but first rename the two original files also once you have built your XBMC put the originals back and keep the new ones safe for now till there put in the svn.
Rocky5 Wrote:I have fixed this issue i merged frosty's patch to the xbox only thing is you need to be able to compile your own XBMC as its not yet in the Xbox svn or any svn for that matter lol also here is a better Default.png for the plugin looks alot better.

you can get the files here.

Is that fix just for Xbox or does it work for Windows version too?

Also...is there a guide for how to compile around?