Thanks for the client logs.
How are things connected? Does the Mi Box attach to a TV, soundbar, receiver, etc?
What make/model of TV?
Regarding the client logs:
The client tried to direct play, but something went wrong and it fell back to transcoding.
Player error not known by server, likely to be a client configuration error
Can you double check the MiBox and the Plex client settings?
How closely do your Plex client settings align with these? They’re from my Nvidia Shield. The settings in a Mi Box should be similar since they both run AndroidTV.
Video Quality
Adjust Automatically = Off <-- change to Off if enabled.
Home streaming = Maximum <-- change to Maximum if different.
Video
Burn Subtitles = Automatic
Display Information = On
Advanced
Passthrough = HDMI
Please pull a new set of server logs. The logs above are from Jan 17th, and subtitles were enabled during playback.
Play the movie with the AAC audio track. Make sure subtitles are not enabled (there is a forced track, which is enabled automatically).
Then play the movie with the AC3 audio track, making sure subtitles are not enabled. Plex sometimes auto-picks a subtitle track when you change audio tracks.
Pull the logs and attach. You can attach the entire zip file.
If you play the 1080p version of the movie, does the video or audio transcode with either the AAC or AC3 track chosen?
Check the Plex Dashboard during playback to see status. Plex Web -> Activity -> Dashboard. Click the gold toggle icon to the right to expand the view if necessary.
On AndroidTV devices, if the audio is transcoding and SRT subtitles are enabled, the video will also transcode.
Looking at the XML, the video should direct play.
Given the log messages, I’m wondering if there is a configuration or setup issue that forces the transcode.
From Plex client logs:
01-22 23:29:10.478 i: [TranscodeSession] Direct Play
01-22 23:29:10.484 i: Fetching [method:GET] https://192.168.1.22:32400/:/timeline?bufferedTime=334&duration=7763943&guid=com.plexapp.agents.imdb%3A%2F%2Ftt6320628%3Flang%3Dfr&key=%2Flibrary%2Fmetadata%2F5797&playbackTime=0&playQueueItemID=Delay--295766938&ratingKey=5797&state=stopped&time=0&timeStalled=3&timeToFirstFrame=0&token=...8Deq-x&X-Plex-Client-Identifier=ee7b346667a929fa-com-plexapp-android&X-Plex-Token=...8Deq-x
01-22 23:29:10.540 i: [ExoPlayer][EventLogger] decoderDisabled [3.77, 0.00, window=0, video]
01-22 23:29:10.543 i: [ExoPlayer][EventLogger] decoderDisabled [3.78, 0.00, window=0, audio]
01-22 23:29:10.608 i: [Player][Timeline] Player error not known by server, likely to be a client configuration error
01-22 23:29:10.609 i: [Player] Error reported: PlaybackInterrupted (null)
01-22 23:29:10.610 i: [Player][Timeline] Playback stopped (error: false)
01-22 23:29:10.610 i: [FFmpeg] [WARN] [https @ 0xd368aa80] Will reconnect at 8526611 in 0 second(s), error=I/O error.
01-22 23:29:10.611 i: [FFmpeg] [ERROR] [tls @ 0xcdd4b540] Error in the pull function.
01-22 23:29:10.611 i: [PlaybackTimeBehaviour] Time: 0 IsStarted: false
01-22 23:29:10.622 i: Fetching [method:GET] https://192.168.1.22:32400/:/timeline?bufferedTime=334&duration=7763943&guid=com.plexapp.agents.imdb%3A%2F%2Ftt6320628%3Flang%3Dfr&key=%2Flibrary%2Fmetadata%2F5797&playbackTime=0&playQueueItemID=Delay--295766938&ratingKey=5797&state=stopped&time=0&timeStalled=3&token=...8Deq-x&X-Plex-Client-Identifier=ee7b346667a929fa-com-plexapp-android&X-Plex-Token=...8Deq-x
01-22 23:29:10.653 i: [TranscodeFallbackBehaviour] Detected direct play failed, falling back to transcode