Problem switching between different channels
#1
Hi guys ,

Hardware: Raspberry Pi 2
System: Openelec (Milhouse) #1016
MPEG-2 codec: enabled
VC-1 codec: enabled
PVR client: PVR IPTV Simple Client


Using the PVR IPTV Simple Client I have this issue: Switching between channel A to channel B everything works fine, but switching from channel B to A , the IPTVClient stops to work , I can still select a different channel but clicking on it nothing happens.

I have tried to get more info from the two streams:

Stream A:

Stream #0:0: Video: h264 (Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv), 640x360 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
Stream #0:1: Audio: mp3 ([3][0][0][0] / 0x0003), 44100 Hz, stereo, s16p, 128 kb/s


Stream B:

Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 1280x720, 25 fps, 25 tbr, 90k tbn, 180k tbc
Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 130 kb/s


It seems that switching from SD Stream to HD Stream there is no problem but the vice versa creates some problems.

I have done some tests and it happens on all the Milhouse builds and also with "[Stable] OpenELEC 5.0.8 (arm)" and with OSMC.
I have also tried disabling the video acceleration but same issue.

The log doesn't seem to help:

11:06:04 148.362930 T:1966321664 DEBUG: Previous line repeats 2 times.
11:06:04 148.363129 T:1966321664 DEBUG: ------ Window Deinit (DialogSeekBar.xml) ------
11:06:04 148.509476 T:1582367744 DEBUG: Error, could not open file http://myProvider:8000/live/xxxxxxxxxx/x...x/326.m3u8
11:06:04 148.510162 T:1582367744 DEBUG: ffmpeg[5E510400]: Using network protocols without global network initialization. Please use avformat_network_init(), this will become mandatory later.
11:06:04 148.763733 T:1582367744 DEBUG: Previous line repeats 2 times.
11:06:04 148.763977 T:1582367744 DEBUG: Error, could not open file http://myProvider:8000/live/xxxxxxxxxx/x...x/326.m3u8
11:06:04 148.764130 T:1582367744 ERROR: OpenDemuxStream - Error creating demuxer
11:06:04 148.764236 T:1582367744 NOTICE: CVideoPlayer::OnExit()
11:06:04 148.764343 T:1582367744 DEBUG: CVideoPlayer::SetCaching - caching state 0


Any help would be appreciate...

Thank you.
Reply
#2
I would like to do some test changing some parameters in the video player or to use a different player for the same purpose.
Can anyone suggest me how to do it?

Thank you
Reply
#3
Just another thing why I cannot launch omxplayer from terminal (SSH) but I can do it with ffmpeg?
Thanks!
Reply
#4
Not sure, but I think that this is related with this issue:

http://trac.kodi.tv/ticket/16261#no1

because I see two different behaviors or koi crashes or the player crashes and I cannot play other streams...

I hope somebody will read this and give me some suggestion...

Thank you
Reply
#5
There's an IPTV Simple Client support forum here, maybe posting there will get more interest: http://forum.kodi.tv/forumdisplay.php?fid=215
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#6
(2015-10-21, 19:00)navy1978_1 Wrote: Just another thing why I cannot launch omxplayer from terminal (SSH) but I can do it with ffmpeg?
Thanks!

There's no external omxplayer binary in OpenELEC, it's statically linked into kodi.bin.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#7
(2015-10-21, 22:34)Milhouse Wrote: There's an IPTV Simple Client support forum here, maybe posting there will get more interest: http://forum.kodi.tv/forumdisplay.php?fid=215

I have already posted there: http://forum.kodi.tv/showthread.php?tid=243738 but it seems they are convinced it is a problem of the stream, but is not... Because the stream, if played as first works perfectly and with other players like VLC the switch between it and another channel works as well, so is clearly a problem of KODI player or PVR or a combination of both...

BTW, Is there a possibility to have a fix for the defect posted before?
Reply
#8
(2015-10-21, 23:12)navy1978_1 Wrote: BTW, Is there a possibility to have a fix for the defect posted before?

Which defect are you referring to?
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#9
(2015-10-21, 23:27)Milhouse Wrote:
(2015-10-21, 23:12)navy1978_1 Wrote: BTW, Is there a possibility to have a fix for the defect posted before?

Which defect are you referring to?

this: http://trac.kodi.tv/ticket/16261#no1
Reply
#10
Do you have this problem in my Kodi 16 test builds? My Kodi 16 builds have already switched to VideoPlayer so the proposed fixes in that ticket won't work (although VideoPlayer is suggested as the solution, in which case it may be fixed already).

If you want to apply the suggested fixes to Kodi 15 you'll need to create your own custom build of OpenELEC.
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#11
All your builds until #1016 have the same problem ( have not tested most recents), I have already tested with "(Stable) OpenELEC 5.0.8" and OSMC.
Can you can give my some info about how to build a custom version of OpenELEC...please?
I'm a developer (Java) and I have some experience with C++, I will be happy to help to find a solution for that...
Reply
#12
(2015-10-21, 23:42)navy1978_1 Wrote: All your builds until #1016 have the same problem ( have not tested most recents), I have already tested with "(Stable) OpenELEC 5.0.8" and OSMC.

In that case you might want to attach to that ticket a crashlog from one of my builds (ideally, a debug-enabled build). It's also possible FernetMenta hasn't yet gotten around to fixing the problem in VideoPlayer (which is a work in progress).

(2015-10-21, 23:42)navy1978_1 Wrote: Can you can give my some info about how to build a custom version of OpenELEC...please?
I'm a developer (Java) and I have some experience with C++, I will be happy to help to find a solution for that...

Best to start here: http://wiki.openelec.tv/index.php?title=...rom_source
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#13
(2015-10-21, 23:49)Milhouse Wrote: In that case you might want to attach to that ticket a crashlog from one of my builds (ideally, a debug-enabled build). It's also possible FernetMenta hasn't yet gotten around to fixing the problem in VideoPlayer (which is a work in progress).
Ok Wink, tomorrow evening I will do it..

(2015-10-21, 23:49)Milhouse Wrote: Best to start here: http://wiki.openelec.tv/index.php?title=...rom_source

Thanks! I will give it a try...
Reply
#14
If you want to build using my scripts, the following post should get you going pretty quickly (if building on Ubuntu):

http://forum.kodi.tv/showthread.php?tid=...pid2092814
Texture Cache Maintenance Utility: Preload your texture cache for optimal UI performance. Remotely manage media libraries. Purge unused artwork to free up space. Find missing media. Configurable QA check to highlight metadata issues. Aid in diagnosis of library and cache related problems.
Reply
#15
(2015-10-21, 23:54)Milhouse Wrote: If you want to build using my scripts, the following post should get you going pretty quickly (if building on Ubuntu):

http://forum.kodi.tv/showthread.php?tid=...pid2092814

Perfect, I will create a virtual machine with ubuntu and I will use your script... Thanks a lot for help me
Reply

Logout Mark Read Team Forum Stats Members Help
Problem switching between different channels0