Sony Playstation 3

From FUPPES

Jump to: navigation, search

To enable support for the Playstation 3, start by opening the fuppes.cfg in your favourite text editor. Then proceed to read this entire page for information:

Contents

Audio

To enable mp3 playback you have to enable DLNA support. Set the value of the <enable_dlna> node to true. If you use the predefined PS3 device setting DLNA support is already enabled.

transcoding

To enable audio transcoding for the PS3 you have to set the transcoding release delay to at least 50 seconds. If you use the predefined PS3 settings the value is already set to 50.

For each file type you wish to transcode you must change/override the default settings with the following values.

 <file_settings>
   <file ext="ogg">
   <type>AUDIO_ITEM_MUSIC_TRACK</type>
   <transcode enabled="true">
     <http_encoding>stream</http_encoding>
   </transcode>
   </file>
 </file_settings>
  • type
    The PS3 needs the UPnP object type item.audioItem.musicTrack. Default is item.audioItem
  • http_encoding
    The PS3 can't handle chunked mp3 streams so you have to set the encoding type to stream. Default is chunked

Video

With the introduction of firmware 2.10 for the PS3 (12.17.2007) Divx/Xvid playback are possible without the need for transcoding.

The following lines will allow playback for these files, this should be added to your PS3 device section.

       <file ext="avi">
         <type>VIDEO_ITEM</type>
         <mime_type>video/x-divx</mime_type>
       </file>

Firmware 2.10 also breaks streaming MPEG 2 TS (ie DVB captures, mythtv saves, etc) files from a UPNP server. A workaround for this is to add the following to the PS3 section of your fuppes.cfg file.

       <file ext="mpg">
         <type>VIDEO_ITEM</type>
         <transcode enabled="true">
           <transcoder>ffmpeg</transcoder>
           <mime_type>video/mpeg</mime_type>
           <ext>mpg</ext>
           <video_codec>copy</video_codec>
           <audio_codec>mp2</audio_codec>
           <audio_samplerate>44100</audio_samplerate>
           <audio_bitrate>192000</audio_bitrate>
         </transcode>
       </file>

Note: This config isn't needed for all mpeg2 mythtv saves with fw 2.10 (but with some saves it is required): FYI - I'm using PS3 firmware 2.10 and do not need the above config to play back my mpeg2 mythtv saves:


transcoding

divx/xvid

The following example will let the PS3 play divx 4,5 & xvid natively (firmware update may be required) but anything encoded as "msmpeg4" (often Divx3) will be transcoded into a mpeg since the PS3 don't seem to like these files anyway.

<file ext="avi">
  <type>VIDEO_ITEM</type>
  <mime_type>video/x-divx</mime_type>
  <transcode enabled="true">
    <transcoder>ffmpeg</transcoder>
    <ext>mpg</ext>
    <mime_type>video/mpeg</mime_type>
    <video_codec vcodec="msmpeg4">mpeg1video</video_codec>
    <video_bitrate>1800000</video_bitrate>
    <audio_codec acodec="wmav2">mp2</audio_codec>
    <audio_samplerate>44100</audio_samplerate>
    <audio_bitrate>192000</audio_bitrate>
  </transcode>
</file>

Others formats

For most other formats you can use the transcode feature. This is an example for files in a matroska container:

      <file ext="mkv">
        <type>VIDEO_ITEM</type>
        <mime_type>video/x-matroska</mime_type>
        <transcode enabled="true">
          <transcoder>ffmpeg</transcoder>
          <ext>mpg</ext>
          <mime_type>video/mpeg</mime_type>
          <video_codec>mpeg2video</video_codec>
          <video_bitrate>1800000</video_bitrate>
          <audio_codec>mp2</audio_codec>
          <audio_samplerate>44100</audio_samplerate>
          <audio_bitrate>192000</audio_bitrate>
        </transcode>
      </file>

You can transcode other files (like *.mkv, *.mp4, *.vob, *.mpg...) by changing the settings:

  • <file ext="YourFileExtension">
  • <mime_type>YourMimeType</mime_type>

Possible codecs for transcoding

This is an incomplete list of video and audio codecs that you can use for transcoding.

type codec ffmpeg name bitrate/samplerate works with firmware versions comments
video MPEG video mpeg1video 1800000/- 2.10, 2.30 -
video MPEG2 video mpeg2video 1800000/- 2.10 better quality per bitrate than mpeg1video
audio MPEG audio layer 2 mp2 192000/44100 2.10, 2.30 -

Firmware Updates

This is a list of the firmware updates for the PS3 and how they effect fuppes.

Firmware Update 2.70

As of the firmware update 2.70 - 5th April 2009, you will need to alter the user_agent description from 1.00 to 1.50 in the config file.

<user_agent>UPnP/1.0 DLNADOC/1.50</user_agent>

Thanks to exz in the forums for originally spotting this. It should be noted that this has been added to the project as of today. --robertmassaioli 00:33, 9 December 2009 (UTC)

Personal tools