Playstation 5, HEVC, h265

Do I just suck at searching? There’s no profile for the PS5 and no one has made one yet? Here’s a working 4k TV profile for the Playstation 5. Tested with MKV and MP4. MKV enables direct streaming. MP4 enables DirectPlay.

Name it “PlayStation 5 App.xml” and stick it in the /PlexMediaServer/Resources/Profiles directory. Restart your server.

Note the author line. This is a modified PS4 XML. I feel like this should be included in Plex releases by now.

I probably just suck at searching :joy:

<?xml version="1.0" encoding="utf-8"?>
<Client name="PlayStation 5 App">
  <!-- Author: Plex Inc. -->
  <TranscodeTargets>
    <VideoProfile protocol="hls" container="mpegts" videoCodec="h264" audioCodec="aac" context="streaming" >
        <Setting name="BreakNonKeyframes" value="true" />
    </VideoProfile>
    <VideoProfile protocol="dash" container="mp4" videoCodec="h264" audioCodec="aac" context="streaming" >
        <Setting name="BreakNonKeyframes" value="true" />
    </VideoProfile>
    <MusicProfile protocol="hls" container="mpegts" videoCodec="h264" audioCodec="aac" context="streaming" />
    <MusicProfile protocol="dash" container="mp4" videoCodec="h264" audioCodec="aac" context="streaming" />
  </TranscodeTargets>
  <DirectPlayProfiles>
        <VideoProfile container="mp4" codec="hevc,h265,mpeg1video,mpeg2video,h264,mpeg4" audioCodec="eac3,ac3,aac,mp3,mp2"/>
    	<VideoProfile container="mkv" codec="vp9,hevc,h265,mpeg1video,mpeg2video,h264,mpeg4" audioCodec="eac3,ac3,aac,mp3,mp2,pcm,flac,alac" subtitleFormat="srt,ass"/>
        <PhotoProfile container="jpeg" />
  </DirectPlayProfiles>
  <CodecProfiles>
    <VideoCodec name="h264">
      <Limitations>
        <LowerBound name="video.width" value="50" isRequired="true" />
        <LowerBound name="video.height" value="50" isRequired="true" />
        <UpperBound name="video.width" value="1920" isRequired="true" />
        <UpperBound name="video.height" value="1080" isRequired="true" />
        <UpperBound name="video.bitDepth" value="8" />
      </Limitations>
    </VideoCodec>
    <VideoCodec name="h265,hevc,vp9">
      <Limitations>
         <UpperBound name="video.width" value="3840"/>
         <UpperBound name="video.height" value="2176"/>
    	 <UpperBound name="video.bitrate" value="75000"/>
      </Limitations>
    </VideoCodec>
    <VideoAudioCodec name="aac">
      <Limitations>
        <UpperBound name="audio.channels" value="6" />
        <LowerBound name="audio.bitrate" value="96" />
        <UpperBound name="audio.bitrate" value="256" />
        <LowerBound name="audio.samplingRate" value="32000" />
        <UpperBound name="audio.samplingRate" value="48000" />
        <Match name="audio.samplingRate" list="32000|44100|48000" />
      </Limitations>
    </VideoAudioCodec>
  </CodecProfiles>
</Client>

Plex doesn’t use profiles anymore if the app already exists for the host which can communicate the player’s capabilities.

The idea behind profiles was how to have a basic app. The profile then told PMS what the device can do .

Since those days, profiles aren’t needed.

The app communicates with PMS at the start of each playback.
In your logs you’ll find MDE: entries. This is the player telling PMS two things:
– 1. What its capabilities are
– 2. What it wants to play (including options)

This exchange does what profiles used to.

Bottom line, If you have an App now, you don’t need a profile.

Ok I understand what you’re saying, however PlayStation 5 transcodes all my hevc stuff without this profile in place, so something is borked. How would I figure out where that’s broken?

If you need the profile to playback HEVC then the APP is being dumb.

You should have an app setting to turn on debug / logging.

The process then is to

  1. Enable Debug logging in PMS (Settings-Server- General - Show Advanced - SAVE)

  2. Start the playback which causes the HEVC to be transcoded.

  3. Stop the playback but don’t exit the app.

  4. Go to the PS and download its player logs

  5. Now go to PMS and download its server logs.

Upload both here please and I’ll take them to the engineer.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.