[PATCH] BBC iPlayer HQ streams patch for XBMC + slightly modified iPlayer plugin - Printable Version
+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (/forumdisplay.php?fid=93)
+--- Thread: [PATCH] BBC iPlayer HQ streams patch for XBMC + slightly modified iPlayer plugin (/showthread.php?tid=42027)
[PATCH] BBC iPlayer HQ streams patch for XBMC + slightly modified iPlayer plugin - motd2k - 2008-12-12 23:21
I've modified rtmp.cpp to enable me to open BBC iPlayer's High Quality MP4 streams, i've authenticated, and the server has initiated stream playback, however i'm dropping out with this...
It would appear that ffmpeg is choking on the audio, anyone have any suggestions?
- frosty - 2008-12-14 17:26
Great work, I'd be interested in your changes as I couldn't get a connection when I tried something similar a while ago. If you've had no joy with playback yet, and can drop me a diff I'll probably have time over xmas to have a look myself.
A suggestion could be to dump everything returned from CDVDInputStreamRTMP::Read to file, as it should be a valid FLV video file. That can be examined in your favourite player or checked manually against the flash spec (which, thank god, is properly documented unlike rtmp). Version 9 here: http://www.adobe.com/devnet/flv/pdf/video_file_format_spec_v9.pdf
- motd2k - 2008-12-15 14:27
I dumped this file as suggested, and initially had problems opening it in any external application - vlc, mplayerc etc. After installing the latest CCCP beta (http://www.cccp-project.net/beta/), it will now open in Media Player Classic.... which detects the following...
Video: MPEG4 Video (H264) 640x368 [Video]
Audio: AAC 44100Hz stereo [Audio]
It would therefore seem that its certainly an ffmpeg issue. I'm using AreaScout's branch, and so my dvdplayer is actually using a fairly recent FFmpeg. I guess i'll seek help on their boards.
[PATCH] BBC iPlayer HQ streams patch for XBMC + slightly modified iPlayer plugin - motd2k - 2009-01-07 17:24
Giving this its own thread.
Here's a patch for XBMC to allow the high quality h264 streams to be opened. It is EXTREMELY hacky, and it's the same as it's been for the last 3 weeks due to various issues.
Really needs an flv guru to have a look over it, the rtmp timestamps that the BBC sends are bizarre - they seem to cycle over a sequence of the same numbers (48, 46, 45, 42, 38, . . .) and seem to have no real meaning. I've tried alsorts with them, does anyone know where to regenerate these from? I *think* that this is the reason for the framerate and sync issues on the video. I've taken a look over the FLV file specification and its got no real mention of it, however if I convert this file into MP4 it plays perfectly.
If you're not really sure whether you can help with the framerate stuff then to be honest i'd not bother downloading this particular release yet.
Slightly modified Plugin is here... http://mail.overplayx.com/iplayer-h264plugin.zip
- pt-1 - 2009-01-08 11:12
a good option would be to automatically disable stack if any of these Plugins are called (BBc iPlayer & ITV) as you are not able to play the streams if activated.
I tried your modified Plugin last night quickly on a 30.12.08 T3ch (Xbox Hardware) build and it did not play any streams (stack disabled) with any of the players.
I will upload a log file over the weekend
- motd2k - 2009-01-08 19:52
Yes, I'm pretty sure it's not at all usable in its current state, you should however get *something* to see (i.e. perfect audio but video with sync issues) Uncertain why you're not... perhaps try SVN version 16937 (which this was diffed against).
Anyway... the point of this is mostly to ask for assistance with FLV's containing h.264. I'm well aware that its a bad idea, and that f4v should be used for this purpose, however!
- Gamester17 - 2009-01-09 02:53
Please submit as a new ticket to trac: