Android TV direct play

Server Version#:1.42.1.10060
Player Version#:10.30.4.4092

I have an Sony Bravia Android TV. When trying to stream an AVI/MPEG4(XVID) movie, the playback doesn’t start on TV and I have to manually force to transcode (then it is ok). I was wondering if it is possible to automate that. I tried to adjust the plex profile for android (server logs say it is the one used for my TV): see below, block AVI, block XVID. But it is not working: streaming decision is always directplay

<?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="mp3" codec="mp3" id="StereoMusicTranscodeProfile" />
    <PhotoProfile container="jpeg" />
  </TranscodeTargets>
  <DirectPlayProfiles>
    <VideoProfile container="mp4" codec="h264" audioCodec="aac" />
    <MusicProfile container="mp4" codec="aac" />
    <MusicProfile container="mp3" codec="mp3" />
    <MusicProfile container="flac" codec="flac" />
    <MusicProfile container="ogg" codec="vorbis" />
    <PhotoProfile container="jpeg,gif,bmp,png" />
  </DirectPlayProfiles>
  <ContainerProfiles>
    <VideoContainer name="avi">
      <Limitations>
        <NotMatch name="container" value="avi" isRequired="true" />
      </Limitations>
    </VideoContainer>
    <VideoContainer name="mp4">
      <Limitations>
        <Match name="part.optimizedForStreaming" value="1" />
      </Limitations>
    </VideoContainer>
  </ContainerProfiles>
  <CodecProfiles>
    <VideoCodec name="mpeg4">
      <Limitations>
      <!-- Empêche toute lecture directe des vidéos MPEG-4 ASP / Xvid -->
        <NotMatch name="video.codec" value="mpeg4" isRequired="true" />
      </Limitations>
    </VideoCodec>
    <VideoCodec name="xvid">
      <Limitations>
      <!-- Empêche toute lecture directe des vidéos Xvid -->
        <NotMatch name="video.codec" value="xvid" isRequired="true" />
      </Limitations>
    </VideoCodec>
    <VideoCodec name="*">
      <Limitations>
        <UpperBound name="video.width" value="1920" isRequired="true" />
        <UpperBound name="video.height" value="1080" isRequired="true" />
        <NotMatch name="video.anamorphic" value="1" />
      </Limitations>
    </VideoCodec>
    <VideoCodec name="h264">
      <Limitations>
        <Match name="video.profile" list="baseline|main|high" />
      </Limitations>
    </VideoCodec>
    <VideoAudioCodec name="aac">
      <Limitations>
        <UpperBound name="audio.channels" value="2" />
      </Limitations>
    </VideoAudioCodec>
  </CodecProfiles>
</Client>

My initial suggestion would be to remux the video into a better-supported container (MKV) to ensure there’s not a container incompatibility. You can use MKVToolnixGUI for this. It’s as simple as running the app, dragging the file into the app window, and clicking “Start Multiplexing.”

The result will be the exact same media in an MKV container. You can then move the AVI file out of the media path you’re scanning and rescan your library. (I generally do this with automatic scanning turned off so that the scanner doesn’t get triggered during the remuxing process.)

The point is I would like to avoid updating the video file. When I ask plex to transcode it works fine. I would like plex to take itself the decision to transcode such movie.

If your device tells Plex it can handle AVI files with the codec, resolution, and bitrate requested and then cannot, that’s a problem. Part of the transcoding process is to change containers.

So, remux a file, test it, and see if it works better. Then decide if it’s worth your time to take care of the rest of your outdated AVIs. Don’t dismiss it out of hand because “Plex should just handle it.”

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