Windows MediaPortal TV-Server and XBMC-PVR?
#1
Question 
I have installed MediaPortal TV-Server 1.1.3, scanned and found channels with my DVB-C and DVB-T (Analog/Digital) cards.
Then I installed XBMC-PVR-e7ba398-dx.exe. From http://xbmc.opdenkamp.eu/

However I'm unable to get it working from XBMC Live TV, or dont know how to do it.

I've tried to find how to set this up correctly but with no bigger luck.

Any help is greatly appreciated. Nod
Reply
#2
the binary is a bit outdated. I'll update it.

you could try margro's builds for mediaportal. since he's maintaining the mediaportal add-on, his builds should work.
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
#3
You have to instal the plugin inside mps tvserver, so that xbmc can talk to the backend.
http://www.scintilla.utwente.nl/~marcelg/xbmc/

Go there, read up. Also use margros 10.1 release it's 10 times more stable than the build u downloaded. Download media portal 1.2.0 beta! Things are working great since I installed 1.2.0b .
Reply
#4
dushmaniac Wrote:the binary is a bit outdated. I'll update it.

you could try margro's builds for mediaportal. since he's maintaining the mediaportal add-on, his builds should work.

Ah of course, thanks a lot.

loggio Wrote:You have to instal the plugin inside mps tvserver, so that xbmc can talk to the backend.
http://www.scintilla.utwente.nl/~marcelg/xbmc/

Go there, read up. Also use margros 10.1 release it's 10 times more stable than the build u downloaded. Download media portal 1.2.0 beta! Things are working great since I installed 1.2.0b .

Thanks!! will read it.
It was probably the pluging for MP-tv-server that I was missing.
Reply
#5
Question 
I have got it working, except I get no sound for the channels in XBMC, but I do get sound in the MediaPortal client. Any ideas? :confused2:

I've tried both ffdshow and TSreader.
Reply
#6
Change audio output in xbmc to analogue and see what happens. Xbmc's mpeg2 dxva ecoding isn't the best... I've got issues with unrendered footage on a particular channel that nobody seems to know anything about, but the problem is in xbmc when dxva is enabled. So try disabling dxva and see what happens also.

With these problems present, and lack of deinterlacing for dxva... It is a pretty major upset... Considering almost every other 3rd party media player plays these files back just fine.

Hopefully all this is fixed soon.
Reply
#7
njumlin Wrote:I have got it working, except I get no sound for the channels in XBMC, but I do get sound in the MediaPortal client. Any ideas? :confused2:
Which XBMC build are you using on which operating system?

Sounds like XBMC (ffmpeg lib) detects no or more than 1 audio stream.
For multiple audio streams, try to select one of the other audio streams (full screen -> Open "audio settings" dialog).

If that does not help, enable debug logging and check the xbmc.log file for the ffmpeg lines that describe the stream contents.

Example:
Code:
[size=x-small]19:59:53 T:5512 M:3748356096   DEBUG: CDVDDemuxFFmpeg::Open - av_find_stream_info finished
19:59:53 T:5512 M:3748356096    INFO: ffmpeg[1588]: Input #0, mpegts, from 'pvr://channels/tv/All TV channels/1.pvr':
19:59:53 T:5512 M:3748356096    INFO: ffmpeg[1588]:   Duration: N/A, start: 0.076133, bitrate: 15160 kb/s
19:59:53 T:5512 M:3748356096    INFO: ffmpeg[1588]:   Program 137
19:59:53 T:5512 M:3748356096    INFO: ffmpeg[1588]:     Stream #0.0[0x30]: Video: mpeg2video, yuv420p, 704x576 [PAR 16:11 DAR 16:9], 15000 kb/s, 500 fps, 25 tbr, 90k tbn, 50 tbc
19:59:53 T:5512 M:3748347904    INFO: ffmpeg[1588]:     Stream #0.1[0x40]: Audio: mp2, 48000 Hz, 2 channels, s16, 160 kb/s
19:59:53 T:5512 M:3748347904    INFO: ffmpeg[1588]:     Stream #0.2[0x61](dut): Subtitle: [6][0][0][0] / 0x0006[/size]

As you can see, this example has one video stream, one audio stream and 1 teletext stream (wrongly called Subtitle by ffmpeg).

I would like to know the output in your case.
Developer of the MediaPortal PVR addon and retired developer of the Argus-TV PVR-addon.
http://www.scintilla.utwente.nl/~marcelg/xbmc
Reply
#8
loggio Wrote:Change audio output in xbmc to analogue and see what happens. Xbmc's mpeg2 dxva ecoding isn't the best... I've got issues with unrendered footage on a particular channel that nobody seems to know anything about, but the problem is in xbmc when dxva is enabled. So try disabling dxva and see what happens also.

With these problems present, and lack of deinterlacing for dxva... It is a pretty major upset... Considering almost every other 3rd party media player plays these files back just fine.

Hopefully all this is fixed soon.

I've tried chaning output to analog and all other outputs available, still no go.

How do I disable dxva?

margro Wrote:Which XBMC build are you using on which operating system?

The one from scintilla.
Latest build

Update: 10-03-2011: Prebuild Windows setup of XBMC Dharma 10.1 + PVR (github/margro PVR build).

http://www.scintilla.utwente.nl/~marcelg...build.html

margro Wrote:Sounds like XBMC (ffmpeg lib) detects no or more than 1 audio stream.
For multiple audio streams, try to select one of the other audio streams (full screen -> Open "audio settings" dialog).

I've tried switching from Optical/Digital to Analog.

margro Wrote:If that does not help, enable debug logging and check the xbmc.log file for the ffmpeg lines that describe the stream contents.

