Forum
[PROBLEM] How to prevent XBMC from buffering ? - Printable Version

+- Forum (http://forum.xbian.org)
+-- Forum: Software (/forum-6.html)
+--- Forum: Kodi (/forum-18.html)
+---- Forum: Kodi Settings (/forum-36.html)
+---- Thread: [PROBLEM] How to prevent XBMC from buffering ? (/thread-684.html)



How to prevent XBMC from buffering ? - Avriukas - 27th Mar, 2013 06:50 PM

advancedsettings.xml buffer function not working Sad
Default buffer lenght still in use Sad

default install and configuration + <cachemembuffersize>120</cachemembuffersize> value.


there is my default file:
<advancedsettings>
<network>
<cachemembuffersize>120</cachemembuffersize>
</network>
<fanartres>540</fanartres>
<imageres>256</imageres>
<gputempcommand>echo "$(/opt/vc/bin/vcgencmd measure_temp | grep -o "[0-9]\{2\}") C"</gputempcommand>
<cputempcommand>echo "$(/opt/vc/bin/vcgencmd measure_temp | grep -o "[0-9]\{2\}") C"</cputempcommand>
<lookandfeel>
<webserver>true</webserver>
<guires>720</guires>
</lookandfeel>
<bginfoloadermaxthreads>2</bginfoloadermaxthreads>
<video>
<adjustrefreshrate>
<override>
<fps>23.976</fps>
<refresh>24.0</refresh>
</override>
</adjustrefreshrate>
</video>
</advancedsettings>


Re: How to prevent XBMC from buffering ? - rikardo1979 - 27th Mar, 2013 08:06 PM

depends where u stream from.if is local than buffer has nothing to do with only if you stream from web,so from //:http


How to prevent XBMC from buffering ? - Koenkk - 27th Mar, 2013 08:12 PM

(27th Mar, 2013 08:06 PM)rikardo1979 Wrote:  depends where u stream from.if is local than buffer has nothing to do with only if you stream from web,so from //:http

or from nfs, smb, upnp, etc..

The cachemembuffer is useless in XBian because we use a custom XBMC which dynamically allocates the buffer


RE: How to prevent XBMC from buffering ? - Avriukas - 27th Mar, 2013 08:37 PM

Thank You of your answer.
Yes. We streaming from http.
It is possible to disable dynamic buffer allocating ?
We looking for solution without buffering..

Thank You


How to prevent XBMC from buffering ? - Koenkk - 27th Mar, 2013 09:13 PM

(27th Mar, 2013 08:37 PM)Avriukas Wrote:  Thank You of your answer.
Yes. We streaming from http.
It is possible to disable dynamic buffer allocating ?
We looking for solution without buffering..

Thank You

I don't know how techinical you are, but you can compile XBMC without the patch


RE: How to prevent XBMC from buffering ? - Avriukas - 27th Mar, 2013 09:36 PM

It is possible, but took longer... hm..
It is interesting, that Openelec or Raspbmc buffering possible to make so small / disable and
it is wotking but until for example - screen calibratin. After that - Openelec or Raspbmc do in
the same maner like Xbian - turning on default buffering. Difference only that Xbian buffers
without config changes when Raspbmc or Openelec reacts to advancedsettings.xml small bufer
but only until we changeing screen calibration option Sad


How to prevent XBMC from buffering ? - Koenkk - 27th Mar, 2013 10:51 PM

Why do you want to disable buffering?


RE: How to prevent XBMC from buffering ? - Avriukas - 27th Mar, 2013 11:58 PM

IPTV so buggy. Sometimes channels showing, sometimes not, sometimes crashing and etc.
So, we using HTS TvHeadend 9982 port for TV.
So, before every channel we see buffering... buffering...
With nontouch Openelec config, when we setting so small buffer this solution
is good for us.. BUT.. after any config, as I said, default buffering is launching without change possibility


RE: How to prevent XBMC from buffering ? - Avriukas - 29th Mar, 2013 08:39 PM

Hey ! My Xbian stopped buffering by itslef ! How it was possible ?
I just moved it to another house. But all config and server leave the same.
In both houses the same NAT and DHCP. Mhmhm....
Now i feel scary to configure screen calibration - because Xbian buffering
may return Smile...
I need to say that XBIAN vs other distribs running faster and without
unexplayn retention. I have try most popular distribs and Xbian
realy work correctly and fast. Xbian motivating me to continue make
my home project on Raspberry. Only buffer my future question Smile
Thank You


RE: How to prevent XBMC from buffering ? - flaminggames888 - 19th Oct, 2014 08:53 AM

(29th Mar, 2013 08:39 PM)Avriukas Wrote:  Hey ! My Xbian stopped buffering by itslef ! How it was possible ?
I just moved it to another house. But all config and server leave the same.
In both houses the same NAT and DHCP. Mhmhm....
Now i feel scary to configure screen calibration - because Xbian buffering
may return Smile...
I need to say that XBIAN vs other distribs running faster and without
unexplayn retention. I have try most popular distribs and Xbian
realy work correctly and fast. Xbian motivating me to continue make
my home project on Raspberry. Only buffer my future question Smile
Thank You

I think I have a permanent solution: Check out this!
http://www.htpcbeginner.com/fix-raspberry-pi-xbmc-buffering-issues/


RE: How to prevent XBMC from buffering ? - f1vefour - 19th Oct, 2014 06:51 PM

To me the largest factor is:

Code:
<readbufferfactor>4.0</readbufferfactor>

My understanding is this setting allows a stream to download at 4x the bitrate of the video, XBMC tries to download the stream in real-time by default which causes issues on an unstable internet connection. Increasing the readbufferfactor allows the buffer to fill at a faster rate therefore decreasing buffering in many circumstances.