[REQUEST] BBC iPlayer (Video) Plugin or Script? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154) +---- Thread: [REQUEST] BBC iPlayer (Video) Plugin or Script? (/showthread.php?tid=27063) |
- paperclipmonkey - 2008-01-01 It seems like we have a lot of information to work with now that We have an experimental LibCurl over http and we have Gnash that has support for it. It might be a challenge, but not too difficult, to merge xbmc version of Curl with the modified one, then try and implement the protocol not over http by using Gnash as a reference. Anyone else think this is possible? I don't see any other way of doing it at present. - cubicgarden - 2008-01-01 Sounds like a plan... - Strawp - 2008-01-01 We just need one of the XBMC team to say they'll do it. - elupus - 2008-01-01 i'm more then happy to add support for RTMP in xbmc, but i've got no time nor interest (well mainly interest), to write a rtmp protocol client myself. i've not yet looked at gnash, but if the RTMP client part is reasonbly clean, maybe it isn't too hard to create a seperate library from it. - paperclipmonkey - 2008-01-01 That's brilliant elupus! It would bring XBMC right up to the bleeding edge as a media center and maybe get some mythtv fans interested in switching (or checking out the linux port). Thanks Very Much Keep us posted - C-Quel - 2008-01-01 ahhh Eastenders on demand on the XBOX id never get the bloody girlfriend of my trusty black box - Strawp - 2008-01-01 That would be fantastic - I think it would open up XBMC to scripting from other media sources too. - Strawp - 2008-01-02 elupus Wrote:i'm more then happy to add support for RTMP in xbmc, but i've got no time nor interest (well mainly interest), to write a rtmp protocol client myself. i've not yet looked at gnash, but if the RTMP client part is reasonbly clean, maybe it isn't too hard to create a seperate library from it. Elupus: Just had a quick read of the source on Gnash - it's surprisingly brief (in libamf) http://cvs.savannah.gnu.org/viewvc/gnash/libamf/?root=gnash I hope you can get it in there! I've been looking around and I think taking RTMP support from Gnash is the only likely solution. There's the RTMPy project as well, but not only is that in Python, it doesn't look like it's working yet either. - Strawp - 2008-01-02 Sorry for spamming the thread, people! Phil: You know we had the odd missing pages earlier? Well If you look on the HTML of the actual page the player is embedded on, you might find different versions of the same content. I'm looking at: http://www.bbc.co.uk/iplayer/page/item/b008mfcn.shtml and there is javascript in there which adds an array of version info: Code: <script type="text/javascript"> If you try to request the mediaselector info for the same ID of that page, you get an error. If you go through the next ID down though, you can see it. - Strawp - 2008-01-02 OK, here's my quick-n-dirty script which takes a programme ID or iPlayer page and works out the RTMP stream URL from it. Designed to be run from the command line, first argument is your programme URL: Code: #!/usr/bin/php I'll port that to Python and get it running on XBMC once I know I can play the URL that comes out the other end. I have nothing which can play or record RTMP (under linux) right now so I don't know if the URLs will just work. I'll dust off my XP machine tomorrow and give Orbit or similar a run in the OS it was designed for - Gamester17 - 2008-01-02 Strawp Wrote:Elupus: Just had a quick read of the source on Gnash - it's surprisingly brief (in libamf) http://cvs.savannah.gnu.org/viewvc/gnash/libamf/?root=gnashAgain, I'm not a programmer myself but I noticed that as well http://www.gnu.org/software/gnash/manual/doxygen/rtmp_8h-source.html http://www.gnu.org/software/gnash/manual/doxygen/libamf_2rtmp_8cpp.html http://www.gnu.org/software/gnash/manual/doxygen/doc_2rtmp_8cpp.html http://wiki.gnashdev.org/wiki/index.php/RTMP/AMF/SOL http://osflash.org/documentation/rtmp The questions left then is how and where in XBMC it should be implemented? ...assuming that XBMC's own DVDPlayer video-playback core will be the prefered player for RTMP streams then should the RTMP client code from Gnash be implemented for it via libcurl, or as a new separate library (IE. "libamf" or "librtmp"), or should it just be directly implemented into FFmpeg?, ...or is there a other alternative way? I believe that there are advantages and advantages with each. IMHO to directly implemented that code or library into FFmpeg is probably the best choose, however if we then like to submit a such patch upstream (to try to hand over maintenance of that client to the FFmpeg project) know that the FFmpeg developers are kind of strict on what they will implement, it has to be really clean and module code. - PhilWilson - 2008-01-04 Strawp - excellent work. I absolutely hadn't noticed the multiple PIDs in the actual page. Assuming your code works, this should give us a reliable method of actually determining the stream URL for download using whatever. Ace. - cubicgarden - 2008-01-04 I wanted to just add what I wrote to the backstage list recently. The last part should be of interest to you guys working on the XBMC & Wii living near London. Quote:Just in case anyone missed it, there's a bunch of developers trying to bring BBC iPlayer content to the Xbox1 and Wii. The main thread can be found here - http://forum.xbmc.org/showthread.php?tid=27063 - Strawp - 2008-01-04 PhilWilson Wrote:Strawp - excellent work. I absolutely hadn't noticed the multiple PIDs in the actual page. Assuming your code works, this should give us a reliable method of actually determining the stream URL for download using whatever. Ace. Still haven't booted up my XP box and tested if the URLs it produces actually work. The multiple PID thing is something about signed and unsigned versions of the same programme. I don't know what significance this is (cubicgarden, you must know what this is?) but I think new programmes first appear as unsigned and then a little while later the signed one appears, which is why when you came back to your notes it appeared to be wrong. Does one of the people with a high post count here know who'd do a good job getting the GUI in XBMC for this? For me the fun part was taking the player apart and seeing how it works. cubicgarden: I'd love an excuse to have a meeting with the Beeb tech guys. No idea what I could tell them that they don't already know though. IMO the best thing that the Beeb could do right now is to create an open source RTMP library and submit it back the mplayer project so an open source iplayer could be created. I bet they've heard this multiple times from plenty of different groups though. - Gamester17 - 2008-01-04 Strawp Wrote:Does one of the people with a high post count here know who'd do a good job getting the GUI in XBMC for this?Maybe Nuka1195 or Blittan would volunteer if a few other guys (like yourselves) helped activly. Best is probably if you try asking them directly. Strawp Wrote:IMO the best thing that the Beeb could do right now is to create an open source RTMP library and submit it back the mplayer project so an open source iplayer could be created....or simpler and more likely just switch over to using FLV over HTTP (instead of RTMP), or even better standard MPEG-4 ASP (H.263) or MPEG-4 AVC (H.264) over HTTP, ...or even DivX (DivX, Inc.) if they want a commercial solution, as they are still so much more open source friendly than Adobe. |