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.
Someone have a quiet word with Aunty Beeb, help them continue to be the number 1 uk supplier of downloadable TV. I really hope they've not messed with the encryption. The interface and functionality of this script is soooo sweet and would complement my XBMC, might even get my parents to try it out on theirs. Anyone got any suggestions?
Sorry, this might be the wrong topic but I've been redirected here.

You guys seem to be able to download videos from the bbc site? There's a few shows where I'd like to keep the little videos but I don't know how to do it. Tried a few sniffers and capture apps but none of them have worked. Can someone please give me a noob tutorial on how to capture bbc video please?

Thanks.
Well this would have been an excellent way of doing it. But the files that you get down aren't standard media files. I believe there is some form of encryption on them. XMBC will not play them, if you upload the file back to a PC Windows Media Player classic with MEGA CODEC PACK won't play them either so some sort of modification to these files will be required. Not sure if they contain DRM or not, I'm not a video expert. Did you mean capturing via XBMC for XBox, Windows or Linux?
Yep, you're all right, the script is pretty useless now!

More information on what has changed:
http://beebhack.wikia.com/wiki/Beebhack#..._June_2008
(I'm sure it'll be updated with more info in time.)
Yep, bit of a shame that.

We really need someone with knowledge of DRM to take a look at these files. I've never touched DRM, but I assumed it was Fairplay. I don't know what version Fairplay is on or whether there's a crack for it currently.

Touche to the iPlayer developers, I have to say! Tongue

A bit sad that they bothered implementing this though.
Is there no way round this? can the required player be added to XBMC? not my subject sorry for all the questions....

Its a dam shame... I was just getting into iPlayer to Sad
Geeba Wrote:Is there no way round this? can the required player be added to XBMC? not my subject sorry for all the questions....

Its a dam shame... I was just getting into iPlayer to Sad

I don't know much about this kind of hting myself - but with the beeb committed to as many plastforms as possible we should hopefully see some new potential avenues for us open up as future services are started Wink
Anything can be hacked around with the right tools and information Smile It's only been a few hours since this change happened though, which is why there are no widely-known workarounds yet.

The BBC are clearly trying to make these things more open (see their Backstage list for examples of this), this is really just another bump I think Smile
The Sandman Wrote:Well this would have been an excellent way of doing it. But the files that you get down aren't standard media files. I believe there is some form of encryption on them. XBMC will not play them, if you upload the file back to a PC Windows Media Player classic with MEGA CODEC PACK won't play them either so some sort of modification to these files will be required. Not sure if they contain DRM or not, I'm not a video expert. Did you mean capturing via XBMC for XBox, Windows or Linux?

Any way around really. Wouldn't mind using the Xbox or linux if it wasn't too hard (I've got linux mint but never use it) Smile Apparently iShowU for mac can capture the BBC videos if that's any help to getting this solved for Xbox? I dunno, but I just there was an app for XP that could do it.
johnsto Wrote:It's only been a few hours since this change happened though, which is why there are no widely-known workarounds yet.

Well, the last little bump was that trivial HTTP header change which we found a work around for in a couple of hours. This is different.

If it IS Fairplay, it can be stripped off but you still need to be able to play it at some point so that the decryption key is in memory. If this can only be played on iPhone then that's another hurdle.

Frankly, video downloaded by the old P2P iPlayer is easier to de-DRM than this, potentially.

I don't think it's very likely that there's going to be a quick script fix to this, unless they managed to leave a hole like the iTMS one that DVD Jon found, where they only applied DRM after purchase.

I would REALLY like to see a packet dump from an iPhone browsing the site again though, just to see.
OK i have a Ipod Touch though am not sure how to save or sniff packages though i did get the info of the Cookie.plist and history.plist

Cookie.plist
Code:
    <dict>
        <key>Created</key>
        <real>233102834.72940701</real>
        <key>Domain</key>
        <string>.bbc.co.uk</string>
        <key>Expires</key>
        <date>2009-05-21T22:43:19Z</date>
        <key>Name</key>
        <string>BBC-UID</string>
        <key>Path</key>
        <string>/</string>
        <key>Value</key>
        <string>64982354ea5538779ce9d11e51377cad14ef02f9c0a02146a35575fb962b3a100Mozilla%2f5%2e0%20%28iPod%3b%20U%3b%20CPU%20like%20Mac%20OS%20X%3b%20en%29%20AppleWebKit%2f420%2e1%20%28KHTML%2c%20like%20Gecko%29%20Version%2f3%2e0%20Mobile%2f4A102%20Safari%2f419%2e3</string>
    </dict>

History.plist
Code:
            <key></key>
            <string>http://www.bbc.co.uk/iplayer/page/item/b00c191w.shtml?filter=category%3AletterD&amp;start=1&amp;scope=iplayercategories&amp;version_pid=b00c13lh</string>
            <key>lastVisitedDate</key>
            <string>234606278.1</string>
            <key>title</key>
            <string>BBC iPlayer - Doctor Who: Series 4</string>
            <key>visitCount</key>
            <integer>1</integer>
        </dict>

the thing i don't get is this is the only way BBC.co.uk/iplayer web site can save info as safari cant write to any other files. so if this is any help then goo d if not then damn hope you guys fix it soon.
Rocky5: Could be useful.

OK, we potentially have a fix: http://beebhack.wikia.com/wiki/Beebhack#..._June_2008

Basically there's a whole bunch of XORing going on in that file. I've written code that can supposedly convert it back to normal video again but it's very slow and I haven't let it run its course on a sample video yet. I'm really looking for a way in which the decrypt can be done a lot quicker.

As for how this affects this project I think the only workable solution is that there is a proxy machine spoofing the iPhone request, reading bytes in and XORing the required ones, outputting them into the stream for XBMC to play.
OK, we're good to go. A working decoder: http://linuxcentre.net/iplayer_decode
And a fantastic full featured browser/downloader/decoder: http://linuxcentre.net/get_iplayer

I don't see why this couldn't be incorporated into the script. It's going to add another delay between selecting and downloading though.
Try the latest SVN version of the script. Probably won't work, haven't tested it. Likely to take forever to decode on an XBOX anyway!
I downloaded from here: http://code.google.com/p/xbmc-iplayer/

At present quite slow download from the BBC website. I am trying to get 64 Zoo Lane. Cannot test to play it as I have to shoot of to work....