Thursday, January 6, 2011

Mediatomb installation

Mediatomb is a very good dnla media server wich works very well with the PS3.

Be sure to have the EPEL and rpmforge repo installed ( view other post )

then, yum install mediatomb

 Edit /etc/mediatomb.conf and place the network interface mediatomb will listen.  ( you will know by doing ifconfig )  Usually, it will be eth0

using ntsysv select the service mediatomb to start on startup.

 then, " service mediatomb start " you should see [ok] .  Else something is wrong.  Google the error message to understand what is going on.

 If you want to load mkv file ( HD ) PS3 won't recognize this format, so mediatomb have to convert this video format.

Add the following lines in the /etc/mediatomb/config.xml
<map from="ts" to="video/mp2t"/>
<map from="m2ts" to="video/mpeg"/>

Add the following package and tools to convert the files.

yum install mkvtoolnix

download tsMuxeR and h264tobox  untar in /usr/local/ (tsMuxeR will not untar in is proper directory)

then softlink tsMuxeR, tsMuxerGUI and h264tobox in /usr/bin/

ln -s /usr/local/tsMuxeR/tsMuxeR /usr/bin/tsMuxeR
ln -s /usr/local/tsMuxeR/tsMuxerGUI /usr/bin/tsMuxeRGUI
ln -s /usr/local/h264tobox-$(ver)/h264tobox /usr/bin/h264tobox

the script h264tobox needs the faad library  ( yum install faad2 )
convert the mkv file.  To do this, start the h264tobox script in the directory the movie is placed,

the software will tell you 
aften, dcadec, oggdec, ogmdemux, ttaenc are missing ( they are optional ), I don't know why they are used, but for now, everything seems to work.

No comments:

Post a Comment