Mediatomb configuration for Samsung D5000PW
Mediatomb is a UPnP media server. It allows you to play video\music files on your TV from other devices at the same network. This post will show some configuration changes you may want to try if you have a Samsung TV. This configuration has been tested on Samsung D5000PW.
If you want to see more detailed explanation of configuration options feel free to check the documentation of this software.
Good thing to change first is a web interface login\password and port:
<server>
<ui enabled="yes" show-tooltips="yes">
<accounts enabled="yes" session-timeout="30">
<account user="mediatomb" password="mediatomb"/>
. . .
<port>49186</port>
This way web interface will be reachable at http://localhost:49186.
Custom headers will help you to get rid of error "unsupported file format" and allow to pause\ backward\forward video. Only left\right arrow buttons will be functioning as a backward\forward.
<custom-http-headers>
<add header="transferMode.dlna.org: Streaming" />
<add header="contentFeatures.dlna.org: DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000" />
</custom-http-headers>
<treat mimetype="video/x-matroska" as="mkv"/>
<treat mimetype="audio/x-matroska" as="mka"/>
If you want to see more detailed explanation of configuration options feel free to check the documentation of this software.
Good thing to change first is a web interface login\password and port:
<server>
<ui enabled="yes" show-tooltips="yes">
<accounts enabled="yes" session-timeout="30">
<account user="mediatomb" password="mediatomb"/>
. . .
<port>49186</port>
This way web interface will be reachable at http://localhost:49186.
Custom headers will help you to get rid of error "unsupported file format" and allow to pause\ backward\forward video. Only left\right arrow buttons will be functioning as a backward\forward.
<custom-http-headers>
<add header="transferMode.dlna.org: Streaming" />
<add header="contentFeatures.dlna.org: DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01700000000000000000000000000000" />
</custom-http-headers>
<manufacturerURL>samsung.com</manufacturerURL>
<protocolInfo extend="yes"/>
Video thumbnails:
<ffmpegthumbnailer enabled="yes">
<thumbnail-size>128</thumbnail-size>
<seek-percentage>7</seek-percentage>
<filmstrip-overlay>yes</filmstrip-overlay>
<workaround-bugs>no</workaround-bugs>
</ffmpegthumbnailer>
mkv and avi work without transcoding but you should make some changes:
<extension-mimetype ignore-unknown="no">
<map from="avi" to="video/mpeg"/>
<map from="mkv" to="video/mpeg"/>
. . .
</extension-mimetype>
. . .
<mimetype-contenttype>
<treat mimetype="audio/mpeg" as="mp3"/>
<treat mimetype="application/ogg" as="ogg"/>
. . .
<treat mimetype="application/x-iso9660" as="dvd"/>
<treat mimetype="application/x-iso9660-image" as="dvd"/>
</mimetype-contenttype>
You may also try:
<map from="avi" to="video/x-msvideo"/>
If you have a mysql server running I recommend you to use it instead of default database.
If you want to use a real-time transcoding for other formats you need to have a really powerful PC. Also if you didn't build the latest version of Mediatomb but installed it from repository, most likely you won't have a YouTube support.