The Sony PlayStation 3 is a DLNA compatible device, DLNA is a framework where home electronics can share digital media and content seamlessly. This tutorial is a followup to the previous howto on Ubuntu. Given that I like most others use CentOS as their server distribution of choice, I find it fitting to run my DLNA server on it as well. Although several other open source media servers exist, I chose to use Fuppes due to its ease of use as well as built in support for transcoding.
By following this howto you will be able to create a server that will allow you to play digital media stored on the server via a DLNA capable device such as the Sony PS3, Nokia N95, etc.
Requirements
* Sony PlayStation 3 or other DLNA capable device
* A computer running CentOS 5.2 with a network connection
* Wireless LAN (optional)
* Working Internet connection (to download packages)
* Media to be streamed
Installation
Download and install the Fuppes Centos rpm that I have packaged, the rpm is signed using my PGP key, and depends on packages that are provided by the rpmforge repository. You will need to install my PGP key as well as the rpmforge yum repository package.
wget http://www.topdog-software.com/oss/roundcube/andrew_topdog-software.com_key.txt
rpm --import andrew_topdog-software.com_key.txt
rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
wget http://www.topdog-software.com/oss/fuppes/fuppes-0.7.2-627SVN.i386.rpm
yum localinstall fuppes-0.7.2-627SVN.i386.rpm
Configuration
* Edit the fuppes configuration file /etc/fuppes/fuppes.cfg and the the interface option, in my case I will be using the IP address 192.168.1.2
* Start fuppes and then point your browser to http://192.168.1.2:56596
/etc/init.d/fuppes start
* Select configuration on the menu on the left
* Under "ContentDirectory settings" -> Add objects, type the name of the directory you want to share media from (you can also share an itunes db) then click "submit query"
* Add as many directories as you want I added the following:
/srv/fuppes/Videos
/srv/fuppes/Music
/srv/fuppes/Pictures
* Rebuild the media database
* Select Options on the menu on the left
* Click "rebuild database"
* Monitor the status of the rebuild on the status page, you will see the counters increase as your media is indexed.
* Configure multicast route on your machine for the media server to be found by clients, create a file /etc/sysconfig/network-scripts/route-ethX with the following content (substitute the X for the interface you are using on your machine)
239.0.0.0/8 dev ethX
* Restart networking
service network restart
Click here to find out more!
Testing
Sony PlayStation 3
Connect to your PS3 and go to Video and then select search for media servers, if all went well you should find your media server named fuppes, select that and go to a folder with videos select and play. Repeat this procedure for your music and pictures.
Nokia N95
Go to tools -> Connectivity -> Home media -> Browse media. You N95 will connect to the WLAN and begin searching and should find your fuppes media server, select it and you will see your folders, from there you can play your media and view your content or copy it to your device.
Xbox
Fuppes does support Xbox as well, using an M$ product? You are on your own.
Sample configuration files
* /etc/fuppes/fuppes.cfg
* /etc/fuppes/vfolder.cfg
No comments:
Post a Comment