Alrighty....... So after an all nighter (plus 7 hours) of playing with settings, scouring the internet researching, reading until my eyes had projectile bleeding and my brain began to ooze out of my ear holes I have solved the dreaded horrendous buffering issues with videos AND live TV! Okay, this is where I need to issue the standard 'results may vary' disclaimer.... The settings I am about to post were used on 3 different Windows 7 PCs that all had varying amounts of RAM and varying internet speeds and running Kodi 15. My own system is used for video and music production so it's a substantially higher end system than these 3 and my settings are higher... not because they were needed but just because I could LOL. I don't have any of the android boxes to test these on, but based on the research I did these settings should also be good to go on those as well, again though this is a use at your own risk scenario.
For those with higher than 30 Mbps internet and/or more than 1 gig of RAM you can use higher settings. For higher internet speeds you would change the <readbufferfactor> and for more RAM you would change the <cachemembuffersize>. In these settings I used the <cachemembuffersize> that utilizes RAM instead of the 0 setting that utilizes the hard drive for cache. The reason for this is because I discovered that RAM is much faster than using the hard drive (which I actually figured was the case anyway). The <cachemembuffersize>of 157286400 is about 150MB of RAM, so if you have 2 gigs of RAM you could use 250000000 for about 250 MB, if you have 4 gigs of RAM use 400000000 for 400 MB. You could go higher if you have more RAM but you shouldn't need to. For those using Windows systems there is also an added step below these settings.
EDIT: I created 3 advancedsettings.xml files that use the 3 different internet speeds listed below. I attached them here below. Download the zip files (you only need the one that corresponds with your internet speed) and then extract it. Now right click on the extracted file and click copy. Now go to C:\users\XXXXX\appdata\roaming\Kodi\userdata XXXXX is whatever your username on your computer is. Now in that folder right click and click paste. That should do it.
For Windows users, I found the above settings alone were pretty good. However, I had a brain storm from my old software developing days about how Windows handles internet traffic. This lead me to check out the Windows registry and I found that there were indeed some settings in there I could play with the see if it would help even more. The result is the attached file here. This is a reg editing file that will add the settings to your Windows registry to make video buffering even better. This will work on both Windows 7 and Windows XP systems. I don't have any Windows 8 systems to test it on so I can not vouch for how it would work with that. Just download the zip file and extract it and then double click the tcp_perf_smb.reg file and it will automatically set he keys in the registry. You may get some warnings about changing the registry, just click yes to all of them to allow it to set the keys.
Any and all feedback is welcome.
View attachment 596View attachment 604View attachment 603View attachment 602
For those with higher than 30 Mbps internet and/or more than 1 gig of RAM you can use higher settings. For higher internet speeds you would change the <readbufferfactor> and for more RAM you would change the <cachemembuffersize>. In these settings I used the <cachemembuffersize> that utilizes RAM instead of the 0 setting that utilizes the hard drive for cache. The reason for this is because I discovered that RAM is much faster than using the hard drive (which I actually figured was the case anyway). The <cachemembuffersize>of 157286400 is about 150MB of RAM, so if you have 2 gigs of RAM you could use 250000000 for about 250 MB, if you have 4 gigs of RAM use 400000000 for 400 MB. You could go higher if you have more RAM but you shouldn't need to. For those using Windows systems there is also an added step below these settings.
EDIT: I created 3 advancedsettings.xml files that use the 3 different internet speeds listed below. I attached them here below. Download the zip files (you only need the one that corresponds with your internet speed) and then extract it. Now right click on the extracted file and click copy. Now go to C:\users\XXXXX\appdata\roaming\Kodi\userdata XXXXX is whatever your username on your computer is. Now in that folder right click and click paste. That should do it.
Code:
[B][COLOR="#800080"]Settings for internet speed below 20 Mbps, and 1 gig of RAM
Mix of SD and HD streams up to 1080p[/COLOR][/B]
<advancedsettings>
<pvr>
<minvideocachelevel>60</minvideocachelevel>
<minaudiocachelevel>60</minaudiocachelevel>
</pvr>
<network>
<buffermode>0</buffermode>
<cachemembuffersize>157286400</cachemembuffersize>
<readbufferfactor>10</readbufferfactor>
<curllowspeedtime>300</curllowspeedtime>
</network>
</advancedsettings>
[B][COLOR="#800080"]Settings for internet speed of 20 Mbps, and 1 gig of RAM
Mix of SD and HD streams up to 1080p[/COLOR][/B]
<advancedsettings>
<pvr>
<minvideocachelevel>60</minvideocachelevel>
<minaudiocachelevel>60</minaudiocachelevel>
</pvr>
<network>
<buffermode>1</buffermode>
<cachemembuffersize>157286400</cachemembuffersize>
<readbufferfactor>40</readbufferfactor>
<curllowspeedtime>300</curllowspeedtime>
</network>
</advancedsettings>
[B][COLOR="#800080"]Settings for internet speed of 30 Mbps and above, and 1 gig of RAM
Mix of SD and HD streams up to 1080p[/COLOR][/B]
<advancedsettings>
<pvr>
<minvideocachelevel>60</minvideocachelevel>
<minaudiocachelevel>60</minaudiocachelevel>
</pvr>
<network>
<buffermode>1</buffermode>
<cachemembuffersize>157286400</cachemembuffersize>
<readbufferfactor>80</readbufferfactor>
<curllowspeedtime>300</curllowspeedtime>
</network>
</advancedsettings>
For Windows users, I found the above settings alone were pretty good. However, I had a brain storm from my old software developing days about how Windows handles internet traffic. This lead me to check out the Windows registry and I found that there were indeed some settings in there I could play with the see if it would help even more. The result is the attached file here. This is a reg editing file that will add the settings to your Windows registry to make video buffering even better. This will work on both Windows 7 and Windows XP systems. I don't have any Windows 8 systems to test it on so I can not vouch for how it would work with that. Just download the zip file and extract it and then double click the tcp_perf_smb.reg file and it will automatically set he keys in the registry. You may get some warnings about changing the registry, just click yes to all of them to allow it to set the keys.
Any and all feedback is welcome.
View attachment 596View attachment 604View attachment 603View attachment 602
Last edited: