MediaTomb & Bravia W4500

<< < 1 2 3 > >> (Page 2 of 3)

  • Anonymous

    tar.gz is ready. The same patch applied cleanly against 0.12.1.
    Where do you suggest me to host them ?

    I would like to further clean up the code before committing to svn.

  • Greg King
    Greg King

    I can test against the 22S5700 if you can direct me to the tar.gz

    or email me

  • Jin

    rafelbev  , could you please put it somewhere for download? Or maybe add a patch to the tracker? Thanks.

  • Phil Anderson
    Phil Anderson

    I'm also happy to help test & troubleshoot against my new KDL-46EX700.


  • Anonymous

    Hi, I'm try to running this on OSX 10.6, and a Bravia NX700. Same promblem as yours, maybe tomorrow I will take a log from wireshark, hoping to do something usefull! :D
    Is it a big deal if I coild install only the version 0.11.0 ??

  • I have a Sony blu-ray 570 model which probably uses the same dnla (or lack of) that the bravia does. I'm going to test mediatomb for someone who is developing a drobo app version. Let me know if I can help with this as well.


  • Anonymous

    When can we expect the next version mediatomb with support for Sony Bravia TV are available?

  • Jin

    Not anytime soon. I never received the patch that is mentioned in the above posts, the logs do not really reveal the minimum that the Bravia would be happy with and I do not have time to go for a full DLNA implementation. And since I have no access to such a TV I can not test anything myself.

    I guess I can only suggest that Bravia users switch to miniDLNA (also hosted on SourceForge).


  • Anonymous

    Hi jin_eld,

    Got stuck with real life - here is a patch that is working for me. I have been using it with Bravia W5500 V5500 and PS3. I set the config to transcode avi to MPEG. If the m2ts files are not 1080p or 720p exactly artifacts appear as the TVs are fussy and can't handle weird custom aspect ratios.

    Before including it in the source tree, you might want to IFDEF it similar to the current EXTEND_PROTOCOLINFO tags so it will only affect BRAVIA users.

  • Jin

    Thanks a lot, now we're getting somewhere! :)

  • ZeHiro

    @ rafelbev

    I just downloaded your patch, and compiled it, and tied it with my own TV (Sony Bravia KDL-32EX500). It did not work, but I'm not sure I did it well.
    I recomposed "your" mediatomb-bravia files, just by following the diff in the .patch . But my TV still does not recognize my server. Are there any special options I need to set up in the config.xml ? Can you send me your original files so and installed library sources so that I can try to recompile it properly, and test it on my TV (and a new one).

    Thank you



  • Anonymous

    This is my current config. I am capable of playing files in m2ts. avi and mpeg format.

    <?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"/>
        <storage caching="yes">
          <sqlite3 enabled="yes">
          <mysql enabled="no">
        <protocolInfo extend="yes"/>
          <mark-played-items enabled="no" suppress-cds-updates="yes">
            <string mode="prepend">*</string>
      <import hidden-files="no">
        <scripting script-charset="UTF-8">
          <virtual-layout type="js">
          <extension-mimetype ignore-unknown="no" case-sensitive="no">
            <map from="mp3" to="audio/mpeg"/>
            <map from="ogg" to="application/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="mpg" to="video/mpeg"/>
    <map from="mpeg" to="video/mpeg"/>
    <map from="mkv" to="video/x-matroska"/>
    <map from="mp4" to="video/mp4"/>
    <map from="m2ts" to="video/m2ts"/>
    <map from="ts" to="video/ts"/>
    <map from="mp2t" to="video/x-mp2t-mphl-188"/>
    <map from="avi" to="video/divx"/>
            <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="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="application/x-iso9660" as="dvd"/>
            <treat mimetype="application/x-iso9660-image" as="dvd"/>
    <treat mimetype="video/mpeg" as="mpeg"/>
    <treat mimetype="video/m2ts" as="m2ts"/>
    <treat mimetype="video/ts" as="ts"/>
    <treat mimetype="video/x-matroska" as="mkv"/>
    <treat mimetype="video/divx" as="avi"/>
    <treat mimetype="video/x-flv" as="flv"/>
    <treat mimetype="audio/mp4" as="mp4"/>
          <YouTube enabled="no" refresh="28800" update-at-start="yes" purge-after="604800" racy-content="exclude" format="mp4" hd="no">
            <favorites user="mediatomb"/>
            <standardfeed feed="most_viewed" time-range="today"/>
            <playlists user="mediatomb"/>
            <uploads user="mediatomb"/>
            <standardfeed feed="recently_featured" time-range="today"/>
          <Weborama enabled="no" refresh="28800" update-at-start="no">
            <playlist name="Active" type="playlist" mood="active"/>
            <playlist name="Metal" type="playlist">
          <AppleTrailers enabled="no" refresh="43200" update-at-start="no" resolution="640"/>
      <transcoding enabled="yes">
          <transcode mimetype="video/divx" using="video2mpeg"/>
          <transcode mimetype="video/x-quicktime" using="vlcprof"/>
          <transcode mimetype="video/quicktime" using="video2mpeg"/>
          <transcode mimetype="video/x-flv" using="video2mpeg"/>
          <profile name="video2mpeg" enabled="yes" type="external">
           <!- <hide-original-resource>yes</hide-original-resource>->
    <!-        <accept-ogg-theora>yes</accept-ogg-theora>->
            <!-<agent command="mediatomb-video2mpeg" arguments="%in %out"/>->
    <agent command="vlc" arguments="-I dummy %in -sout #transcode{venc=ffmpeg,vcodec=mp2v,vb=8192,fps=24,aenc=ffmpeg,acodec=mpga,ab=192,samplerate=44100,channels=2}:standard{access=file,mux=ps,dst=%out} vlc:quit"/>
            <buffer size="10485760" chunk-size="262144" fill-size="524288"/>
          <profile name="vlcprof" enabled="yes" type="external">
    <agent command="vlc" arguments="-I dummy %in -sout #transcode{venc=ffmpeg,vcodec=mp2v,vb=4096,fps=25,aenc=ffmpeg,acodec=mp2a,ab=192,samplerate=48000,channels=2}:standard{access=file,mux=ps,dst=%out} vlc:quit"/>
    <buffer size="10485760" chunk-size="131072" fill-size="2621440"/>


  • Anonymous

    Hi everybody, I just got my HR22 working with mediatomb and… found out that you're working to get the Bravias too! great!.  I've got a KDL-32EX707 (has kind of the same play codec limitations) and would like to try the patch and, if possible, contribute, but… don't know how to do it. After download how should I patch it? Will it still work with my HR22 at the same time?


  • ZeHiro


    First insall all the libs necessary. Then downlaod the last packaged sources and extract them in a folder. I'll call it MEDIATOMB_FOLDER.
    Install patch
    Download the patch
    Open a console
    Go to the folder MEDIATOMB_FOLDER ( cd MEDIATOMB_FOLDER) , and type
    patch -p2 < path_to_patch
    Normally youĺl see something like that :

    patching file src/
    patching file src/common.h
    patching file src/
    Hunk #1 succeeded at 632 (offset 1 line).
    Hunk #2 succeeded at 1338 (offset 1 line).
    patching file src/
    patching file src/metadata_handler.h
    patching file src/
    patching file src/

    then type
    autoreconf -i
    (install autoreconf if necessary)
    the the usual ./configure, then make and sudo make install
    The soft should be installed in /usr/local/bin

    you start the serve with sudo /usr/local/bin/mediatomb -d

    You can use the conf.xml up there, but you need to change the <server> part and keep the default settings

  • ZeHiro

    @ rafelbev

    Thanks for your conf.xml, my problem was due to a wrong patching of the sources. Now my TV can connect to server,
    But I still have a problem, I can see any of the videos from my computer.
    In fact I couldn find the DEB for the js sources, so I compiles the software without the js support for virtual containers (i guess this is why I can't see any videos, mp3s and pictures are well read) .
    D you know the nome of the package in Ubuntu or whre i need to untar the sources from the mozilla ftp site ?

    Thanks again,



  • Anonymous

    Hi Zehiro,

    Is it possible for you to share your compile mediatomb with patched.



  • Anonymous


    Can I we have a link of your tar.gz where you applied your patch. Thanks a lot. Sorry, I can't seem to understand how to compile from the source code. Thanks.


  • Anonymous

    Hi, thanks to Zehiro's guide and rafelbev's patch & config I think I'm close to getting this working. I get this after the ./configure has finished:


    sqlite3               : yes
    mysql                 : yes
    libjs                 : missing
    libmagic              : yes
    inotify               : yes
    libexif               : yes
    id3lib                : disabled
    taglib                : yes
    libmp4v2              : yes
    ffmpeg                : yes
    ffmpegthumbnailer     : yes
    lastfmlib             : missing
    external transcoding  : yes
    curl                  : yes
    YouTube               : yes
    libextractor          : disabled
    db-autocreate         : yes

    I'm assuming my biggest problem is that libjs is disabled due to it not finding jsapi.h:

    checking jsapi.h usability… no
    checking jsapi.h presence… no
    checking for jsapi.h… no
    checking checking alternative libjs header location: /usr/local/include… checking jsapi.h usability… no
    checking jsapi.h presence… no
    checking for jsapi.h… no
    checking checking alternative libjs header location: /usr/include/js… checking jsapi.h usability… no
    checking jsapi.h presence… no
    checking for jsapi.h… no

    This seems strange because I have placed copies of jsapi.h in both /usr/local/include/ and /usr/include/js/

    Does anyone know why the configure is not seeing it?


  • ZeHiro


    I also had these problems. The only way I managed to have js activated, was to install the dev version of iirefox (the sources) from the mozilla daily repo for ubuntu (my distro).
    I reconfigured and recompiled mediatomb.


  • kalat


    Got stuck with real life - here is a patch that is working for me. I have been using it with Bravia W5500 V5500 and PS3.

    Przepraszam za język ale korzystam z tłumacza google.

    Jak zainstalować ten patch do tomato?
    Polecenie /opt/share/mediatomb -p2 mediatomb-9999-bravia.patch - w wyniku otrzymuję
    -sh patch: not found
    Patch jest wgrany do katalogu mediatomb
    Tomato z optware mam zainstalowany na Asus RT-N16. Mediatomb jest uruchomiony ale Sony Bravia KDL-40HX700 go nie widzi:(
    Proszę o pomoc

  • kalat

    Got stuck with real life - here is a patch that is working for me. I have been using it with Bravia W5500 V5500 and PS3.

    Sorry for the language but I use google translator.

    How do I install this patch to tomato?
    The command / usr / share / mediatomb mediatomb-p2-9999-bravia.patch - by getting
    patch-sh: not found
    Patch is uploaded to the directory mediatomb
    Tomato with optware I installed the Asus RT-N16. Mediatomb is running but the Sony Bravia KDL-40HX700 see it: (
    Please help


  • Anonymous

    You need to apply the patch to the source of mediatomb used before its cross compiled for Tomato. The patch is still working today as I update from SVN. Best is if the patch eventually goes upstream or I am given svn credentials to commit it and maintain it.


  • Anonymous

    Should I wait for a next version which includes this patch?

  • Skubc

    Is it posible to get pachet mediatomb, so i could just install it?


    Reagrds Skubc

  • oblus

    @jin_eld what about this patch to BRAVIAs, will it be implemented in stable release? are you doing something with this?

<< < 1 2 3 > >> (Page 2 of 3)