transcoding mp2 to mp3 for Philips np2900

  • Michael Hirmke

    Michael Hirmke - 2010-12-22

    Hi *,

    I got a new Philips np2900 and was not very pleased with TwonkyMedia, which comes with this streaming client. So I decided to give Mediatomb a try.
    Most of the things work as expected, but I have lots of MP2 audio files, which I want to stream to the np2900. These MP2 files have to be transcoded, because the np2900 does not have the capability to play MP2 on its own. I read the according sections from the online documentation, but seem to be missing something.
    I added the following xml code to config.xml:

    <map from="mp2" to="audio/mp2"/>
    <transcode mimetype="audio/mp2" using="mp2mp3"/>
      <profile name="mp2mp3" enabled="yes" type="external">
        <agent command="ffmpeg" arguments="-i %in -f mp3 -y %out"/>
        <buffer size="1048576" chunk-size="131072" fill-size="262144"/>

    Unfortunately with these additions files with an mp2 extension aren't transcoded at all 8-(
    When I change

    <transcode mimetype="audio/mp2" using="mp2mp3"/>


    <transcode mimetype="audio/mpeg" using="mp2mp3"/>

    MP2 audio files are transcoded, but also all of my MP3 files, which is not, what I want.
    Is there any possibility to distinguish between MP2 and MP3 audio files for transcoding?

    Second question:
    How can I get Mediatomb to read and use tags in my MP2 files? They are included in all of my MP2 files, but Mediatomb seems to ignore them.



  • Michael Hirmke

    Michael Hirmke - 2011-01-16

    no one?

  • Michael Hirmke

    Michael Hirmke - 2011-01-20

    I had to rebuild the database in order to get the new MIME type into it.


Log in to post a comment.