If you have not already, we suggest setting your Plex username to something else rather than email which is displayed on your posts in forum. You can change the username at https://app.plex.tv/desktop#!/account
Welcome to our forums! Please take a few moments to read through our Community Guidelines (also conveniently linked in the header at the top of each page). There, you'll find guidelines on conduct, tips on getting the help you may be searching for, and more!

Android.xml to play 4k 60fps with nVidia Shield TV

olavrbolavrb Posts: 18Members, Plex Pass Plex Pass

Here is my modified Android.xml for Shield TV. Finally I can play Big Buck Bunny 2160p 60fps AVC/H264 without transcoding ^^
Location: %ProgramFiles(x86)%\Plex\Plex Media Server\Resources\Profiles

    <?xml version="1.0" encoding="utf-8"?>
    <Client name="Android">
      <!-- Author: Plex Inc. -->
      <TranscodeTargets>
        <VideoProfile protocol="hls" container="mpegts" codec="h264" audioCodec="aac" context="streaming" />
        <VideoProfile container="mp4" codec="h264" audioCodec="aac" context="static" />
        <MusicProfile container="opus" codec="opus" id="StereoMusicTranscodeProfile" />
        <PhotoProfile container="jpeg" />
      </TranscodeTargets>
      <DirectPlayProfiles>
        <VideoProfile container="mp4" codec="h264,mpeg4,avc,h265,hevc" audioCodec="aac,opus,flac,ac3,mp3" />
        <VideoProfile container="mkv" codec="h264,mpeg4,avc,h265,hevc,vp8,vp8.0,vp9,vp9.0" audioCodec="aac,opus,vorbis,flac,ac3,mp3" />
        <VideoProfile container="webm" codec="vp8,vp8.0,vp9,vp9.0" audioCodec="opus,vorbis" />
        <MusicProfile container="mp4" codec="aac" />
        <MusicProfile container="mp3" codec="mp3" />
        <MusicProfile container="flac" codec="flac" />
        <MusicProfile container="ogg,oga" codec="vorbis,opus" />
        <MusicProfile container="opus" codec="opus" />
        <MusicProfile container="mka" codec="aac,vorbis,opus,mp3,flac,pcm,wav,alac,ac3" />
        <PhotoProfile container="jpeg,gif,bmp,png,webp" />
      </DirectPlayProfiles>
      <ContainerProfiles>
        <VideoContainer name="mp4">
          <Limitations>
            <Match name="part.optimizedForStreaming" value="1" />
          </Limitations>
        </VideoContainer>
      </ContainerProfiles>
      <CodecProfiles>
        <VideoCodec name="*">
          <Limitations>
            <UpperBound name="video.width" value="4096" isRequired="false" />
            <UpperBound name="video.height" value="2160" isRequired="false" />
            <UpperBound name="video.frameRate" value="60" isRequired="false" />
            <NotMatch name="video.anamorphic" value="1" />
          </Limitations>
        </VideoCodec>
        <VideoCodec name="h264">
          <Limitations>
            <Match name="video.profile" list="baseline|main|high" isRequired="false" />
          </Limitations>
        </VideoCodec>
        <VideoAudioCodec name="aac">
          <Limitations>
            <UpperBound name="audio.channels" value="6" isRequired="false" />
          </Limitations>
        </VideoAudioCodec>
      </CodecProfiles>
    </Client>

Comments

  • AltheranAltheran Posts: 20Members, Plex Pass Plex Pass

    Reviving this thread,

    Cant this modification be applie permanently in an official release ?:

    ?

    I understand this would allow the direct play of hevc content in an mkv container possible ?

    Can there be a different media profile for the shield ?

  • PerenorPerenor Posts: 6Members, Plex Pass ✭✭

    Where can I find this Android.XML file? I'm trying to play a x265 HEVC file with AAC sound?

  • olavrbolavrb Posts: 18Members, Plex Pass Plex Pass

    %ProgramFiles(x86)%\Plex\Plex Media Server\Resources\Profiles

Sign In or Register to comment.