OpenDemuxStream - Error creating demuxer
#1
Hi,

I'm trying to watch some video stream with IPTV Simple client or the addon playlist loader, the urls are working fine on vlc but not on Kodi (Kodi on OsX and OpenElec/Kodi on Raspberry Pi2):

Quote:NOTICE: Creating InputStream
14:19:49 T:4437553152 DEBUG: PVRManager - OpenLiveStream - opening live stream on channel '1 HD'
14:19:49 T:4437553152 DEBUG: opening live stream on url 'http://someurl:56088/live/test1/test1/1.ts'
14:19:49 T:4437553152 DEBUG: CPVRChannelGroup - Persist - persisting channel group 'All channels' with 138 channels
14:19:49 T:4437553152 DEBUG: PVRFile - Open - playback has started on filename pvr://channels/tv/All channels/0.pvr
14:19:49 T:4437553152 INFO: easy_aquire - Created session to http://someurl
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - TEXT: About to connect() to someurl port 56088 (#0)
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - TEXT: Trying someurl...
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - TEXT: connected
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - TEXT: Connected to someurl (someurl) port 56088 (#0)
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - HEADER_OUT: HEAD /live/test1/test1/1.ts HTTP/1.1
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - HEADER_OUT: User-Agent: Kodi/14.2 (Macintosh; Intel Mac OS X 10_10_2) App_Bitness/64 Version/14.2-Git:2015-03-26-7cc53a9-dirty
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - HEADER_OUT: Host: someurl:56088
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - HEADER_OUT: Accept: */*
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - HEADER_OUT: Accept-Charset: UTF-8,*;q=0.8
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - HEADER_IN: HTTP/1.1 200 OK
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - HEADER_IN: Server: nginx
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - HEADER_IN: Date: Wed, 01 Jul 2015 12:19:52 GMT
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - HEADER_IN: Content-Type: text/html; charset=UTF-8
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - HEADER_IN: Connection: keep-alive
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - HEADER_IN: X-Powered-By: PHP/5.6.3
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - TEXT: no chunk, no close, no size. Assume close to signal end
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - TEXT: Closing connection #0
14:19:49 T:4437553152 DEBUG: CCurlFile::GetMimeType - http://someurl:56088/live/test1/test1/1.ts -> x-directory/normal
14:19:49 T:4437553152 DEBUG: CFileCache::Open - opening <live/test1/test1/1.ts> using cache
14:19:49 T:4437553152 DEBUG: CurlFile::Open(0x10f18e140) http://someurl:56088/live/test1/test1/1.ts
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - TEXT: About to connect() to someurl port 56088 (#0)
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - TEXT: Trying someurl...
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - TEXT: Connected to someurl (someurl) port 56088 (#0)
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - HEADER_OUT: GET /live/test1/test1/1.ts HTTP/1.1
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - HEADER_OUT: Range: bytes=0-
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - HEADER_OUT: User-Agent: Kodi/14.2 (Macintosh; Intel Mac OS X 10_10_2) App_Bitness/64 Version/14.2-Git:2015-03-26-7cc53a9-dirty
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - HEADER_OUT: Host: someurl:56088
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - HEADER_OUT: Accept: */*
14:19:49 T:4437553152 DEBUG: Curl:Big Grinebug - HEADER_OUT: Accept-Charset: UTF-8,*;q=0.8
14:19:50 T:4437553152 DEBUG: Curl:Big Grinebug - HEADER_IN: HTTP/1.1 200 OK
14:19:50 T:4437553152 DEBUG: Curl:Big Grinebug - HEADER_IN: Server: nginx
14:19:50 T:4437553152 DEBUG: Curl:Big Grinebug - HEADER_IN: Date: Wed, 01 Jul 2015 12:19:52 GMT
14:19:50 T:4437553152 DEBUG: Curl:Big Grinebug - HEADER_IN: Content-Type: text/html; charset=UTF-8
14:19:50 T:4437553152 DEBUG: Curl:Big Grinebug - HEADER_IN: Connection: close
14:19:50 T:4437553152 DEBUG: Curl:Big Grinebug - HEADER_IN: X-Powered-By: PHP/5.6.3
14:19:50 T:4437553152 DEBUG: Curl:Big Grinebug - TEXT: Closing connection #0
14:19:50 T:4538765312 NOTICE: Thread FileCache start, auto delete: false
14:19:50 T:4437553152 DEBUG: CDVDInputStreamPVRManager::Open - stream opened: http://someurl:56088/live/test1/test1/1.ts
14:19:50 T:4538765312 INFO: CFileCache:Tonguerocess - Hit eof.
14:19:50 T:4437553152 NOTICE: Creating Demuxer
14:19:50 T:4437553152 ERROR: Open - error probing input format, pvr://channels/tv/All channels/0.pvr
14:19:50 T:4437553152 ERROR: Previous line repeats 9 times.
14:19:50 T:4437553152 ERROR: OpenDemuxStream - Error creating demuxer
14:19:50 T:4437553152 NOTICE: CDVDPlayer::OnExit()
14:19:50 T:4538765312 DEBUG: Thread FileCache 4538765312 terminating
14:19:50 T:4437553152 DEBUG: CPVRChannelGroup - Persist - persisting channel group 'All channels' with 138 channels
14:19:50 T:4437553152 DEBUG: CDVDInputStreamPVRManager::Close - stream closed
14:19:50 T:4437553152 DEBUG: OnPlayBackStopped: play state was 1, starting 1
14:19:50 T:4437553152 DEBUG: Thread DVDPlayer 4437553152 terminating

Any help?
Thanks
Reply
#2
Can you save a sample and play it locally as a file?
Reply
#3
Hi,

if i use: "ffmpeg -i http://someurl:56088/live/test1/test1/1.ts -f mp4 output.mp4" on my local machine (osx), i can play the output file in kodi without problem (on osx or openelec).

If i start ffmpeg with the same instruction on openelec it stops with an error about mp4:

Quote:[NULL @ 0x1464330] Requested output format 'mp4' is not a suitable output format
output.mp4: Invalid argument

I can also stream the original ts url from vlc to kodi and it works, but i want to watch live tv directly in kodi!
Thanks
Reply
#4
The server responds with an incorrect MIME type, that could be a potential issue. Can you try adding the stream URL to a text file named e.g. "stream.strm" and then play that file locally in Kodi?
Reply
#5
Same result: OpenDemuxStream - Error creating demuxer
Reply
#6
In that case, open a ticket on trac.kodi.tv, select "Video playback - blablabla" as category and attach the sample file.
Reply
#7
Forgot to mention that if you don't want to expose the actual URL to the stream, try grabbing a sample of it with wget.
Reply
#8
Hi,
Thanks, I just tried to use tvheadend and the stream of the url/channel runs smoothly. (but adding 150 channels to tvheadend takes too long...) strange...
Reply
#9
It's indeed a pain to add channels manually. It would still be great if you could file that bug report.
Reply
#10
http://trac.kodi.tv/ticket/16097#ticket
Reply
#11
add this in the link '?rebase=on'
e.g :
url= 'https://xyz-abc.m3u8?sd=10&rebase=on'
Reply

Logout Mark Read Team Forum Stats Members Help
OpenDemuxStream - Error creating demuxer0