If you have different Linux distribution you need to install required tools manually.
1. MediInfo library
You need libmediainfo installed for PS3MS to function properly. Grab it here:
- Debian
- Ubuntu, Linux Mint (You don't need this if you installed official Ubuntu PS3 Media Server package!)
- CentOS
- Fedora
- OpenSUSE
- Mandriva
- Arch Linux
Download and install in order these packages: 1. libzen 2. libmediainfo 3. CLI. Then restart PS3 Media Server. Upon startup you should see in Trace tab something like "Loaded MediaInfoLib - VERSION":
If you run PS3MS on headless server search for this string in debug.log.
2. mencoder, ffmpeg and other transcoding tools
Half of the time PS3 Media Server errors are due to old versions of mencoder, ffmpeg etc your system is using. PS3 Media Server needs specific pre-patched and tested builds of these tools (especially mencoder) to work correctly! Official Ubuntu/Debian PS3MS package includes them, for any other Linux version you need to install tools manually.
Download precompiled tools archive from this folder. Choose i386 archive for 32-bit OS and amd64 for 64-bit OS. *_1204_* tools are build with 12.04 ubuntu. Try them first, if unsuccessful download *_1110_* archive.
Now unpack downloaded archive and move tools to /opt/ps3mstools. Example for 64-bit tools:
- Code: Select all
tar jxf linux_amd64_1204_sb22.tar.bz2
sudo mv ./linux_amd64_1204_sb22/ /opt/ps3mstools/
Go to /opt/ps3mstools and run each tool from terminal:
- Code: Select all
cd /opt/ps3mstools
./mencoder
./mplayer
./ffmpeg
./dcraw
./tsMuxeR
Every program should exit gracefully with meaningful error message. You should not see any segfault crashes etc. If you experience problems with tsMuxeR on 64-bit system see step 2(b).
Now add these lines to PMS.conf (usually ~/.config/PMS/PMS.conf or ~/.config/ps3mediaserver/PMS.conf):
- Code: Select all
mencoder_path = /opt/ps3mstools/mencoder
ffmpeg_path = /opt/ps3mstools/ffmpeg
mplayer_path = /opt/ps3mstools/mplayer
tsmuxer_path = /opt/ps3mstools/tsMuxeR
dcraw_path = /opt/ps3mstools/linux/dcraw
and then restart PS3 Media Server. Now you shouldn't see any errors related to mencoder/ffmpeg on Trace tab (debug.log).
2(b). tsMuxeR on 64bit systems
tsMuxeR is 32bit binary. You need some form of 32-bit library compatibility layer to run it on 64bit OS. Most distributions provide it out of the box, if not search for something like ia32-libs package. <We need more distribution-specific instructions here!>
3. FLAC (optional)
For FLAC files streaming you'll need flac tool installed. Most distribution provides it by default, just install with package manager: sudo apt-get install flac for Debian/Ubuntu, sudo yum install flac for CentOS/RHEL etc.
Now you should have all dependencies for PS3 Media Server installed.
