[raspberry] No way to watch TV on Kodi installed on raspbian (FIXED)
#1
Hello,

This thread follows the previous one: http://forum.kodi.tv/showthread.php?tid=288752. I took a step. But I still can not watch TV. The configuration is always the same. As a reminder, it is:

SERVER
* Windows 7
* Media portal 1.15.0

CLIENT 1
* Windows 10
* Kodi 16.1 (Apr 24 2016)
* MediaPortal PVRClient 1.13.6

CLIENT 2
* Raspberry PI 3
* Rasbian jessie (kernel linux 4.4.13-v7+)
* Kodi 16.1 (Apr 24 2016)
* MediaPortal PVRClient 1.12.0

On client 1, everything is OK, I can see the TV on Kodi.
Contrary to my first post, the list of channels is synchronized with the TV Server and the EPG is OK. But I can not see any channel.

I try all parameters but without success. Here is a list of all parameters with the associated errors observed in log file.

1 - With ffmpeg, I see nothing and i've got this kind of error in log file "ERROR: OpenDemuxStream - Error creating demuxer"
Code:
21:29:03 292.119843 T:1943994368  NOTICE: DVDPlayer: Opening: pvr://channels/tv/All channels/pvr.mediaportal.tvserver_22.pvr
21:29:03 292.120148 T:1943994368 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
21:29:03 292.121033 T:1744827312  NOTICE: Creating InputStream
21:29:03 292.153290 T:1744827312  NOTICE: AddOnLog: MediaPortal PVR Client: Open Live stream for channel uid=22
21:29:04 293.108185 T:1744827312  NOTICE: AddOnLog: MediaPortal PVR Client: Channel stream URL: rtsp://HTPC-PC/stream4.0
21:29:04 293.108337 T:1744827312  NOTICE: AddOnLog: MediaPortal PVR Client: OpenLiveStream: success for channel id 22 (TF1) on card 4
21:29:04 293.108429 T:1744827312  NOTICE: AddOnLog: MediaPortal PVR Client: GetLiveStreamURL for uid=22 is 'rtsp://HTPC-PC/stream4.0'
21:29:04 293.109070 T:1744827312  NOTICE: Creating Demuxer
21:29:04 293,555634 T:1744827312   ERROR: OpenDemuxStream - Error creating demuxer
21:29:04 293,555847 T:1744827312  NOTICE: CDVDPlayer::OnExit()
21:29:05 293,755249 T:1744827312  NOTICE: AddOnLog: MediaPortal PVR Client: CloseLiveStream: True
21:29:05 293,765503 T:1943994368  NOTICE: CDVDPlayer::CloseFile()
21:29:05 293,765686 T:1943994368  NOTICE: DVDPlayer: waiting for threads to exit
21:29:05 293,765747 T:1943994368  NOTICE: DVDPlayer: finished waiting
21:29:05 293,765839 T:1943994368  NOTICE: CDVDPlayer::CloseFile()
21:29:05 293,765930 T:1943994368  NOTICE: DVDPlayer: waiting for threads to exit
21:29:05 293,765991 T:1943994368  NOTICE: DVDPlayer: finished waiting
21:29:12 300,969421 T:1943994368  NOTICE: DVDPlayer: Opening: pvr://channels/tv/All channels/pvr.mediaportal.tvserver_1.pvr
21:29:12 300,969635 T:1943994368 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
21:29:12 300,970398 T:1744827312  NOTICE: Creating InputStream
21:29:12 301,000336 T:1744827312  NOTICE: AddOnLog: MediaPortal PVR Client: Open Live stream for channel uid=1
21:29:13 302,009644 T:1744827312  NOTICE: AddOnLog: MediaPortal PVR Client: Channel stream URL: rtsp://HTPC-PC/stream4.0
21:29:13 302,009827 T:1744827312  NOTICE: AddOnLog: MediaPortal PVR Client: OpenLiveStream: success for channel id 1 (France 2) on card 4
21:29:13 302,009918 T:1744827312  NOTICE: AddOnLog: MediaPortal PVR Client: GetLiveStreamURL for uid=1 is 'rtsp://HTPC-PC/stream4.0'
21:29:13 302,010620 T:1744827312  NOTICE: Creating Demuxer
21:29:13 302,349884 T:1744827312   ERROR: OpenDemuxStream - Error creating demuxer
21:29:13 302,350067 T:1744827312  NOTICE: CDVDPlayer::OnExit()
21:29:13 302,644287 T:1744827312  NOTICE: AddOnLog: MediaPortal PVR Client: CloseLiveStream: True

