After doing a bit of digging I was able to get PS3 Media Server SVN running on Ubuntu 9.10 64bit, with the ability to play hd x264 mkv files utilizing the latest and greatest mplayer, mencoder, and ffmpeg, Hopefully this helps others in a similar situation. These steps should also work on a 32bit system.

Note that this worked for me, but I can't guarantee that it won't completely destroy your computer, so use at your own risk.

Installing ffpmeg, x264, mplayer and mencoder

First, follow these instructions to install the very latest ffmpeg and x264:http://ubuntuforums.org/showthread.php?t=786095(svn x264 is required for compiling x264. ffmpeg can be omitted if you plan on using ffmpeg-mt fore multicore cpu utilization, see below)

Next remove mplayer and mencoder from your system by issuing the following command:

TweaksI was having an issue skipping forward on certain movies. It would only allow me to skip, say 1 hour forward. Any further than that and the movie would pause and I couldn't start it. Upon examining the logs and reviewing some forum posts, it was determined that tsMuxeR was the problem. Within PS3MediaServer, I completely disabled tsmuxer, and I no longer have this issue.

Make PS3 Media Server start on login

PMS.sh HAS to be ran from the directory it is in... if you run it by typing /home/username/ps3ms/PMS.sh, you will get errors when playing your files, and if you click on the README tab or FAQ tab, they will be blank. This is because it uses relative paths in it's code. The only correct way to run PMS.sh is to first cd into the directory, then run ./PMS.sh.

It is because of this, that when you try to run PMS.sh from your Startup programs, you will run into issues trying to play movie files. To get around this, create a script file that will first cd into the directory, and then run PMS.sh.

Create a file in your home directory called start-pms.sh, with a text editor add the following to it:

been following your excellent guide and been trying to get ps3media server to work in ubuntu 9.10.everything seems to go smoothly until im going to start it, i write ./PMS.sh and i get the following: bash: ./PMS.sh: Permission deniedi try run it as sudo ./PMS.sh but all i get is a sudo: ./PMS.sh: command not found

I'll try find out how to set the Java HOME permanently to your own directory, or you could try and move the jre folder to the specific spot where your error message suggests it want's to find it (Haven't tried this, so it may not work).

Open a new terminal window and type java -version to make sure you’re running the java version you expected. Type env and verify that PATH variable contains the path to the JDK that you exported before.

This should set your java variables permanently when you run from a terminal with the command

The above works, however, when I run from the GUI and tell it to run in terminal it uses the old java environment variables... very strange considering i physically changed them, could it be hard coded into the application somewhere?

industrai wrote:First download JDK 6 from Sun. We need this to compile PS3 Media Server. Go to Google JDK 6, and grab the latest JDK from Sun. As of this writing it is JDK 6 Update 16, and the filename I downloaded for 64bit was jdk-6u16-linux-x64.binOnce the file has finished downloading, in your terminal window navigate to your Downloads

It's not really necessary to manually download and compile Java like that. Depending on which version of Java you use (A: Sun, or B: OpenJDK; determinable via "java -version" in a console), you can use the repositories. Far less confusing, and you don't have to worry about any of that JAVA_HOME stuff: