Increase buffer size of video playback
#1
I would love for the option of increasing the buffer size for video playback in XBMC to be re-implemented.

I remember this was an option in the Xbox version I used years ago.

Playing on my LAN is obviously not a problem but I have a file server located elsewhere and play videos over the Internet. 720p MKV files play fine with no buffering but sometimes when there is some more load on either my Internet connection or the file server Internet connection, 1080p videos start to buffer a lot, especially the high-bitrate ones.

Increasing the buffer size would probably help a lot! Smile

I see threads popping up here and there about people want to be able to stream files over the Internet, and unless transcoding is an option, this is a must.
Reply
#2
You can set it via advancedsettings.xml:

<network>
<autodetectpingtime>30</autodetectpingtime> <!-- Length in seconds between pinging the network to detect new xbox's -->
<curlclienttimeout>10</curlclienttimeout> <!-- Timeout in seconds for libcurl (http/ftp) connections -->
<curllowspeedtime>5</curllowspeedtime> <!-- Time in seconds for libcurl to consider a connection lowspeed -->
<httpproxyusername></httpproxyusername> <!-- username for Basic Proxy Authentication -->
<httpproxypassword></httpproxypassword> <!-- password for Basic Proxy Authentication -->
<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 -->
</network>

http://wiki.xbmc.org/index.php?title=Adv...ttings.xml
The normal XBMC log IS NOT a debug log, to enable debug logging you must toggle it on under XBMC Settings - System or in advancedsettings.xml. Use XBMC Debug Log Addon to retrieve it.
Reply
#3
Thanks for the tip, didn't work though. I tried different buffer sizes but all it did was delaying start of the video file more or less. Still needs buffering... Sad

My idea is that movie playback should start instantly, but having the option of XBMC buffer as much as (user defined) the entire video file. Call it "download" the file in the background to a temporary space on your drive or in RAM.
Reply
#4
This has been discussed ad nauseum.
http://forum.xbmc.org/showthread.php?tid=79673
Reply
#5
korvgryta Wrote:Thanks for the tip, didn't work though. I tried different buffer sizes but all it did was delaying start of the video file more or less. Still needs buffering... Sad

My idea is that movie playback should start instantly, but having the option of XBMC buffer as much as (user defined) the entire video file. Call it "download" the file in the background to a temporary space on your drive or in RAM.

You sure it isn't your internet connection ?
The normal XBMC log IS NOT a debug log, to enable debug logging you must toggle it on under XBMC Settings - System or in advancedsettings.xml. Use XBMC Debug Log Addon to retrieve it.
Reply
#6
TugboatBill Wrote:This has been discussed ad nauseum.
http://forum.xbmc.org/showthread.php?tid=79673

Thanks, I searched but did not find.

My internet connection is 200Mbit and fileserver 100Mbit. When testing speed from fileserver i get approximately 11MB/s which is almost 100Mbit. Connection should not be the problem but someway with XBMC it is. That's why I want to be able to set buffer size.
Reply

Logout Mark Read Team Forum Stats Members Help
Increase buffer size of video playback0