2 - With "TSReader - Use RTSP streaming=true", I've got a message that says "PVR Client has no RTSP support".
Code:
21:35:18  45,878040 T:1658844080  NOTICE: Start - EPG thread started
21:35:38  65,891205 T:1944363008  NOTICE: DVDPlayer: Opening: pvr://channels/tv/All channels/pvr.mediaportal.tvserver_22.pvr
21:35:38  65,891457 T:1944363008 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
21:35:38  65,892395 T:1667232688  NOTICE: Creating InputStream
21:35:38  65,899345 T:1667232688  NOTICE: AddOnLog: MediaPortal PVR Client: Open Live stream for channel uid=22
21:35:39  66,764503 T:1667232688  NOTICE: AddOnLog: MediaPortal PVR Client: Channel timeshift buffer: C:\ProgramData\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer\live4-0.ts.tsbuffer
21:35:39  66,764687 T:1667232688  NOTICE: AddOnLog: MediaPortal PVR Client: Creating a new TsReader...
21:35:39  66,765938 T:1667232688  NOTICE: AddOnLog: MediaPortal PVR Client: TsReader open 'rtsp://HTPC-PC/stream4.0'
21:35:39  66,766113 T:1667232688   ERROR: AddOnLog: MediaPortal PVR Client: Failed to open rtsp://HTPC-PC/stream4.0. PVR client is compiled without LIVE555 RTSP support.
21:35:39  66,766273 T:1667232688   ERROR: AddOnLog: MediaPortal PVR Client: Cannot open channel url rtsp://HTPC-PC/stream4.0
21:35:39  66,923447 T:1667232688  NOTICE: AddOnLog: MediaPortal PVR Client: CloseLiveStream: True

