Ubuntu + XBMC PVR + MediaPortal TvServer

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
margro Offline
Fan
Posts: 530
Joined: Oct 2009
Reputation: 16
Location: The Netherlands
Post: #11
A quick reply to let you know that I'm working on this issue. Unfortunately, the logs do not help me. The addon is sending rtsp URL to XBMC and XBMC uses the ffmpeg libraries to play the stream. Everything seems ok until the actual playback within ffmpeg.

@bonzy: try to enable the "resolvertsphostname" setting. From your log, I see that the rtsp url contains a hostname instead of an IP-address. Hostname resolving for rtsp urls does not work for me, so that could be the problem in your case.

@Tjalfe: the problem in your case (from your log file):
21:30:38 T:2867477360 M:1149014016 ERROR: AddOnLog: xbmc.pvrclient/MediaPortal PVR Client: Could not stream channel 4. [ERROR]: TVServer answer: AllCardsBusy||
So, the TV Server is unable to tune and stream the selected channel. Check the MediaPortal TV Server logs for further details.

Developer of the MediaPortal PVR addon and the Argus-TV PVR-addon. Unofficial XBMC Windows builds with PVR (Dharma, Eden and Frodo).
http://www.scintilla.utwente.nl/~marcelg/xbmc
find quote
Bonzi Offline
Junior Member
Posts: 29
Joined: Feb 2011
Reputation: 0
Post: #12
Hi Margro, thanks. I changed that setting but it didn't fix it. Thanks for your and others work on this. Let me know if there is anything that I can do to help that would be more useful than the logs. I can also test whenever/whatever you need.
find quote
volvobob Offline
Junior Member
Posts: 8
Joined: Jan 2011
Reputation: 0
Post: #13
Hi Margro, Thanks for looking at this,

One thing worth adding :
With the mediaportal pvr add on enabled and when it sucessfully gets the EPG, XBMC hangs on exit and needs to be killed

If the add on is disabled this does not occur,
If the EPG fails to get e.g server is down, no network then this does not occur.
find quote
alturismo Offline
Junior Member
Posts: 25
Joined: Jul 2009
Reputation: 0
Location: Kaiserslautern, Germany
Post: #14
Hi,

i also have the issue when i startup a channel i get the error "cannot be played"

While checking on the server i see channel is running (ts file) and also switching
channels working, roughly they not played back on xbmc client.

wanted to test the linux setup cause now i use MP overall, switching to XBMC
would be nice ...

windows builds working fine btw, but deinterlacing not, so i started testing linux build

installed ubuntu 10.10, xbmc odenkamp via apt-get ...

running fine so far, channels, epg all there, just stream seems to be problematic ..

anyone got this working yet ?

also can confirm that quitting xbmc stalls completely ... have to power off hard and reboot

Edit: Tested now with ubunto 10.04 instead 10.10, same result

some debug output wich may helps

08:01:11 T:3078887280 M:1895735296 DEBUG: new file set audiostream:0
08:01:11 T:3078887280 M:1895735296 DEBUG: CPlayerCoreFactory::GetPlayers(pvr://channels/tv/all/235.pvr)
08:01:11 T:3078887280 M:1895735296 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: system rules
08:01:11 T:3078887280 M:1895735296 DEBUG: CPlayerSelectionRule::GetPlayers: matches rule: system rules
08:01:11 T:3078887280 M:1895735296 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtv
08:01:11 T:3078887280 M:1895735296 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: hdhomerun/myth/rtmp/mms/udp
08:01:11 T:3078887280 M:1895735296 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: lastfm/shout
08:01:11 T:3078887280 M:1895735296 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: rtsp
08:01:11 T:3078887280 M:1895735296 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: streams
08:01:11 T:3078887280 M:1895735296 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvd
08:01:11 T:3078887280 M:1895735296 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdfile
08:01:11 T:3078887280 M:1895735296 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: dvdimage
08:01:11 T:3078887280 M:1895735296 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: sdp/asf
08:01:11 T:3078887280 M:1895735296 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: nsv
08:01:11 T:3078887280 M:1895735296 DEBUG: CPlayerSelectionRule::GetPlayers: considering rule: radio
08:01:11 T:3078887280 M:1895735296 DEBUG: CPlayerCoreFactory::GetPlayers: matched 0 rules with players
08:01:11 T:3078887280 M:1895735296 DEBUG: CPlayerCoreFactory::GetPlayers: adding videodefaultplayer (1)
08:01:11 T:3078887280 M:1895735296 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=0
08:01:11 T:3078887280 M:1895735296 DEBUG: CPlayerCoreFactory::GetPlayers: for video=1, audio=1
08:01:11 T:3078887280 M:1895735296 DEBUG: CPlayerCoreFactory::GetPlayers: adding player: DVDPlayer (1)
08:01:11 T:3078887280 M:1895735296 DEBUG: CPlayerCoreFactory::GetPlayers: added 1 players
08:01:11 T:3078887280 M:1894592512 NOTICE: DVDPlayer: Opening: pvr://channels/tv/all/235.pvr
08:01:11 T:3078887280 M:1894592512 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
08:01:11 T:2778389360 M:1894592512 DEBUG: thread start, auto delete: 0
08:01:11 T:2778389360 M:1894592512 NOTICE: Creating InputStream
08:01:11 T:2778389360 M:1894592512 DEBUG: Open - TV Channel has started on filename pvr://channels/tv/all/235.pvr
08:01:11 T:2778389360 M:1894592512 DEBUG: AddOnLog: xbmc.pvrclient/MediaPortal PVR Client: ->GetLiveStreamURL(114)
08:01:11 T:3078887280 M:1894592512 DEBUG: ------ Window Init (DialogBusy.xml) ------
08:01:11 T:3078887280 M:1894592512 INFO: Loading skin file: DialogBusy.xml
08:01:11 T:3078887280 M:1894592512 DEBUG: Load DialogBusy.xml: 31.38ms
08:01:11 T:3078887280 M:1894592512 DEBUG: Alloc resources: 31.95ms (31.94 ms skin load)
08:01:12 T:2778389360 M:1894510592 INFO: AddOnLog: xbmc.pvrclient/MediaPortal PVR Client: Channel stream URL: rtsp://192.168.1.2/stream2.0
08:01:12 T:2778389360 M:1894510592 NOTICE: Creating Demuxer
08:01:12 T:2778389360 M:1894510592 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avutil-50-i486-linux.so)
08:01:12 T:2778389360 M:1894510592 DEBUG: Loading: /usr/lib/xbmc/system/players/dvdplayer/avutil-50-i486-linux.so
08:01:12 T:2778389360 M:1894383616 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avcodec-52-i486-linux.so)
08:01:12 T:2778389360 M:1894383616 DEBUG: Loading: /usr/lib/xbmc/system/players/dvdplayer/avcodec-52-i486-linux.so
08:01:12 T:2778389360 M:1890865152 DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avformat-52-i486-linux.so)
08:01:12 T:2778389360 M:1890865152 DEBUG: Loading: /usr/lib/xbmc/system/players/dvdplayer/avformat-52-i486-linux.so
08:01:12 T:2778389360 M:1890357248 ERROR: Open - error reading from input stream, pvr://channels/tv/all/235.pvr
08:01:14 T:2778389360 M:1890201600 ERROR: Previous line repeats 9 times.
08:01:14 T:2778389360 M:1890201600 ERROR: OpenDemuxStream - Error creating demuxer
08:01:14 T:2778389360 M:1890201600 NOTICE: CDVDPlayer::OnExit()
08:01:14 T:2778389360 M:1890201600 NOTICE: CDVDPlayer::OnExit() deleting input stream
08:01:14 T:2778389360 M:1890201600 DEBUG: Thread 2778389360 terminating
08:01:14 T:3078887280 M:1890201600 DEBUG: CAnnouncementManager - Announcement: PlaybackStopped from xbmc