Example:
Code:
[size=x-small]19:59:53 T:5512 M:3748356096   DEBUG: CDVDDemuxFFmpeg::Open - av_find_stream_info finished
19:59:53 T:5512 M:3748356096    INFO: ffmpeg[1588]: Input #0, mpegts, from 'pvr://channels/tv/All TV channels/1.pvr':
19:59:53 T:5512 M:3748356096    INFO: ffmpeg[1588]:   Duration: N/A, start: 0.076133, bitrate: 15160 kb/s
19:59:53 T:5512 M:3748356096    INFO: ffmpeg[1588]:   Program 137
19:59:53 T:5512 M:3748356096    INFO: ffmpeg[1588]:     Stream #0.0[0x30]: Video: mpeg2video, yuv420p, 704x576 [PAR 16:11 DAR 16:9], 15000 kb/s, 500 fps, 25 tbr, 90k tbn, 50 tbc
19:59:53 T:5512 M:3748347904    INFO: ffmpeg[1588]:     Stream #0.1[0x40]: Audio: mp2, 48000 Hz, 2 channels, s16, 160 kb/s
19:59:53 T:5512 M:3748347904    INFO: ffmpeg[1588]:     Stream #0.2[0x61](dut): Subtitle: [6][0][0][0] / 0x0006[/size]

As you can see, this example has one video stream, one audio stream and 1 teletext stream (wrongly called Subtitle by ffmpeg).

I would like to know the output in your case.

Here is my full log, it seems to only detect one audio output.

Full log:
http://pastebin.com/mY09hhmM

Code:
21:10:08 T:4648 M:2520969216  NOTICE: Creating Demuxer
21:10:08 T:4648 M:2520268800   DEBUG: CDVDDemuxFFmpeg::Open - av_find_stream_info starting
21:10:08 T:4648 M:2519322624   ERROR: ffmpeg[1228]: [mp2] Header missing
21:10:08 T:4648 M:2519355392   ERROR: ffmpeg[1228]: [mpeg2video] mpeg_decode_postinit() failure
21:10:09 T:4648 M:2518925312   ERROR: Previous line repeats 10 times.
21:10:09 T:4648 M:2518925312   DEBUG: CDVDDemuxFFmpeg::Open - av_find_stream_info finished
21:10:09 T:4648 M:2518925312    INFO: ffmpeg[1228]: Input #0, rtsp, from 'rtsp://192.168.7.4/stream4.0':
21:10:09 T:4648 M:2518925312    INFO: ffmpeg[1228]:   Metadata:
21:10:09 T:4648 M:2518925312    INFO: ffmpeg[1228]:     title           : Session streamed by "MediaPortal Tv Server v1.2 Beta 1"
21:10:09 T:4648 M:2518925312    INFO: ffmpeg[1228]:     comment         : stream4.0
21:10:09 T:4648 M:2518925312    INFO: ffmpeg[1228]:   Duration: 00:00:00.18, start: 37.666567, bitrate: N/A
21:10:09 T:4648 M:2518925312    INFO: ffmpeg[1228]:   Program 1
21:10:09 T:4648 M:2518925312    INFO: ffmpeg[1228]:     Stream #0.0: Video: mpeg2video, yuv420p, 720x576 [PAR 16:15 DAR 4:3], 6553 kb/s, 59.94 fps, 29.97 tbr, 90k tbn, 59.94 tbc
21:10:09 T:4648 M:2518925312    INFO: ffmpeg[1228]:   No Program
21:10:09 T:4648 M:2518925312    INFO: ffmpeg[1228]:     Stream #0.1: Audio: mp2, 48000 Hz, 2 channels, s16, 224 kb/s
21:10:09 T:4648 M:2518925312  NOTICE: Opening video stream: 0 source: 256
21:10:09 T:4648 M:2518925312  NOTICE: Creating video codec with codec id: 2
21:10:09 T:4648 M:2518925312   DEBUG: CDVDFactoryCodec: compiled in hardware support: CrystalHD:yes DXVA:yes
21:10:09 T:4648 M:2518925312   DEBUG: FactoryCodec - Video:  - Opening
21:10:09 T:4648 M:2518925312  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-2 video
21:10:09 T:4648 M:2518855680   DEBUG: FactoryCodec - Video: ff-mpeg2video - Opened
21:10:09 T:4648 M:2518855680  NOTICE: Creating video thread
Reply
#9
Okay, now i see the cause of the audio problem here...
The video stream is inside the program section and the audio stream is outside the program section, therefore XBMC ignores the audio stream.
Its a bug inside the transport stream itself or XBMC's ffmpeg library fails/forgets to add the audio stream into the program section.

If this strange stream detection is still true for the newer ffmpeg library inside the XBMC master branch, a workaround would be to try audio streams outside the program section if XBMC cannot find one inside...
Developer of the MediaPortal PVR addon and retired developer of the Argus-TV PVR-addon.
http://www.scintilla.utwente.nl/~marcelg/xbmc
Reply
#10
margro Wrote:Okay, now i see the cause of the audio problem here...
The video stream is inside the program section and the audio stream is outside the program section, therefore XBMC ignores the audio stream.
Its a bug inside the transport stream itself or XBMC's ffmpeg library fails/forgets to add the audio stream into the program section.

If this strange stream detection is still true for the newer ffmpeg library inside the XBMC master branch, a workaround would be to try audio streams outside the program section if XBMC cannot find one inside...

Thanks a lot for clearing it up for me! Saved me from reinstalling all codecs which I originally thought was the culprit.

So basically what you are saying is that I'll have to wait for an updated release of XBMC with PVR-support? (or learn how to code it myself Laugh)
Reply

Logout Mark Read Team Forum Stats Members Help
Windows MediaPortal TV-Server and XBMC-PVR?0