[RELEASE] DStv Now KODI Add-on

enerdude

Expert Member
Joined
Jan 10, 2009
Messages
1,768
I get frequent bufferring. 1 to 2 seconds being replayed every few minutes.

First time Im experiecing this. Reducing bitrate does not fix it.

Any ideas. Is there a way to buffer the stream upfront for few seconds?
Nope. I have the same problem. Think we have to get used to this especially during the corona lockdown and especially during prime time daily.
If I stream via a browser / the android app it seems fine but it uses adaptive streaming in the sense that it switches the quality down on the fly if your connection speed slows / server gets busy.
 

chewiesw

Expert Member
Joined
Jul 14, 2014
Messages
1,678
I get frequent bufferring. 1 to 2 seconds being replayed every few minutes.

First time Im experiecing this. Reducing bitrate does not fix it.

Any ideas. Is there a way to buffer the stream upfront for few seconds?
I get buffering after 20 minutes or so and then everything will eventually freeze, but I think it is because I am using a RPi3
 

leonb

Well-Known Member
Joined
Feb 2, 2005
Messages
460
Nope. I have the same problem. Think we have to get used to this especially during the corona lockdown and especially during prime time daily.
If I stream via a browser / the android app it seems fine but it uses adaptive streaming in the sense that it switches the quality down on the fly if your connection speed slows / server gets busy.
If tried reducing bitrate, but does not seem to solve issue. So not convinced it is bandwidth related.
 

COMPUTEK

Executive Member
Joined
Apr 7, 2009
Messages
6,356
Could the buffering not be related to the WACS and SAT3 cable breaks ? Everyone's internet is suffering a little until those cables are fixed.
 

enerdude

Expert Member
Joined
Jan 10, 2009
Messages
1,768
If tried reducing bitrate, but does not seem to solve issue. So not convinced it is bandwidth related.
What do you mean by 'reducing bitrate'? The kodi addon does not do adaptive streaming like the website / android app. The only thing you can change in kodi is the resolution. Even setting the playback quality to 'custom' in settings just translate it down to a specific resolution. Best way is to set it to 'ask' and then start with a higher resolution e.g. 720p and if buffering occurs change it down to 576p, 432p, 360p etc. Problem is it might start streaming fine for a specific resolution but the addon will try to maintain that specific resolution and not adapt like the adaptive streaming on e. g. the website, so you will have to then stop the stream and select the next lower setting.

Could the buffering not be related to the WACS and SAT3 cable breaks ? Everyone's internet is suffering a little until those cables are fixed.
Definately could have an impact, together with the strain on ISP's networks due to lockdown and especially during prime time daily (19:00 to 23:00) as I said above. What I was arguing is that if streaming on the website / android app works fine (e.g. no buffering, it only switches down the quality in real time using adaptive streaming) but the kodi addon buffers, it points to the fact that the addon does not use adaptive streaming and one needs to switch down manually to a lower resolution until you get no buffering.
 

leonb

Well-Known Member
Joined
Feb 2, 2005
Messages
460
What do you mean by 'reducing bitrate'? The kodi addon does not do adaptive streaming like the website / android app. The only thing you can change in kodi is the resolution. Even setting the playback quality to 'custom' in settings just translate it down to a specific resolution. Best way is to set it to 'ask' and then start with a higher resolution e.g. 720p and if buffering occurs change it down to 576p, 432p, 360p etc. Problem is it might start streaming fine for a specific resolution but the addon will try to maintain that specific resolution and not adapt like the adaptive streaming on e. g. the website, so you will have to then stop the stream and select the next lower setting.
Thats what I mean. Lowering the resolution manually did not solve the buffering.
 

enerdude

Expert Member
Joined
Jan 10, 2009
Messages
1,768
Thats what I mean. Lowering the resolution manually did not solve the buffering.
Sounds like problem with your internet connection. What you should try is streaming from the website and see if you get the same issue. I never have an issue on the website as it adaptively switches down the quality and does not produce buffering.

On the kodi addon I usually start on 576p and if it starts buffering I manually go down to 432p and 360p. I never have a problem maintaining 360p on the kodi addon.
 

leonb

Well-Known Member
Joined
Feb 2, 2005
Messages
460
Sounds like problem with your internet connection. What you should try is streaming from the website and see if you get the same issue. I never have an issue on the website as it adaptively switches down the quality and does not produce buffering.

On the kodi addon I usually start on 576p and if it starts buffering I manually go down to 432p and 360p. I never have a problem maintaining 360p on the kodi addon.
Have not tried going that low. I normally start at max then drop to 720p. Lower than that, I'll rather switch off TV and go reading...

