Very slow channel switching
#5
Because you did not provide much information about which XBMC pvr build you are using, which version of the addon and whether you are using the backend and frontend on the same machine or on different pc's I can only give a general explanation.

Basically, the contributors that influence the channel switch times are:
  1. the time it takes to tune a particular channel (TV Server)
  2. the time it takes to decrypt an encrypted channel (TV Server/CAM)
  3. the time it takes to start timeshifting (TVServer)
  4. the time it takes to fetch the stream URL / timeshift filename (MediaPortal pvr addon)
  5. the time it takes to start the stream playback (addon + XBMC)

I can't influence 1-3. You can see the time it takes for 1-3 in when using the debug version of the TVServerXBMC plugin (the .exe version).
Note that first time tuning takes longer than a channel switch due to the initialization of your card and the creation of the timeshift buffer (@TV Server).

Currently, there are 2 different MediaPortal pvr addons: "ffmpeg" and "tsreader". The first one is distributed in the builds from Dushmaniac (opdenkamp). The tsreader version is currently only in my builds.

The "ffmpeg" version uses RTSP streams for channel playback and this results in large channel switch times 6-20 sec. One of the reasons is that XBMC's internal ffmpeg library takes quite some time to start the playback of an RTSP url from the TV Server.
Because I can't really speed-up this part, I started with a different approach to re-use parts of the playback code from MediaPortal: the tsreader version.

This addon has much faster channel switch times: 2-5 s in my case. I'm still working on getting this faster, but similar channel switch times as in MediaPortal itself should be possible 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


Messages In This Thread
Very slow channel switching - by jelleeelco - 2012-02-23, 13:23
[No subject] - by FernetMenta - 2012-02-23, 22:23
[No subject] - by jelleeelco - 2012-02-24, 08:07
[No subject] - by FernetMenta - 2012-02-25, 11:06
[No subject] - by margro - 2012-02-26, 14:55
[No subject] - by jelleeelco - 2012-02-27, 13:47
[No subject] - by mylle - 2012-02-27, 16:13
[No subject] - by margro - 2012-02-27, 20:25
[No subject] - by mylle - 2012-02-27, 22:37
[No subject] - by jelleeelco - 2012-02-28, 12:14
[No subject] - by margro - 2012-02-29, 20:19
RE: Very slow channel switching - by arielgr - 2012-03-26, 22:53
RE: Very slow channel switching - by davor - 2013-02-08, 19:23
RE: Very slow channel switching - by davor - 2013-03-06, 13:46
RE: Very slow channel switching - by MrNorma - 2012-04-12, 00:35
RE: Very slow channel switching - by doveman2 - 2013-03-26, 15:46
Logout Mark Read Team Forum Stats Members Help
Very slow channel switching0