Discussion in 'Apps' started by skazza, Mar 6, 2013.
I would like to increase the buffer size for streaming in xbmc.
Is it possible?
You would need to modify the advancedsettings.xml or create one, if you don't have the file already created. The file is located here "Android/data/org.xbmc.xbmc/files/.xbmc/userdata/".
This info is pulled directly from the XBMC site.
<cachemembuffersize>5242880</cachemembuffersize> <!-- number of bytes used for buffering streams ahead in memory
XBMC will not buffer ahead more than this. WARNING: for the bytes set here, XBMC will consume 3x the amount of RAM
When set to 0 the cache will be written to disk instead of RAM, as of v12 Frodo -->
So if you wanted an unlimited buffer, you would modify or create the advancedsettings.xml file with the following lines.
If you wanted an 20 MB buffer, it would look like this.
Thank you for the answer.
I created a advancedsettings file as suggested.I set 104857600 as cache size and I think I may have solved the problem.
Do you think that 10m of buffer size is enough in my X5?
I just added it to mine as well. 20 mb buffersize and HD films stream straight away now. Before it would take an ages and then stop, buffer, play, stop etc... now it's just fine
Do I need to be rooted to do this?
Nope, you just need to find a text editor on playstore that allows you to save the file to the correct folder in XBMC.
Although I made the change a while ago, I have since gone to the latest firmware release and never bothered to make the XBMC change. To be honest, I have noticed no difference at all. Plays the same as before.
Seems this thread may have the solution to eliminate the "Cache filled before reaching required amount" messages that I have been receiving.
I would truly appreciate some more specific directions in increasing the cache size in my new X5.
I have a few questions.
1. Which text editor in playstore would you suggest using? Jota, 920, Text Edit?
2. Is the following found in the "System" section of xbmc or elsewhere?
3. After creating the file in text editor, as shown, do you delete the existing advancedsettings file before saving the new one?
I would be very grateful for any help.
By the way using xbmc 12.2 frodo armeabi v7a
Is the Neon frodo 12.1 xfa better for the X5?
I use Jota. works good for me.... I just overwrite any files I change. Point 2 = Yes
I also use the XAF version. Works better for as it comes pre-installed with all addons etc...
Or I did use XBMC but to buggy
Can you provide a bit more info about the XAF for use on a Neo X5? Where to get it? What version? How if differs from the Frodo I downloaded from the XBMC site. I am particularly having troubles with the Hulu addon. Thanks!
If you go to xbmcandroid.com and download the neon set top box version. It's on the front page.
XAF comes with all the add-ons you will need like ice films etc. It also automatically updates etc. The frodo version I believe comes with no add-ons so you need to install them yourself. You can still manually install add-ons as well. I think it's better... Hope it helps.
Thanks. I will try it later today. Cheers!
A quick question on this. I have installed. Just trying out 1channel. Seems it keeps having script failures. Is this just me or do you see it as well? Thanks
I'm running xbmc latest stagefright build, no xaf.
Copied advancedsettings.xml (all codecs "1", which means to use hw gpu, no external players) to userdata.
Installed icefilms and 1 channel via repositery, both working like a charm. But when starting xbmc I get an script error message for 1channel, but it still works as it should. Icefilms is playing 720p fine with no visible judding/stuttering.
You should really give it a try.
It's for the first time xbmc is working for me as it should.
Hello and thanks. I plan to try. Can you explain the - all codecs "1" - stuff? I cannot find it in the docs for advancedsettings.xml. Thanks
I did find something that looks possible here. Is this it?
When opening advancedsettings.xml with text editor, you can choose between -1, 0 or 1 for different videofiletypes. Choose 1 for every.
Thanks. I have enough experience with XML to get that part of it. What you are assuming, incorrectly I think, is that my install has an advancedsettings.xml file to even open. In fact, it does not. And this is as documented on the XBMC website where it reads (right at the top), "The 'advancedsettings.xml' file, which does not exist by default, may be created by a user in their '/userdata/' folder."
As noted in my edit to my post, I did find a sample advancedsettings.xml file on the web that included the <stagefright> and this info which seems to be what we are talking about here:
<!-- -1 is default, 0 is never used this codec, 1 is always use this codec, bypassing blacklist -->
Please note that reference page from the XBMC website does not include the syntax for the <stagefright> tag at all. At the time of my post, I did not even know about the <stagefright> tag but I did look through the docs seeking something that was possible, did not find anything (since it is not there), and then asked for more info.
So is this the correct syntax to fulfill the instruction given above ( all codecs "1", which means to use hw gpu, no external players)? Is the <useswrender> tag (false) also to be included? I hope I am being more clear here. Thanks
That's exactly the same one that did the trick for me.
Could you guide me (with a link) to the correct libstagefright build that I should be running on my X7 please? I'd like to test it out with advxml setting mods and see how it runs.
Right now, I'm on 13.0-ALPHA8 Git: 20130929 and I have tons of stuttering w/ 480 or 720 streaming via 1Channel on wi-fi or CAT6 cable.
I've tried several time to increase video buffer using advancedsettings.xml for having smooth video from my IPTV provider using or PVR or video addon. But i think that buffersize doesn't work for this aim.
Figured I would chime in here because I have found a quick solution to the fact that a ton of my HD videos were buffering every 3-5 minutes even though my ATV1200 has had no buffering issues at all using the same ethernet line etc:
I did this and the problem was completely solved, no buffering. After this fix I think I prefer the Minix X7mini to my ATV1200, although the component out on the ATV12oo is useful if you need 2 video outputs simultaneously or if you need component out.
SOLUTION TO EXCESSIVE BUFFERING (found on http://forums.xbmc.org/showthread.php?tid=159863&page2 ):
Create (if you dont have one) or edit your advancedsettings.xml file under Android/data/org.xbmc.xbmc/files/.xbmc/userdata/
Would be nice to know if this works for others with buffering issues. Also, I tried this with absolutely no understanding of what it actually does to solve the problem, so if you know it has any negative effects please post to let the rest of us know. If it doesnt have any negative effects then I think the next Minix XBMC release probably should include this setting unless there is a better way to solve buffering issues.
Separate names with a comma.