{Windows} Getting ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
#1
I'm not sure if this is a bug or not, but I've done a lot of searching and haven't found much on it.

Running Vista Business with MP1.1.3 and XBMC-PVR-e7ba398-dx using and HDHomerun.

Had trouble at first with MP having a black screen. Updated ffdshow to the latest and it works. Installed the MP plugin for XBMC and it seems to be connecting okay. But when I try to launch live TV, I get this:

23:39:05 T:3888 M:2476736512 DEBUG: Error, could not open file rtsp://Media/stream2.0
23:39:05 T:3888 M:2476736512 ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer

I have found a couple things in threads. One says that ffdshow could be the problem and one says that there should be an @ in the address, so instead of rtsp://Media/stream2.0 I should show rtsp://@Media/stream2.0. I don't know where to change this to test it. I'm pasting the log in case somebody has seen this or in case it might be a bug. Thanks.

23:34:03 T:3888 M:2476285952 DEBUG: PVRManager - PVR::CPVRManager::OpenLiveStream - opening live stream on channel 'KFOR-DT'
23:34:03 T:4016 M:2476269568 DEBUG: ------ Window Init (DialogBusy.xml) ------
23:34:03 T:3888 M:2476154880 DEBUG: XFILE::CPVRFile::Open - TV Channel has started on filename pvr://channels/tv/All TV channels/12.pvr
23:34:03 T:3888 M:2476142592 DEBUG: AddOnLog: MediaPortal PVR Client (ffmpeg): ->GetLiveStreamURL(12)
23:34:05 T:3888 M:2475732992 INFO: AddOnLog: MediaPortal PVR Client (ffmpeg): Sending channel stream URL 'rtsp://Media/stream2.0' to XBMC for playback
23:34:05 T:3888 M:2475724800 NOTICE: Creating Demuxer
23:34:05 T:3888 M:2475692032 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avutil-50.dll)
23:34:05 T:3888 M:2475618304 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avcore-0.dll)
23:34:05 T:3888 M:2475532288 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avcodec-52.dll)
23:34:05 T:3888 M:2472398848 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avformat-52.dll)
23:34:26 T:3288 M:2467106816 DEBUG: Thread Jobworker 3288 terminating (autodelete)
23:34:26 T:4016 M:2466603008 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib.dll)
23:34:27 T:2160 M:2470850560 DEBUG: Thread Jobworker 2160 terminating (autodelete)
23:34:27 T:4016 M:2470277120 INFO: XCURL:Big GrinllLibCurlGlobal::CheckIdle - Closing session to http://feeds.feedburner.com (easy=00905A60, multi=0091AB58)
23:34:27 T:4016 M:2470268928 INFO: XCURL:Big GrinllLibCurlGlobal::CheckIdle - Closing session to http://xoap.weather.com (easy=0091AF50, multi=009236B8)
23:34:35 T:3888 M:2469208064 DEBUG: Error, could not open file rtsp://Media/stream2.0
23:34:57 T:4016 M:2471268352 DEBUG: SECTION:UnloadDll(special://xbmcbin/system/libcurl.dll)
23:35:05 T:3888 M:2472300544 DEBUG: Error, could not open file rtsp://Media/stream2.0
23:38:56 T:832 M:2476605440 DEBUG: Previous line repeats 7 times.
23:38:56 T:832 M:2476605440 NOTICE: EpgContainer - EPG::CEpgContainer::UpdateEPG - starting EPG update for 37 tables (update time = 7200)
23:38:56 T:3812 M:2475704320 DEBUG: Thread CRemoteControl 3812 terminating
23:38:58 T:832 M:2476351488 INFO: EpgContainer - EPG::CEpgContainer::UpdateEPG - finished updating 37 EPG tables after 1.913 seconds
23:38:58 T:832 M:2476343296 DEBUG: CGUIWindowPVRGuide - PVR::CGUIWindowPVRGuide::UpdateEpgCache - updating EPG cache
23:38:58 T:3416 M:2476339200 DEBUG: Thread CJobWorker start, auto delete: 1
23:38:58 T:3416 M:2476335104 DEBUG: CPVRTimers - PVR::CPVRTimers::ExecuteUpdate - updating timers
23:39:05 T:3888 M:2476736512 DEBUG: Error, could not open file rtsp://Media/stream2.0
23:39:05 T:3888 M:2476736512 ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
23:39:05 T:3888 M:2476736512 NOTICE: CDVDPlayer::OnExit()
23:39:05 T:3888 M:2476736512 NOTICE: CDVDPlayer::OnExit() deleting input stream
23:39:05 T:3888 M:2477490176 DEBUG: PVR - PVR::CPVRManager::SaveCurrentChannelSettings - no custom channel settings for channel 'KFOR-DT'
23:39:06 T:3888 M:2484441088 INFO: AddOnLog: MediaPortal PVR Client (ffmpeg): CloseLiveStream: True
23:39:06 T:3888 M:2484441088 DEBUG: Thread CDVDPlayer 3888 terminating
23:39:06 T:4016 M:2484506624 DEBUG: CAnnouncementManager - Announcement: PlaybackStopped from xbmc
23:39:06 T:4016 M:2484506624 DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message PlaybackStopped
23:39:06 T:4016 M:2484494336 INFO: Loading skin file: DialogOK.xml
23:39:06 T:4016 M:2484490240 DEBUG: ------ Window Init (DialogOK.xml) ------
23:39:06 T:4016 M:2484486144 NOTICE: CDVDPlayer::CloseFile()
23:39:06 T:4016 M:2484486144 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
23:39:06 T:4016 M:2484486144 NOTICE: DVDPlayer: waiting for threads to exit
23:39:06 T:4016 M:2484486144 NOTICE: DVDPlayer: finished waiting
23:39:06 T:4016 M:2485661696 DEBUG: ------ Window Deinit (DialogBusy.xml) ------
23:39:28 T:3416 M:2482491392 DEBUG: Thread Jobworker 3416 terminating (autodelete)
23:39:35 T:4016 M:2482331648 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/avutil-50.dll)
23:39:36 T:4016 M:2482401280 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/avcore-0.dll)
23:39:36 T:4016 M:2482360320 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/avcodec-52.dll)
23:39:37 T:4016 M:2482401280 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/avformat-52.dll)
23:39:44 T:4016 M:2485972992 DEBUG: ------ Window Deinit (DialogOK.xml) ------
23:39:46 T:4016 M:2485972992 DEBUG: SDLKeyboard: scancode: 91, sym: 311, unicode: 0, modifier: 10
23:39:46 T:4016 M:2485972992 DEBUG: CApplication::OnKey: win-512 (10f200) pressed, action is
23:39:46 T:4016 M:2485964800 DEBUG: CWinEventsWin32::WndProcWindow is active
Reply
#2
The problem here is probably that XBMC's ffmpeg library doesn't resolve the "Media" part in the 'rtsp://Media/stream2.0' URL into an IP address.

