Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

Sunday, February 1, 2009

Set Up A Linux PlayStation 3 Media Server (CentOS 5.2)

Introduction

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

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


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




/srv/fuppes/Music
/srv/fuppes/Videos
/srv/fuppes/Pictures



192.168.1.2

56596







UTF-8

true
true
true



lame

true
true
true





0

file
false
true
4



AUDIO_ITEM
audio/mpeg
MP3


AUDIO_ITEM
application/octet-stream

mp3
audio/mpeg
MP3
chunked
vorbis
lame
192
44100



AUDIO_ITEM
application/octet-stream

mp3
audio/mpeg
MP3
chunked
musepack
lame
192
44100



AUDIO_ITEM
audio/x-wav


AUDIO_ITEM
audio/x-flac

mp3
audio/mpeg
MP3
chunked
flac
lame
192
44100



AUDIO_ITEM
audio/x-ms-wma
WMAFULL



jpeg
IMAGE_ITEM
image/jpeg


png
image/png
0
0

false

false




IMAGE_ITEM
image/bmp


IMAGE_ITEM
image/png


IMAGE_ITEM
image/gif



mpeg
VIDEO_ITEM
video/mpeg


VIDEO_ITEM
video/mp4


VIDEO_ITEM
video/avi


VIDEO_ITEM
video/x-ms-wmv


VIDEO_ITEM
video/x-ms-vob


VIDEO_ITEM
video/x-extension-vdr

vob
video/x-ms-vob



VIDEO_ITEM
application/x-flash-video


VIDEO_ITEM
video/x-ms-asf



PLAYLIST
audio/x-scpls


PLAYLIST
audio/x-mpegurl





UPnP/1.0 DLNADOC/1.00
PLAYSTATION3

true
50


AUDIO_ITEM_MUSIC_TRACK

stream





%s %v : 1 : Windows Media Connect
Windows Media Connect compatible (%s)
2.0

Xbox/2.0.\d+.\d+ UPnP/1.0 Xbox/2.0.\d+.\d+
Xenon
true




container
true


dma/1.0 \(http://www.cybertan.com.tw/\)
UPnP/1.0 DLNADOC/1.00
file
101




* /etc/fuppes/vfolder.cfg
















sumber:http://howtoforge.com/set-up-a-linux-playstation-3-media-server-centos-5.2

No comments: