Installed PS3 Media Server on DS1511+

Questions about using 3rd party Media Streaming software may go here
Forum rules
Please note the disclaimer before modifying your Synology Product.

Installed PS3 Media Server on DS1511+

Postby dotcom78 » Thu Jun 09, 2011 4:54 am

EDIT: After much searching, I was unable to find an easy way to install the required mencoder software to make pms fully functional (I wasn't able to stream MKV). Short of compiling it myself and trying to work out what the switches to use to compile it with are, I went looking for a different solution. I found 'Serviio'. Patters has put together a really great guide for setting it up. I installed it last night and it works great, including streaming HD MKV's. See his post at viewtopic.php?f=143&t=33542&p=149964#p149964 for details.

--

Hi all, I'm new to this forum and Synology products. I've just purchased a DS1511+. Great product. I'd been running PS3 Media Server http://www.ps3mediaserver.org/ on a Ubuntu VM on my MacMini and decided to try moving it to the DS1511.

Big thanks to this post http://www.panticz.de/PS3-Media-Server- ... DS411-plus for pointing me in the right direction. There were a couple of little mods to do to make sure I had the latest versions and I had to modify my PMS.conf file but it works. I'm now streaming from the DS1511 to the PS3.

Anyway, here's the steps to do. If you want to you could copy and paste everything below the DS1511 root login in a pmsinstall.sh file and execute it as a script but I prefer to step through it.

I'm using the latest version of PMS, 1.23.0.
Code: Select all
# login as root to your DS1511
ssh root@<YOUR_DS1511_IP>
 
# download lastest java
wget http://javadl.sun.com/webapps/download/AutoDL?BundleId=49015 -O /tmp/java.bin
 
# extract
cd /tmp
sh /tmp/java.bin
 
# move to right place
mv /tmp/jre1.6.0_26/ /usr/java
 
# get PMS
wget http://ps3mediaserver.googlecode.com/files/pms-generic-linux-unix-1.23.0.tgz -P /tmp
 
# extract
tar xzf /tmp/pms-generic-linux-unix-1.23.0.tgz
 
# move
mv /tmp/pms-linux-1.23.0/ /usr/pms

# Optional cleanup, remove the # on the next line to use
# rm /tmp/pms-generic-linux-unix-1.23.0.tgz java.bin
 
# set port to 5002
cat <<EOF> /usr/pms/PMS.conf
port=5002
folders=/volume1/Movies
EOF
 
# create start script
cat <<EOF> /etc/rc.pms
#!/bin/sh
 
# set envirment
export JAVA_HOME=/usr/java
export PMS_HOME=/usr/pms
 
# start PMS server
/usr/PMS.sh > /tmp/pms.log
EOF
 
 
# If rc.local already exists, use vi to update it with the following values. If not,
# vi /etc/rc.local
cat <<EOF> /etc/rc.local
#!/bin/sh -e
sh /etc/rc.pms
exit 0
EOF

#That's it. The PMS should start when your 1511 boots. If you want to start it manually, simply
# run the following at the command line.
export JAVA_HOME=/usr/java
export PMS_HOME=/usr/pms
/usr/pms/PMS.sh



For those that are interested, this is my PMS.conf file. I basically made it using PMS on the Mac using the GUI and then used the values to put in the Linux build. They may or may not be relevant to your system. I'm still nutting out the MKV playback. I suspect it may be a case of using a different engine. I'll update when I get back to look at it tonight.

Code: Select all
port=5002
folders=\/volume1\/Movies,\/volume1\/TV\ Shows
thumbnails = false
thumbnail_seek_pos = 300
hide_enginenames = true
audiochannels = 6
nbcores = 1
turbomode = false
minimized = true
hidevideosettings = true
usecache = false
charsetencoding = 850
engines = mencoder,avsmencoder,tsmuxer,mplayeraudio,ffmpegaudio,tsmuxeraudio,vlcvideo,mencoderwebvideo,mplayervideodump,mplayerwebaudio,vlcaudio,ffmpegdvrmsremux
autoloadsrt = true
avisynth_convertfps = true
avisynth_script = #AviSynth script is now fully customisable !\u0001#You must use the following variables (\"clip\" being the avisynth variable of the movie):\u0001#<movie>: insert the
transcode_block_multiple_connections = false
tsmuxer_forcefps = true
tsmuxer_preremux_pcm = false
tsmuxer_preremux_ac3 = false
audiobitrate = 384
maximumbitrate = 0
skiploopfilter = true
enable_archive_browsing = false
mencoder_fontconfig = false
mencoder_font =
mencoder_forcefps = false
mencoder_usepcm = false
mencoder_intelligent_sync = true
mencoder_decode =
mencoder_encode = keyint=1:vqscale=1:vqmin=2
mencoder_nooutofsync = true
mencoder_audiolangs = eng
mencoder_sublangs = eng
mencoder_audiosublangs =
mencoder_subfribidi = false
mencoder_ass_scale = 1.0
mencoder_ass_margin = 10
mencoder_ass_outline = 1
mencoder_ass_shadow = 1
mencoder_noass_scale = 3
mencoder_noass_subpos = 2
mencoder_noass_blur = 1
mencoder_noass_outline = 1
mencoder_subcp = cp1252
mencoder_ass = false
mencoder_disablesubs = false
mencoder_yadif = false
mencoder_scaler = false
mencoder_scalex = 0
mencoder_scaley = 0
ffmpeg = -g 3 -qscale 2 -qmin 3



I'm interested to hear anyone elses experience with this. I'm not sure if it will work on other systems but there's no reason it shouldn't. Functionally, you will only be limited by the CPU power in your Syno box.

My next little project will be to try and get Plex Media Server running also.
- Synology DS1511+
- Mac Mini 2009 running Plex Media Server
- Sony PS3
- Sony Bravia KDL46XBR
- iPhone 3GS
- TP-Link 8 Port Gigabit Switch
- A never ending quest to link them all together so they can all do everything
User avatar
dotcom78
I'm New!
I'm New!
 
Posts: 8
Joined: Thu Jun 09, 2011 4:13 am
Location: Adelaide, Australia

Re: Installed PS3 Media Server on DS1511+

Postby Martin H » Tue Jun 14, 2011 10:10 pm

PM me when you get Plex up and running, I have tried for days to find a good way of installing it.
Martin H
I'm New!
I'm New!
 
Posts: 6
Joined: Wed Apr 07, 2010 8:00 pm

Re: Installed PS3 Media Server on DS1511+

Postby dotcom78 » Wed Jun 15, 2011 1:42 am

Martin H wrote:PM me when you get Plex up and running, I have tried for days to find a good way of installing it.


Plex Media Server is already running on the Mini. I've just moved all my media from external USB drives to the NAS and then mounted it on the mini via NFS. You can use disk utility to make the NFS mounts permanent. Once you have the NAS mounted then Plex can work the same. Though you may have to rescan your media. Plex Media Manager doesn't handle having all it's media moved.

Plex did release a version for the Synology NAS devices but as far as I can tell, no one has been able to get it working yet. I'd love to hear from anyone that has. I think I'll keep running it the way I am until it gets just a bit more stable on the Synology platform.

Even if I could move the Plex server, until I upgrade to one of the new LG TV's I have to keep the Mini running as a Plex client anyhow.
- Synology DS1511+
- Mac Mini 2009 running Plex Media Server
- Sony PS3
- Sony Bravia KDL46XBR
- iPhone 3GS
- TP-Link 8 Port Gigabit Switch
- A never ending quest to link them all together so they can all do everything
User avatar
dotcom78
I'm New!
I'm New!
 
Posts: 8
Joined: Thu Jun 09, 2011 4:13 am
Location: Adelaide, Australia

Re: Installed PS3 Media Server on DS1511+

Postby d33g33 » Thu Jun 16, 2011 7:30 am

Great effort!

Can I ask when you say, having problems playing .mkv do you mean, they dont play at all?

As this is the main reason to run PMS anyway so you can transcode. It's probably something to do with the codecs used to transcode but I don't know enough to back it up.

If you do get it streaming with .mkv/h264 working please let me know. That woudl be more than awesome...
d33g33
Trainee
Trainee
 
Posts: 15
Joined: Sun Mar 20, 2011 8:55 pm

Re: Installed PS3 Media Server on DS1511+

Postby dotcom78 » Thu Jun 16, 2011 7:55 am

d33g33 wrote:Great effort!

Can I ask when you say, having problems playing .mkv do you mean, they dont play at all?

As this is the main reason to run PMS anyway so you can transcode. It's probably something to do with the codecs used to transcode but I don't know enough to back it up.

If you do get it streaming with .mkv/h264 working please let me know. That woudl be more than awesome...


I didn't try for too long. But when I tried to play a .mkv file on my PS3 it just came back with 'Data Corrupted' or something similar. As I mentioned in my first post, I noticed that mencoder was not installed and is required. I had a look at building mencoder and it all got a bit difficult. Serviio was fairly easy to install and since it uses ffmpeg for video decoding / transcoding, it worked perfectly for .mkv files. ffmpeg is easy to install you don't have it on there already. Which is why I didn't put any more effort into making PMS work.

You may have some success with PMS if you change your 'engines' line to use a different engine but, please correct me if I'm wrong, I think PMS only supports ffmpeg for audio decoding. So you need to find a way to install mencoder / mplayer on the Syno box.
- Synology DS1511+
- Mac Mini 2009 running Plex Media Server
- Sony PS3
- Sony Bravia KDL46XBR
- iPhone 3GS
- TP-Link 8 Port Gigabit Switch
- A never ending quest to link them all together so they can all do everything
User avatar
dotcom78
I'm New!
I'm New!
 
Posts: 8
Joined: Thu Jun 09, 2011 4:13 am
Location: Adelaide, Australia

Re: Installed PS3 Media Server on DS1511+

Postby neds » Tue Sep 13, 2011 11:15 am

Please can you let me know whether you were able to stream ISO files to the PS3?
neds
I'm New!
I'm New!
 
Posts: 1
Joined: Tue Sep 13, 2011 11:11 am

Re: Installed PS3 Media Server on DS1511+

Postby robotmak » Tue Sep 20, 2011 2:17 am

i need help, I'm getting stuck at "mv /tmp/jre1.6.0_26/ /usr/java"

# download lastest java
wget http://javadl.sun.com/webapps/download/ ... leId=49015 -O /tmp/java.bin

# extract
cd /tmp
sh /tmp/java.bin

# move to right place
mv /tmp/jre1.6.0_26/ /usr/java


this is the error i'm getting


DiskStation> mv /tmp/jre1.6.0_26/ /usr/java
mv: failed to preserve ownership for /usr/java/jre1.6.0_26/javaws/javaws: Function not implemented
mv: failed to preserve ownership for /usr/java/jre1.6.0_26/man/ja: Function not implemented
mv: failed to preserve ownership for /usr/java/jre1.6.0_26/lib/i386/client/libjsig.so: Function not implemented
mv: failed to preserve ownership for /usr/java/jre1.6.0_26/lib/i386/server/libjsig.so: Function not implemented
mv: failed to preserve ownership for /usr/java/jre1.6.0_26/bin/ControlPanel: Function not implemented

later i ran "/usr/pms/PMS.sh"
I get this problem
DiskStation> /usr/pms/PMS.sh
/usr/pms/PMS.sh: cd: line 29: can't cd to usr/pms
Exception in thread "main" java.lang.NoClassDefFoundError: net/pms/PMS
Caused by: java.lang.ClassNotFoundException: net.pms.PMS
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: net.pms.PMS. Program will exit.
robotmak
Trainee
Trainee
 
Posts: 11
Joined: Tue Feb 01, 2011 3:53 pm

Re: Installed PS3 Media Server on DS1511+

Postby tcviper » Mon Oct 10, 2011 2:45 pm

Someone should make a spk package for this, would be way easier.
tcviper
Trainee
Trainee
 
Posts: 10
Joined: Sat Oct 08, 2011 2:37 pm


Return to Media Streaming Mods

Who is online

Users browsing this forum: No registered users and 3 guests