2010-12-30, 19:02
I've installed xbmc today and I've been playing around writing a new plugin for the live streaming site (wilmaa.ch). Their streams (depending on which one) are accessed either using rtmpdump which works fine or HTTP which doesn't.
I created a really simple test plugin to demonstrate the issue:
The URL is fine, if I load it in mplayer from the terminal it displays perfectly (within less than a second) but in xbmc it loads for around 10 seconds and then gets a curl timeout. This stream will only work in Switzerland btw, geolocked.
I've googled everywhere and I can't think why this could be, any ideas?
xbmc.log:
(ignore my music collection!)
I created a really simple test plugin to demonstrate the issue:
Code:
import xbmc, xbmcgui
url = ("http://gartenhof.live1-f.akamaihd.net/rtl_1_800@43050")
item = xbmcgui.ListItem("RTL")
print xbmc.Player(xbmc.PLAYER_CORE_DVDPLAYER).play(url, item)
The URL is fine, if I load it in mplayer from the terminal it displays perfectly (within less than a second) but in xbmc it loads for around 10 seconds and then gets a curl timeout. This stream will only work in Switzerland btw, geolocked.
Code:
16:35:36 T:3036167024 M:1142681600 WARNING: FillBuffer: curl failed with code 28
16:35:36 T:3036167024 M:1142681600 ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
16:35:36 T:3036167024 M:1142681600 ERROR: Process, error 0 seeking. seek returned -1
16:35:36 T:2790910832 M:1142681600 DEBUG: ffmpeg[A659EB70]: [flv] Estimating duration from bitrate, this may be inaccurate
16:35:36 T:2790910832 M:1142681600 WARNING: could not find codec parameters for http://gartenhof.live1-f.akamaihd.net/rtl_1_800@43050
I've googled everywhere and I can't think why this could be, any ideas?
xbmc.log:
Code:
http://pastebin.com/8Yttjzrj