Configure Mediatomb buffer size
published January 24th, 2011 | categories: how-to, Informational, Linux | all categories
Mediatomb is an excellent UPnP server for Linux. Installation and configuration is drop-dead simple as an out of the box product. Aside from a basic configuration, which I will not get into here, Mediatomb has many configuration options that can be included to fine tune performance. When streaming large files (3.8GB or larger) to a PS3, even the slightest disruption in your LAN can cause the PS3 to jump back to the main menu. The solution is to create a buffer between the content and your PS3 to eliminate the issue of an intermittent lost connection. You will need to edit your /etc/mediatomb/config.xml file. By default, the online-content tag is without a buffer command. Copy and paste the line below and adjust it to your liking. You may have to tweak it a bit to meet your needs.
<online-content fetch-buffer-size="362144" fetch-buffer-fill-size="10000">
Explanation
fetch-buffer-size=...
Optional
Default: 262144
Often, online content can be directly accessed by the player – we will just give it the URL. However, sometimes it may be necessary to proxy the content through MediaTomb. This setting defines the buffer size in bytes, that will be used when fetching content from the web. The value must not be less than allowed by the curl library (usually 16384 bytes).
fetch-buffer-fill-size=...
Optional
Default: 0 (disabled)
This setting allows to prebuffer a certain amount of data, given in bytes, before sending it to the player, this should ensure a constant data flow in case of slow connections. Usually this setting is not needed, because most players will anyway have some kind of buffering, however if the connection is particularly slow you may want to try enable this setting.
Related Posts
- Ubuntu 10.04.4 mouse cursor disappears on one monitor
- Free or open-source self-hosted spreadsheets
- Remove interface from ifconfig without restarting
- Change the Windows default Remote Desktop (RDP) port
- Convert images to animated .GIF in Ubuntu
Previous Post: « Cost for Microsoft Office 365 and Office 2013 for home and office usersDo you have something to say? Send me a message on Twitter @nwlinux.
Next Post: My concerns with Insync, a power-users tool for GDrive »
See all posts