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">




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).



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

Previous Post: «
Next Post: »
Do you have something to say? Send me a message on Twitter @nwlinux.

Recent Posts

Adding a LCD monitor to the air monitoring data logger cube
categories include: Hardware

Office Prank: too many sticky notes
categories include: Images

Zero and Span using Advantech Device Manager
categories include: Hardware


About >> I'm a Network Administrator out of Olympia, WA.

Social >> You can find me on Twitter @nwlinux or LinkedIn.

RSS Feed >> You can hit up FeedBurner.