Hi Alex,
I didn't see your post until now. Sorry about that. Very interesting what you are saying here. I have been testing on the latest nightliy of Gotham 13.0 beta1, and the issue is still the same.
The thing is that the stream URL that you added is just a "demo-stream", available to everyone just to test the service. It is not authenticated. This stream allways worked with XBMC, vlc and other apps.
The problem is when starting to use the authenticated channels. (We change the &u=user1 parameter to our own user\password). Then they won't run. Not even in VLC
untill we change the http-user-agent.
At the bottom are the debug results while testing an authenticated channel in XBMC, with and without user-agent string (None of them work, but there are differences in the log).
Can you explain a bit more regarding the last part, creating a script that will authenticate the stream url and pass the correct one to xbmc? Got an example?
Without "|User-Agent=SomeValueHere":
Code:
INFO: XCURL::DllLibCurlGlobal::easy_aquire - Created session to http://185.20.36.232
ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
ERROR: XFILE::CFileCache::Open - failed to open source <http://185.20.36.232:8080/stream/.........>
ERROR: CDVDInputStreamPVRManager::Open - error opening [http://185.20.36.232:8080/stream/...........]
ERROR: CDVDPlayer::OpenInputStream - error opening [pvr://channels/tv/All TV channels/6.pvr]
NOTICE: CDVDPlayer::OnExit()
NOTICE: CDVDPlayer::OnExit() deleting input stream
With "|User-Agent=SomeValueHere" & without "&fw=true" parameter:
Code:
INFO: XCURL::DllLibCurlGlobal::easy_aquire - Created session to http://185.20.36.232
DEBUG: CDVDInputStreamPVRManager::Open - stream opened: http://185.20.36.232:8080/stream/........|User-agent=Mozilla
NOTICE: Creating Demuxer
NOTICE: Thread FileCache start, auto delete: false
INFO: CFileCache::Process - Hit eof.
DEBUG: ------ Window Init (DialogBusy.xml) ------
DEBUG: ffmpeg[EC8]: Format mpeg detected only with low score of 25, misdetection possible!
DEBUG: CDVDDemuxFFmpeg::Open - probing detected format [mpeg]
DEBUG: CDVDDemuxFFmpeg::Open - avformat_find_stream_info starting
ERROR: ffmpeg[EC8]: Truncating packet of size 276 to 40
DEBUG: ffmpeg[EC8]: [mpeg] probed stream 1 failed
DEBUG: ffmpeg[EC8]: [mpeg] parser not found for codec none, packets or times may be invalid.
ERROR: ffmpeg[EC8]: [mp2] Header missing
INFO: ffmpeg[EC8]: [mpeg] decoding for stream 0 failed
DEBUG: ffmpeg[EC8]: [mpeg] Could not find codec parameters for stream 0 (Audio: mp2, 0 channels, s16p): unspecified frame size
DEBUG: ffmpeg[EC8]: [mpeg] Consider increasing the value for the 'analyzeduration' and 'probesize' options
DEBUG: ffmpeg[EC8]: [mpeg] Could not find codec parameters for stream 1 (Video: none): unspecified size
DEBUG: ffmpeg[EC8]: [mpeg] Consider increasing the value for the 'analyzeduration' and 'probesize' options
ERROR: ffmpeg[EC8]: Truncating packet of size 276 to 40
WARNING: could not find codec parameters for pvr://channels/tv/All TV channels/6.pvr
ERROR: CDVDDemuxFFmpeg::Open - error probing input format, pvr://channels/tv/All TV channels/6.pvr
ERROR: Previous line repeats 8 times.
ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
NOTICE: CDVDPlayer::OnExit()
NOTICE: CDVDPlayer::OnExit() deleting input stream