Discussion:
EON - mediatomb - streaming FLAC & PCM
Erwin Panen
2010-10-16 12:30:08 UTC
Permalink
Hi,
Most of my audio is mad up of flac format.
Streaming to my PS3 does not seem to work. Did some searching, and this seems to be possible.<br />
Next I had a look at mediatomb's config.xml, and found:<br />
---------------------------------indentation not retained---
<blockquote>
<transcoding enabled="no"><br />
<mimetype-profile-mappings><br />
<transcode mimetype="video/x-flv" using="vlcmpeg"/><br />
<transcode mimetype="application/ogg" using="vlcmpeg"/><br />
<transcode mimetype="application/ogg" using="oggflac2raw"/><br />
<transcode mimetype="audio/x-flac" using="oggflac2raw"/><br />
</mimetype-profile-mappings><br />
<profiles><br />
<profile name="oggflac2raw" enabled="no" type="external"><br />
<mimetype>audio/L16</mimetype><br />
<accept-url>no</accept-url><br />
<first-resource>yes</first-resource><br />
<accept-ogg-theora>no</accept-ogg-theora><br />
<agent command="ogg123" arguments="-d raw -o byteorder:big -f %out %in"/><br />
<buffer size="1048576" chunk-size="131072" fill-size="262144"/><br />
</profile><br />
</blockquote>
------------------------------------<br />
Can we just enable this on EON? Or are some requirements missing? (flac, oggflac2raw, vlcmpeg) (I couldn't find anything in notes.mtomb)<br />
<br />
I also found this <a href="http://www.chrisbaume.co.uk/?p=152">link</a>
showing approx. the same configuration, but yet different.<br />
What would be the best way to do this?<br />
<br />
Thanks for your insight,<br />
<br />
Erwin
--
This message posted from opensolaris.org
Andre Lue
2010-10-17 23:07:13 UTC
Permalink
Hi Lexje,

If these only need flac, ogg123 tools I may be able to generate a drop-in patch you could test. If it requires vlc, that's a whole other challenge.

I'll see what I can do.
--
This message posted from opensolaris.org
Andre Lue
2010-10-21 21:11:30 UTC
Permalink
Hi Lexje,

I've uploaded a patch I think should add mad, flac features. Give it a try and let me know your feedback.

https://sites.google.com/site/eonstorage/downloads/mtomb-patch.tgz?attredirects=0&d=1

to install the patch, as user root
upload the file to /tmp/mtomb-patch.tgz
cd /opt/mediatomb
gzip -dc /tmp/mtomb-patch.tgz | tar -xf -

add back your edits above and retry your mad and flac files.
--
This message posted from opensolaris.org
Erwin Panen
2010-11-03 23:24:05 UTC
Permalink
Hi Andre,
</p>
Many thanks for posting your patch. Is there any way to get notified of thread replies that you know of? A shame I did not follow up any time sooner, sorry for that.
</p>
Did as you indicated, also did updim.sh to be on the safe side.
As for the config.xml settings, apparently I did not take them out, so they were still in.
</p>
Tried to restart mediatomb with "/opt/mediatomb/bin/start_mtomb.sh", </p>
but this didn't work, ended up with errors.</p>
So did init 5. Mediatomb needed to rescan the entire folder tree.</p>
</p>
Trying on my PS3 did not play flac unfortunately :-( </p>

I'll do some more testing later, if you have any suggestions as to how I can verify, please let me know.
</p>
Thanks for your help!</p>
</p>
Erwin
--
This message posted from opensolaris.org
Loading...