Pages

Sunday, November 16, 2008

PS3 Media Server

Hi there... you will find on this page an experimental upnp media server I've written in Java (so you can also use it on Linux), with precious help from MPlayer/MEncoder, FFMpeg, AVISynth eventually, and currently using with my Playstation3.... I was quite fed up with TVersity and others servers I've tried as none of them easily supports subtitles and 1080p transcode, as well as any kind of files I want to play without worrying about ps3 compatibility.

I'm currently transcoding in real-time and no quality loss, 1080p mkv files. The drawback is the high bitrate your network must support: with the default settings, specific scenes with a lot of details (e.g.: zoom on a newspaper article) can have bitrates near 100mb/s, so gigabit is maybe useful.
The fact is, in order to see HD videos it's better to have an ethernet wired PS3 !

Download

PMS 0.96 for Windows
PMS 0.96 for Linux

Current features
  • Ready to launch and play. No codec packs to install. No folder configuration and pre-parsing or this kind of annoying thing. All your folders are directly browsed by the PS3. There's an automatic refresh also.
  • Real-time video transcoding via MEncoder or Avisynth.
  • OGG/FLAC/MPC Audio transcoding
  • Thumbnail generation for Videos
  • You can choose your audio/subtitle language on the PS3!
  • All formats PS3 natively supports: MP3/WMA, JPG/PNG/GIF/TIFF, and all kind of videos (AVI, MP4, TS, M2TS, MPEG) the ps3 is willing to play
  • ZIP/RAR files as browsable folders
  • Preliminary support for pictures based feeds, such as Flickr and Picasaweb
  • Preliminary Internet TV / Web Radio support with VLC or MPlayer


  • Requirements
  • A fairly recent cpu (mine is a C2D E6750, 2.66GHz) for smooth 1080p transcoding, but 720p seems to be easily transcodable with a simple P4 :p
  • 750Mb of RAM (for transcoding)


  • Installation
  • Get a Java Runtime Environment (Java6 minimum)
  • Launch PMS.exe (PMS.sh on Linux)
  • If the server is not detected by the PS3 (this can happens if you have several network interfaces), try setting yourself the correct IP address in the network configuration tab


  • Transcoding on Windows
    2 possible methods:

    A) Using the server "as is": No codecs pack to install, it will use Mencoder for the transcoding part.

    B) Using Avisynth/FFDshow. Paired with CoreAVC, it's quite efficient with multi cores.

  • 1- If not already done, get and install a codec pack with ffdshow. My favorite is CCCP Codec Pack
  • 2- Get and install AVISynth 2.5.7 (I've met some framerate problems with 2.5.8 betas)
  • 3- Set up the FFDShow Audio Mixer to 5.1 (3/0/2 LFE)
  • 4- Set "Autoload VS Filter" to true
  • 5- Configure Haali Splitter for audio/subtitles language priorities
  • Optional Codecs: CoreAVC is quite cheap and a good choice for H264 decoding (as FFDshow's libavcodec isn't yet fully optimized with multicores), Quicktime Alternative and Real Alternative are also useful (Apple 1080p trailers for example).


  • Transcoding on Linux
    You just need to have mplayer, mencoder and ffmpeg binaries on your path (the more recent, the better).

    Usage
    By default, wmv, avi, mpeg files are streamable, except in case of srt/sub file present with the same file name. All videos can be transcoded, as each streamable video appears once into its folder, and once into a special folder "#Transcoded#" present in each sub folder, with different options (audio/subtitles/other transcoding tools maybe) so you can choose what's working best on ps3. However, only ogg, flac, and mpc audio files can be transcoded (I assume all mp3, wma and wav files can be played 'as is' by the ps3)

    History:
  • v0.96:
    - Interactive way of choosing your audio language, subtitles and transcoder mode (see #Transcoded# Folder)
    - Interactive settings (see #Settings# Folder)
    - Better subtitles looking
    - Folders browsing optimization
    - Several network errors fixes with 2.52 firmware
    - A lot of small things
  • v0.95: MEncoder now included as it's used for the transcoding part (Avisynth or not), Fixes with the 2.50 firmware, Better transcoding performance (but greater bitrates !), Lighter configuration file
  • v0.94: Fixes: 2.50 Firmware problem, better pipes and sub processes management
  • v0.93: Fixed bug in the server IP adress binding
  • v0.92: Linux compatible version / Bugs fixes / No more A/V temp files created (full use of pipes)
  • v0.91: Better memory handling / automatic detection of VLC and AviSynth
  • v0.90: First release, some bugs, experimental stuff done for myself (at first!)


  • Known issues:
  • Seek to specific time is OK, but fast forward/fast rewind can be difficult to use, especially with Avisynth transcoding (depends of the machine)
  • Ass subtitles are not yet fully implemented in MEncoder (embedded fonts not working). Try Avisynth/Vobsub if the font design does matters :)
  • XML character encoding issues (asian characters, etc.)

    Planned features ?
  • Several encoding profiles: wired, low network bandwidth, etc.
  • Linear PCM output: Not possible for now as I have yet to found a good lpcm muxer, compatible with the ps3 (or make mine)
  • GUI configuration
  • Better audio files tags handling
  • No comments:

    Post a Comment

    Followers

    Powered By Blogger

    Search This Blog

    Labels