Last Entry when trying to quit xbmc

08:01:53 T:3078887280 M:1888976896 DEBUG: OnKey: 61477 pressed, action is Left
08:01:53 T:3078887280 M:1888976896 DEBUG: ExecuteXBMCAction : Translating SetFocus(9000)
08:01:53 T:3078887280 M:1888976896 DEBUG: ExecuteXBMCAction : To SetFocus(9000)
08:01:53 T:3078887280 M:1888976896 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/avcodec-52-i486-linux.so)
08:01:53 T:3078887280 M:1888976896 DEBUG: Unloading: avcodec-52-i486-linux.so
08:01:54 T:3078887280 M:1888841728 DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/avformat-52-i486-linux.so)
08:01:54 T:3078887280 M:1888841728 DEBUG: Unloading: avformat-52-i486-linux.so
08:01:54 T:3078887280 M:1893031936 DEBUG: SDLKeyboard: scancode: 113, sym: 276, unicode: 0, modifier: 0
08:01:54 T:307888728

and there it stalls completely

may that helps a bit what is wrong
(This post was last modified: 2011-02-24 09:20 by alturismo.)
find quote
alturismo Offline
Junior Member
Posts: 25
Joined: Jul 2009
Reputation: 0
Location: Kaiserslautern, Germany
Post: #15
Hi, may i ask if theres another dist from xbmc-pvr to give a try ?

or is the current status only windows version working as pvr frontend with MP backend ?

would really like to see how the linux version runs cause testing my sample ts files running supersmooth ...

thanks ahead for an hint
find quote
rubrix Offline
Junior Member
Posts: 1
Joined: May 2010
Reputation: 0
Post: #16
Hi alturismo

I´ve the same problem under OSX and the Log look like yours.

(with ubuntu :Same , but in Win it works fine)
find quote
alturismo Offline
Junior Member
Posts: 25
Joined: Jul 2009
Reputation: 0
Location: Kaiserslautern, Germany
Post: #17
yeah, but win deinterlacing with dxva is not working Sad

i tested some sample files in linux sdtv, hdtv 1080i and all played very nice 50fps
with vdapu enabled ... so my hope is that this would be a nice combo Wink

so lets see what time will bring Wink
find quote
volvobob Offline
Junior Member
Posts: 8
Joined: Jan 2011
Reputation: 0
Post: #18
Margro, Thanks for the latest build, updated today and all is working, Is there any way to set the tv channel order to that in Media portal ?
find quote
alturismo Offline
Junior Member
Posts: 25
Joined: Jul 2009
Reputation: 0
Location: Kaiserslautern, Germany
Post: #19
Hi, also can confirm that it works so far, problems with deinterlacing and
bad pic quality on live tv but this seems to be hardware related.
(ion2 no proper drivers i guess, SDTV 50fps but still not smooth, HDTV 720p 50fps jerky, HDTV 1080i 25fps jerky)

thanks for the update
find quote
Djang Offline
Junior Member
Posts: 5
Joined: Mar 2011
Reputation: 0
Post: #20
I have a strange problem:

Last week I installed the opdenkamp version on a XBMCfreak Lucid live version.
TV worked great with streaming and everything. Only yesterday I did a reinstall of the system and now streaming doesn't work and gives me an error.
Te Windows versions still works so I'm really confused.

I have a pasted log, so I hope anyone can help me.

http://paste.ubuntu.com/586764/
find quote