Stefan Olsson - 2011-03-08


I have a Samsung TV wich is feed by mediatomb, the TV is able to play mp2 and mp3 songs directly but lacking
the ability to play other audio formats such as wav files.

And no, I do not have any PS3 as a middleman.

My idea is to transcode all audio files, except mp2 and mp3, into LPCM and feed them to the TV.

The reason for LPCM is that it goes a lot faster to transcode into any PCM format into then mp3 when I compare the time
ffmpeg need at the prompt on the NAS.

But I have trouble to set up the transcoding part of the configuration file for mediatomb, the TV always reply
"unsupported format" and I would appreciate some help.

According to the DLNA certificate for the Samsung TV it suports LPCM but I can not find more information what
type of LPCM it is , number of bits, signed/unsigned etc. Perhaps LPCM in the DLNA world have a specific definition?

this is what I have in my configuration file

<map from="wav" to="audio/vnd.wave"/>

<transcode mimetype="audio/vnd.wave" using="soundtranscode"/>
<transcode mimetype="audio/wav" using="soundtranscode"/>

<profile name="soundtranscode" enabled="yes" type="external">
<agent command="ffmpeg" arguments="-i %in -ac 2 -ar 44100 -y -f s16be %out"/>
<buffer size="200000" chunk-size="100000" fill-size="50000"/>

Does anyone have any experience of this ?