Kodi Community Forum
Slow radio zapping - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: MediaPortal (https://forum.kodi.tv/forumdisplay.php?fid=171)
+---- Thread: Slow radio zapping (/showthread.php?tid=192555)



Slow radio zapping - sdfg - 2014-04-18

@margro
I've noticed in the latest builds that tv zapping is very fast (1-3 secs) in both your build and in nightlies.
It's not the same for radio stations.
Radio zapping is very slow (8-9 secs).
Obviously with Mediaportal also radio zapping is fast.
Using tvheadend radio zapping is lightning fast also.
Don't know where the problem is.
If anyone else has the same problem, and if you want logs, tell me.
Bye,
sdf


RE: Slow radio zapping - margro - 2014-04-24

Well, radio streams are passed in exactly the same way to XBMC as the TV streams. It seems that either ffmpeg is waiting for a potential video stream or that it has to do with filling a buffer. Will check this later. It is also much slower on my PC, so I can confirm that radio channel switching is still slow.


RE: Slow radio zapping - FernetMenta - 2014-04-24

@margro check my master branch. I have patches for fast channel switch. Not sure if you noticed:

https://github.com/FernetMenta/xbmc/commit/000c81358949e22175219153f99a5f2575ef14bf
https://github.com/FernetMenta/xbmc/commit/61a982a8d0b484b74838efdb8d5a1124cf3179d1


RE: Slow radio zapping - sdfg - 2014-04-25

(2014-04-24, 21:04)margro Wrote: Well, radio streams are passed in exactly the same way to XBMC as the TV streams. It seems that either ffmpeg is waiting for a potential video stream or that it has to do with filling a buffer. Will check this later. It is also much slower on my PC, so I can confirm that radio channel switching is still slow.
Thank you, Margro
If you need some testing, tell me
sdf

@margro,
now that I remember, it seems to me that talking a while ago with a Mediaportal developer, radio section had to be rewritten because it was very similar to tv section: the stream was video+audio and not only audio. So, maybe the've changed something in the tsreader or in mpfilewriter, and when radio station is switched MP doesn't wait for the video buffer to be filled.
Hope you understand what I'm saying, I'm not a programmer.
@FernetMenta
is it possible to test that patches, or Margro has to implement them in MP plugin? Because beta4 still suffers slow radio zapping bug.
Thank you,
sdf


RE: Slow radio zapping - margro - 2014-04-28

@FernetMenta: No I missed these patches. Just tested and they indeed speed up radio switches for me. Before 8-10s, after: 3-4 sec.

@sdfg: I will include the patches from FernetMenta in my next Gotham build (probably rc1). They won't be part of the official Gotham release because the pull request with the channel switch speed improvements is more-or-less rejected.


RE: Slow radio zapping - sdfg - 2014-04-29

(2014-04-28, 21:51)margro Wrote: @sdfg: I will include the patches from FernetMenta in my next Gotham build (probably rc1). They won't be part of the official Gotham release because the pull request with the channel switch speed improvements is more-or-less rejected.
Ok, thank you
sdf


RE: Slow radio zapping - sdfg - 2014-05-01

@margro
try your rc1 build, and dvb radio zapping is now 3-5 secs, both single seat and in lan.
Tried different combinations, and have to say that xbmc pvr speed (both tv and radio) is now nearly the same of MediaPortal itself.
Very very good job!
Will try rc1 for android and see if there's room for some further improvements
Thank you,
sdf


RE: Slow radio zapping - sdfg - 2014-05-01

Android situation is different
Tv zapping is 4-5 secs, but radio zapping is 20 secs
@margro
is it possible to build an android (arm) version of your speed improvements?
Thank you,
sdf