On PC and Android its all OK.
 

enerdude

Expert Member
Joined
Jan 10, 2009
Messages
1,768
Have not tried going that low. I normally start at max then drop to 720p. Lower than that, I'll rather switch off TV and go reading...

On PC and Android its all OK.
576p still looks decent on my 50". For streaming a news channel like enca / sabc news, nothing wrong with 360p either. Not much we can do about it on the kodi addon until corona and lockdown situation improves and undersea cables are fixed.
 

enerdude

Expert Member
Joined
Jan 10, 2009
Messages
1,768
I've read somewhere that the eta for the cable fix is the 4th of April
Yeah also saw that but we probably won't see a proper resolution to the kodi addon issue until the whole corona thing is resolved or ISPs and / or dstv come to the party with extra capacity.
 

leonb

Well-Known Member
Joined
Feb 2, 2005
Messages
460
576p still looks decent on my 50". For streaming a news channel like enca / sabc news, nothing wrong with 360p either. Not much we can do about it on the kodi addon until corona and lockdown situation improves and undersea cables are fixed.
Just checked Sabc news which is 576p. Also buffering every now and then.
 

enerdude

Expert Member
Joined
Jan 10, 2009
Messages
1,768
Just checked Sabc news which is 576p. Also buffering every now and then.
It is now prime time - good luck with even 576p. Sometimes I have to take it all the way down to 360p to have buffer free streaming

edit: currently I'm streaming enca news channel @576p without buffering. I am on 50mbps fibre with vumatel/vox.
 
Last edited:

Tinuva

The Magician
Joined
Feb 10, 2005
Messages
9,275
I found last month that Kodi struggled to keep a stream smooth. I do have it set to the highest possible resolution. Then switching to the DSTV app it would be 100%, obviously scaled down automatically.
In March I was still on 10/10 Axxess FTTH. This was the previous owner's ISP and the held the line hostage because he cancelled late.

Forgot about it, but then I moved to Coolideas 100/100 this month, and then on Sunday when I streamed MNet from 6pm to 8pm, the stream only blipped once around 6:58pm before Carte Blance (which is what I wanted to watch) but it was otherwise smooth throughout 1080i the full 2 hours and didn't drop like it would usually do in March.

So either the 100/100 fixed it, or the ISP change and the 100/100 both fixed it.
 

enerdude

Expert Member
Joined
Jan 10, 2009
Messages
1,768
I found last month that Kodi struggled to keep a stream smooth. I do have it set to the highest possible resolution. Then switching to the DSTV app it would be 100%, obviously scaled down automatically.
In March I was still on 10/10 Axxess FTTH. This was the previous owner's ISP and the held the line hostage because he cancelled late.

Forgot about it, but then I moved to Coolideas 100/100 this month, and then on Sunday when I streamed MNet from 6pm to 8pm, the stream only blipped once around 6:58pm before Carte Blance (which is what I wanted to watch) but it was otherwise smooth throughout 1080i the full 2 hours and didn't drop like it would usually do in March.

So either the 100/100 fixed it, or the ISP change and the 100/100 both fixed it.
Mine has also been much better the last few days, rarely get any buffering on hd and my setup stayed the same.
 

js9241698

Active Member
Joined
Apr 9, 2019
Messages
86
Hopefully within the next week, the add-on will be able to buffer ahead.
I'm having to implement this myself by

1) Have a webserver running that proxies all requests to the correct origin
2) This webserver detects when kodi requests a segment, it then downloads and returns this segment
3) It then starts downloading X segments ahead and storing them in the addon profile data folder
4) When kodi requests the next segment, the webserver serves it from the cache
5) Webserver also stores the last X segments to allow for fast rewind

This should only be needed for next wee while as there is a GSOC 2020 proposal to implement cache ahead and adaptive switching:
 

deesef

Senior Member
Joined
Mar 3, 2017
Messages
965
Hopefully within the next week, the add-on will be able to buffer ahead.
I'm having to implement this myself by

1) Have a webserver running that proxies all requests to the correct origin
2) This webserver detects when kodi requests a segment, it then downloads and returns this segment
3) It then starts downloading X segments ahead and storing them in the addon profile data folder
4) When kodi requests the next segment, the webserver serves it from the cache
5) Webserver also stores the last X segments to allow for fast rewind

This should only be needed for next wee while as there is a GSOC 2020 proposal to implement cache ahead and adaptive switching:
Sounds fantastic. Eagerly awaiting a beta
 
Top