Its not a bug in XBMC or the Mediaportal addon but a missing/broken feature of the ffmpeg library for rtsp urls.

Enabling the PVR addon setting "Convert hostname to IP-address" should fix this. If not, open the "MediaPortal TV Server Configuration" and change the streaming server IP-address from "(auto)" to the IP address of your network adapter.

It works only with a rtsp://x.x.x.x/steamx.0 url (where x.x.x.x is the IP address of the rtsp server (TVServer machine).

I don't know how it works together with a HDhomerun. Is "Media" in the URL the hostname of your TVServer or the HDHomerun device?
Developer of the MediaPortal PVR addon and retired developer of the Argus-TV PVR-addon.
http://www.scintilla.utwente.nl/~marcelg/xbmc
Reply
#3
Yes, you were right on the problem. Changing the setting fixed it and TV is working now. Thanks so much. And yes, the "media" is the hostname of the server box. Thanks again.

Edit: Now the log is filling up with this after half an hour or an hour while watching live tv. ffdshow again?
18:54:54 T:1520 M:2314362880 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet
18:55:02 T:804 M:2314166272 NOTICE: EpgContainer - EPG::CEpgContainer::UpdateEPG - starting EPG update for 37 tables (update time = 7200)
18:57:38 T:1520 M:2309300224 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet
19:00:04 T:804 M:2310492160 ERROR: Previous line repeats 2 times.
19:00:04 T:804 M:2310492160 NOTICE: EpgContainer - EPG::CEpgContainer::UpdateEPG - starting EPG update for 37 tables (update time = 7200)
19:02:05 T:1520 M:2314121216 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet
19:04:15 T:1520 M:2315943936 ERROR: Previous line repeats 10 times.
19:04:15 T:1520 M:2315943936 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:04:15 T:1520 M:2316832768 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet
19:04:16 T:1520 M:2316021760 ERROR: Previous line repeats 2 times.
19:04:16 T:1520 M:2316021760 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:04:17 T:1520 M:2315849728 WARNING: Previous line repeats 4 times.
19:04:17 T:1520 M:2315849728 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet
19:04:17 T:1520 M:2315399168 ERROR: Previous line repeats 1 times.
19:04:17 T:1520 M:2315399168 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:05:07 T:804 M:2311647232 WARNING: Previous line repeats 134 times.
19:05:07 T:804 M:2311647232 NOTICE: EpgContainer - EPG::CEpgContainer::UpdateEPG - starting EPG update for 37 tables (update time = 7200)
19:05:07 T:1520 M:2311270400 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:07:50 T:1520 M:2314878976 WARNING: Previous line repeats 456 times.
19:07:50 T:1520 M:2314878976 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet
19:07:50 T:1520 M:2314878976 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:07:52 T:1520 M:2315444224 WARNING: Previous line repeats 4 times.
19:07:52 T:1520 M:2315444224 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet
19:07:52 T:1520 M:2315444224 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:07:52 T:1520 M:2315014144 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet
19:07:52 T:1520 M:2315014144 ERROR: Previous line repeats 1 times.
19:07:52 T:1520 M:2315014144 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:08:22 T:1520 M:2314715136 WARNING: Previous line repeats 82 times.
19:08:22 T:1520 M:2314715136 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet
19:08:22 T:1520 M:2314715136 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:08:22 T:1520 M:2314235904 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet
19:08:22 T:1520 M:2314235904 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:08:48 T:1520 M:2315280384 WARNING: Previous line repeats 65 times.
19:08:48 T:1520 M:2315280384 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet
19:08:48 T:1520 M:2315280384 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:08:50 T:1904 M:2315534336 WARNING: Previous line repeats 4 times.
19:08:50 T:1904 M:2315534336 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
19:08:51 T:1520 M:2314166272 WARNING: Previous line repeats 1 times.
19:08:51 T:1520 M:2314166272 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet
19:08:59 T:1520 M:2311114752 ERROR: Previous line repeats 2 times.
19:08:59 T:1520 M:2311114752 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:09:00 T:1520 M:2311208960 WARNING: Previous line repeats 1 times.
19:09:00 T:1520 M:2311208960 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet
19:09:00 T:1520 M:2311180288 ERROR: Previous line repeats 1 times.
19:09:00 T:1520 M:2311180288 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:09:03 T:1520 M:2305036288 WARNING: Previous line repeats 6 times.
19:09:03 T:1520 M:2305036288 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet
19:09:03 T:1520 M:2305036288 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:09:07 T:1520 M:2304872448 WARNING: Previous line repeats 13 times.
19:09:07 T:1520 M:2304872448 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet
19:09:07 T:1520 M:2304671744 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:09:23 T:1520 M:2298257408 WARNING: Previous line repeats 62 times.
19:09:23 T:1520 M:2298257408 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet
19:09:23 T:1520 M:2297634816 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
19:09:24 T:1520 M:2297544704 WARNING: Previous line repeats 2 times.
19:09:24 T:1520 M:2297544704 ERROR: CDVDPlayerAudio::DecodeFrame - Decode Error. Skipping audio packet
19:09:24 T:1520 M:2297266176 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
Reply
#4
do you hear stuttering audio?
if not, ignore it. if you do, you could change the buffer "fullness" via advancedsettings for pvr streams, but changing channels will be slower.
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply
#5
Yes, the audio stutters or even repeats. I will change that setting and see how that works when I get home from work. I'm just happy my xbmc is one step closer to doing everything.
Reply

Logout Mark Read Team Forum Stats Members Help
{Windows} Getting ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer0