2010-12-18 08:46:34 PST
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"/>
...
<profiles>
<profile name="mp2mp3" enabled="yes" type="external">
<mimetype>audio/mp3</mimetype>
<accept-url>no</accept-url>
<first-resource>yes</first-resource>
<accept-ogg-theora>no</accept-ogg-theora>
<agent command="ffmpeg" arguments="-i %in -f mp3 -y %out"/>
<buffer size="1048576" chunk-size="131072" fill-size="262144"/>
</profile>
</profiles>
...
Unfortunately with these additions files with an mp2 extension aren't transcoded at all 8-(
When I change ...
<transcode mimetype="audio/mp2" using="mp2mp3"/>
... to ...
<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.
TIA.
Bye.
Michael.