3- With "TSReader - Use RTSP streaming=false", there is a "popup" that displays a buffering percent and then it seems to play TV but nothing is displayed.
Code:
21:41:39  72,261742 T:1725592496  NOTICE: Start - EPG thread started
21:42:15 108,454842 T:1943785472  NOTICE: DVDPlayer: Opening: pvr://channels/tv/All channels/pvr.mediaportal.tvserver_22.pvr
21:42:15 108,455055 T:1943785472 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
21:42:15 108,456017 T:1658483632  NOTICE: Creating InputStream
21:42:15 108,467430 T:1658483632  NOTICE: AddOnLog: MediaPortal PVR Client: Open Live stream for channel uid=22
21:42:16 109,369110 T:1658483632  NOTICE: AddOnLog: MediaPortal PVR Client: Channel timeshift buffer: C:\ProgramData\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer\live4-0.ts.tsbuffer
21:42:16 109,369286 T:1658483632  NOTICE: AddOnLog: MediaPortal PVR Client: Creating a new TsReader...
21:42:16 109,370644 T:1658483632  NOTICE: AddOnLog: MediaPortal PVR Client: TsReader open 'C:\ProgramData\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer\live4-0.ts.tsbuffer'
21:42:16 109,371201 T:1658483632  NOTICE: AddOnLog: MediaPortal PVR Client: Translate path C:\ProgramData\Team MediaPortal\MediaPortal TV Server\timeshiftbuffer\live4-0.ts.tsbuffer -> smb://USER:PASSWORD@HTPC-PC/timeshift/live4-0.ts.tsbuffer
21:42:16 109,463326 T:1658483632  NOTICE: AddOnLog: MediaPortal PVR Client: OpenLiveStream: success for channel id 22 (TF1) on card 4
21:42:16 109,492798 T:1658483632  NOTICE: Creating Demuxer
21:42:16 109,502182 T:1658483632  NOTICE: Opening stream: 0 source: 256
21:42:16 109,515129 T:1658483632  NOTICE: Creating video codec with codec id: 28
21:42:16 109,521103 T:1658483632  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
21:42:16 109,548141 T:1658483632  NOTICE: Creating video thread
21:42:16 109,548515 T:1549788080  NOTICE: running thread: video_thread
21:42:16 109,548653 T:1658483632  NOTICE: Opening stream: 1 source: 256
21:42:16 109,548813 T:1658483632  NOTICE: Finding audio codec for: 86057
21:42:16 109,557648 T:1658483632  NOTICE: Creating audio thread
21:42:16 109,558167 T:1658483632  NOTICE: Opening stream: 4 source: 256
21:42:16 109,558289 T:1541399472  NOTICE: running thread: CDVDPlayerAudio::Process()
21:42:16 109,989868 T:1658483632  NOTICE: Opening stream: 0 source: 256
21:42:16 109,990318 T:1658483632  NOTICE: Creating video codec with codec id: 28
21:42:16 110,020370 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:16 110,029190 T:1658483632   ERROR: Previous line repeats 2 times.
21:42:16 110,029335 T:1658483632  NOTICE: Opening stream: 1 source: 256
21:42:16 110,029411 T:1658483632  NOTICE: Finding audio codec for: 86057
21:42:16 110,036835 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:16 110,046303 T:1541399472  NOTICE: Creating audio stream (codec id: 86057, channels: 2, sample rate: 48000, no pass-through)
21:42:16 110,047379 T:1541399472  NOTICE: CDVDPlayerAudio::OutputPacket duplicate 1 packets of duration 32
21:42:16 110,056595 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:17 110,550674 T:1541399472   ERROR: Previous line repeats 18 times.
21:42:17 110,550812 T:1541399472  NOTICE: CDVDPlayerAudio::OutputPacket duplicate 1 packets of duration 32
21:42:17 110,551773 T:1541399472  NOTICE: CDVDPlayerAudio::OutputPacket duplicate 3 packets of duration 32
21:42:17 110,554741 T:1541399472  NOTICE: Previous line repeats 1 times.
21:42:17 110,554863 T:1541399472  NOTICE: CDVDPlayerAudio::OutputPacket duplicate 1 packets of duration 32
21:42:17 110,566559 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:25 118,609016 T:1658483632   ERROR: Previous line repeats 398 times.
21:42:25 118,609222 T:1658483632   ERROR: CDVDMsgGeneralSynchronize - timeout
21:42:25 118,616638 T:1515729840   ERROR: Previous line repeats 1 times.
21:42:25 118,616714 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:25 118,709045 T:1658483632   ERROR: Previous line repeats 4 times.
21:42:25 118,709160 T:1658483632   ERROR: CDVDMsgGeneralSynchronize - timeout
21:42:25 118,716682 T:1515729840   ERROR: Previous line repeats 1 times.
21:42:25 118,716827 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:25 118,809204 T:1658483632   ERROR: Previous line repeats 4 times.
21:42:25 118,809341 T:1658483632   ERROR: CDVDMsgGeneralSynchronize - timeout
21:42:25 118,816612 T:1515729840   ERROR: Previous line repeats 1 times.
21:42:25 118,816681 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:25 118,909309 T:1658483632   ERROR: Previous line repeats 4 times.
21:42:25 118,909454 T:1658483632   ERROR: CDVDMsgGeneralSynchronize - timeout
21:42:25 118,916611 T:1515729840   ERROR: Previous line repeats 1 times.
21:42:25 118,916679 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:25 119,009438 T:1658483632   ERROR: Previous line repeats 4 times.
21:42:25 119,009590 T:1658483632   ERROR: CDVDMsgGeneralSynchronize - timeout
21:42:25 119,016640 T:1515729840   ERROR: Previous line repeats 1 times.
21:42:25 119,016716 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:25 119,109573 T:1658483632   ERROR: Previous line repeats 4 times.
21:42:25 119,109833 T:1658483632   ERROR: CDVDMsgGeneralSynchronize - timeout
21:42:25 119,116737 T:1515729840   ERROR: Previous line repeats 1 times.
21:42:25 119,116882 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:26 119,210701 T:1658483632   ERROR: Previous line repeats 4 times.
21:42:26 119,210846 T:1658483632   ERROR: CDVDMsgGeneralSynchronize - timeout
21:42:26 119,216606 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:26 119,216682 T:1541399472   ERROR: CDVDMsgGeneralSynchronize - timeout
21:42:26 119,236595 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:26 119,310890 T:1658483632   ERROR: Previous line repeats 3 times.
21:42:26 119,311035 T:1658483632   ERROR: CDVDMsgGeneralSynchronize - timeout
21:42:26 119,316605 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:26 119,316872 T:1541399472   ERROR: CDVDMsgGeneralSynchronize - timeout
21:42:26 119,336601 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:26 119,411079 T:1658483632   ERROR: Previous line repeats 3 times.
21:42:26 119,411224 T:1658483632   ERROR: CDVDMsgGeneralSynchronize - timeout
21:42:26 119,416626 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:26 119,417061 T:1541399472   ERROR: CDVDMsgGeneralSynchronize - timeout
21:42:26 119,436584 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:26 119,621025 T:1541399472   ERROR: Previous line repeats 8 times.
21:42:26 119,621269 T:1541399472   ERROR: CDVDMsgGeneralSynchronize - timeout
21:42:26 119,626968 T:1515729840   ERROR: Previous line repeats 1 times.
21:42:26 119,627197 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:26 119,721710 T:1541399472   ERROR: Previous line repeats 4 times.
21:42:26 119,721985 T:1541399472   ERROR: CDVDMsgGeneralSynchronize - timeout
21:42:26 119,727020 T:1515729840   ERROR: Previous line repeats 1 times.
21:42:26 119,727203 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:26 119,822426 T:1658483632   ERROR: Previous line repeats 4 times.
21:42:26 119,822624 T:1658483632   ERROR: CDVDMsgGeneralSynchronize - timeout
21:42:26 119,826950 T:1515729840   ERROR: Previous line repeats 1 times.
21:42:26 119,827141 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:26 119,921951 T:1658483632   ERROR: Previous line repeats 4 times.
21:42:26 119,922173 T:1658483632   ERROR: CDVDMsgGeneralSynchronize - timeout
21:42:26 119,926994 T:1515729840   ERROR: Previous line repeats 1 times.
21:42:26 119,927177 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:26 120,022072 T:1658483632   ERROR: Previous line repeats 4 times.
21:42:26 120,022324 T:1658483632   ERROR: CDVDMsgGeneralSynchronize - timeout
21:42:26 120,026993 T:1515729840   ERROR: Previous line repeats 1 times.
21:42:26 120,027176 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:26 120,122459 T:1658483632   ERROR: Previous line repeats 4 times.
21:42:26 120,122696 T:1658483632   ERROR: CDVDMsgGeneralSynchronize - timeout
21:42:26 120,126999 T:1515729840   ERROR: Previous line repeats 1 times.
21:42:26 120,127174 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:27 120,223679 T:1541399472   ERROR: Previous line repeats 4 times.
21:42:27 120,223991 T:1541399472   ERROR: CDVDMsgGeneralSynchronize - timeout
21:42:27 120,227005 T:1515729840   ERROR: Previous line repeats 1 times.
21:42:27 120,227135 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:27 120,324455 T:1658483632   ERROR: Previous line repeats 4 times.
21:42:27 120,324661 T:1658483632   ERROR: CDVDMsgGeneralSynchronize - timeout
21:42:27 120,326973 T:1515729840   ERROR: Previous line repeats 1 times.
21:42:27 120,327065 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:27 120,424988 T:1541399472   ERROR: Previous line repeats 4 times.
21:42:27 120,425217 T:1541399472   ERROR: CDVDMsgGeneralSynchronize - timeout
21:42:27 120,426987 T:1515729840   ERROR: Previous line repeats 1 times.
21:42:27 120,427086 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:27 120,607986 T:1541399472   ERROR: Previous line repeats 9 times.
21:42:27 120,608131 T:1541399472  NOTICE: CDVDPlayerAudio::OutputPacket skipping a packets of duration 32
21:42:27 120,626923 T:1515729840  NOTICE: Previous line repeats 1 times.
21:42:27 120,627098 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:35 128,560364 T:1658483632   ERROR: Previous line repeats 396 times.
21:42:35 128,560562 T:1658483632   ERROR: CDVDMsgGeneralSynchronize - timeout
21:42:35 128,566788 T:1515729840   ERROR: Previous line repeats 1 times.
21:42:35 128,566864 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)
21:42:35 128,660385 T:1658483632   ERROR: Previous line repeats 4 times.
21:42:35 128,660507 T:1658483632   ERROR: CDVDMsgGeneralSynchronize - timeout
21:42:35 128,666885 T:1515729840   ERROR: Previous line repeats 1 times.
21:42:35 128,667038 T:1515729840   ERROR: CMMALVideo::dec_control_port_cb Error (status=2 ENOSPC)

As reminder, everything is OK on Kodi installed on client 1 (Windows using parameter ffmpeg).

Which parameter is expected to be operationnal on Raspberry?
Do you know what is the problem and how to solve it?

Thanks in advance,

Laurent
Reply
#2
Add your recording folder as a video source and try to play something. If you have the same problem, then it's purely RasPi related and you should post in the proper forum section.
Reply
#3
Ok I will try this tonight. Thanks for your first advice.
Reply
#4
Sorry for the delay but I have no time to test pünktchen advice sooner.
With CLIENT 2, I have the same problem to play a recorded TV video by directly accessing the share folder.

I finally try again directly OSMC on Raspberry3 (rasbian + kodi was just a step). And everything is OK on OSMC. SO my problem is fixed. But I not really understand the configuration difference between OSMC and Rasbian+Kodi.
Reply

Logout Mark Read Team Forum Stats Members Help
[raspberry] No way to watch TV on Kodi installed on raspbian (FIXED)0