New server, New to Linux, New to MediaTomb

  • Brian

    First off, thanks to everyone who has worked hard to make MediaTomb such a great media server.

    As the title says, this is ALL new to me and I've been at it about two weeks.  I have made some good progress but I would like to see if I can get some help and advice with a few issues. 

    Here's my setup:

    -Pogo Linux server w/16 hot-swappable hard drive bays
    -2 x 3.2 GHz Dual Core Xeon processors
    -8 Gb registered ram
    -Dual Gigabit ethernet ports (configured to static IPs, 1 for mediatomb, 1 for Samba file sharing & everthing else)
    -Ubuntu Server 11.10 64 bit
    -MediaTomb version 0.12.1
    -128 Gb WD Blue SSHD for OS
    -3 x 2 TB WD Green drives for media and file server storage
    -Cisco Catalyst 3500 Series XL 48port Switch
    Linksys/Cisco WRT310N Wireless N router (configured as DHCP server with IP reservations for all home devices)

    Here are the devices that I am trying to stream/transcode to in order of priority:
    -Samsung UN60D8000 TV -Wired
    -Samsung BD-C6900 & BD-D5500 Blu-Ray Players -Wired
    -iPod Touch (1st & 2nd gen) & iPhone 4 -Obviously WiFi
    -Denon DTR 50.3 Receiver -Wired

    So far, I am able to stream to everthing but the Denon receiver (no big deal) with a few exceptions.  My daughter's 1st gen iPod doesn't seem to be capable of streaming at all, but I haven't put a lot of effort into it either.  I can stream simultaneously to my iPhone, my wifes iPhone, and my son's iPod, but only if I'm in the same room as the wireless router even though when I'm upstairs, the signal only drops down to 2 bars.  The video will continue to try to play, but it will hang and stutter to the point of it being useless.  The TV is working pretty much flawless.  The only thing it hasn't played is a couple of .avi's, but my dvd rips look pretty good, and I'm getting dolby digital 5.1 on them as well.  The Blu-Ray players work pretty much the same as the TV does without any major issues.  However, the TV and the Blu-Ray players can't seem to find MediaTomb unless I restart Mediatomb on the server, where my iPhone can find it as soon as the server has booted up.

    Does anyone have any recommendations on how to resolve any of these issues?  Also, I am looking for recommendations on what to do with my ripped dvd's.  Currently they are simply ripped straight from the disc (main movie only) and as a result, I have multiple *.VOB files.  I would prefer to keep full functionality (ie. subtitles, menus, etc) but I understand that is probably not going to be the case.  I have considered combining all of the .VOB files into one, but I haven't tried to see if that messes up the menus or not.  I would assume you could rebuild the .ifo as well.

    Here is my current config file.

    {<?xml version="1.0" encoding="UTF-8"?>
    <config version="2" xmlns="" xmlns:xsi="" xsi:schemaLocation="">
        <ui enabled="yes" show-tooltips="yes">
          <accounts enabled="no" session-timeout="30">
            <account user="mediatomb" password="mediatomb"/>
          <sqlite3 enabled="no">
          <mysql enabled="yes">
        <protocolInfo extend="yes"/>
        <pc-directory upnp-hide="no"/>
          <ffmpegthumbnailer enabled="yes">
          <mark-played-items enabled="no" suppress-cds-updates="yes">
            <string mode="prepend">*</string>
          <lastfm enabled="no">
      <import hidden-files="no">
        <scripting script-charset="UTF-8">
          <virtual-layout type="builtin">
      <!- Samsung needs it ->
      <add header=" Streaming"/>
      <add header=" DLNA.ORG_OP=01;DLNA.ORG_CI=0;DLNA.ORG_FLAGS=01500000000000000000000000000000"/>
          <extension-mimetype ignore-unknown="no">
            <map from="mp3" to="audio/mpeg"/>
            <map from="ogx" to="application/ogg"/>
            <map from="ogv" to="video/ogg"/>
            <map from="oga" to="audio/ogg"/>
            <map from="ogg" to="audio/ogg"/>
            <map from="ogm" to="video/ogg"/>
            <map from="asf" to="video/x-ms-asf"/>
            <map from="asx" to="video/x-ms-asf"/>
            <map from="wma" to="audio/x-ms-wma"/>
            <map from="wax" to="audio/x-ms-wax"/>
            <map from="wmv" to="video/x-ms-wmv"/>
            <map from="wvx" to="video/x-ms-wvx"/>
            <map from="wm" to="video/x-ms-wm"/>
            <map from="wmx" to="video/x-ms-wmx"/>
            <map from="m3u" to="audio/x-mpegurl"/>
            <map from="pls" to="audio/x-scpls"/>
            <map from="flv" to="video/x-flv"/>
            <map from="mkv" to="video/x-matroska"/>
            <map from="mka" to="audio/x-matroska"/>
            <map from="avi" to="video/divx"/>
            <map from="m2ts" to="video/avc"/>
            <map from="m4a" to="audio/mp4"/>
            <map from="m4v" to="video/mp4"/>
            <map from="cr2" to="image/raw"/>
            <map from="nef" to="image/raw"/>
    <map from="vob" to="video/mpeg"/>
            <map from="audio/*" to="object.item.audioItem.musicTrack"/>
            <map from="video/*" to="object.item.videoItem"/>
            <map from="image/*" to="object.item.imageItem"/>
            <treat mimetype="audio/mpeg" as="mp3"/>
            <treat mimetype="application/ogg" as="ogg"/>
            <treat mimetype="video/ogg" as="ogg"/>
            <treat mimetype="audio/ogg" as="ogg"/>
            <treat mimetype="audio/x-flac" as="flac"/>
            <treat mimetype="image/jpeg" as="jpg"/>
            <treat mimetype="audio/x-mpegurl" as="playlist"/>
            <treat mimetype="audio/x-scpls" as="playlist"/>
            <treat mimetype="audio/x-wav" as="pcm"/>
            <treat mimetype="audio/L16" as="pcm"/>
            <treat mimetype="video/x-msvideo" as="avi"/>
            <treat mimetype="video/mp4" as="mp4"/>
            <treat mimetype="audio/mp4" as="mp4"/>
    <treat mimetype="video/mpeg" as="mpeg"/>
            <treat mimetype="video/divx" as="avi"/>
          <YouTube enabled="no" refresh="28800" update-at-start="yes" purge-after="604800" racy-content="exclude" format="mp4" hd="no">
            <favorites user="NationalGeographic"/>
            <playlists user="PlayStation"/>
            <uploads user="Google"/>
            <standardfeed feed="most_viewed" time-range="today"/>
            <standardfeed feed="recently_featured" time-range="today"/>
      <transcoding enabled="yes">
          <transcode mimetype="audio/ogg" using="audio2pcm"/>
          <transcode mimetype="audio/x-flac" using="audio2pcm"/>
          <transcode mimetype="video/ogg" using="video2mpeg"/>
          <transcode mimetype="video/quicktime" using="video2mpeg"/>
          <transcode mimetype="video/x-flv" using="video2mpeg"/>
          <transcode mimetype="video/x-matroska" using="video2mpeg"/>
          <transcode mimetype="image/raw" using="raw2jpeg"/>
          <transcode mimetype="video/mpeg" using="video2mpeg"/>
          <profile name="audio2pcm" enabled="yes" type="external">
            <agent command="vlc" arguments="%in -I dummy -sout=#transcode{acodec=s16b,ab=192,samplerate=44100,channels=5}:standard{access=file,mux=raw,dst=%out} vlc://quit"/>
            <buffer size="1048576" chunk-size="131072" fill-size="262144"/>
          <profile name="video2mpeg" enabled="yes" type="external">
            <agent command="vlc" arguments="%in -I dummy -sout=#transcode{vcodec=mp2v,vb=4096,fps=25,acodec=mpga,ab=192,samplerate=48000,channels=2,audio-sync}:standard{access=file,mux=ps,dst=%out} vlc://quit"/>
            <buffer size="6094848" chunk-size="65536" fill-size="131072"/>
          <profile name="raw2jpeg" enabled="no" type="external">
            <agent command="/usr/local/bin/mediatomb-raw2jpeg" arguments="%in %out"/>
            <buffer size="524288" chunk-size="512" fill-size="1024"/>