Fire Stick 4k MAX Error: Caused by: com.google.android.exoplayer2.video.q: Decoder failed: OMX.MTK.VIDEO.DECODER.AVC

Server Version#:Windows 10 Pro. Plex Version 1.24.3.5033
Player Version#: App version: 8.23.2.28087 (829873016) on Fire Stick 4k MAX
Logs attached.
Fire Stick 4k Max log.txt (4.0 MB)
Plex Media Server.log (1.9 MB)

Playing movies on new Fire Stick 4k Max, Plex errors out every few minutes and says “An error occurred while attempting to play this video. Please check your connection and try again.”
The same movie plays fine on the Plex app for Samsung TV.

Here is the error in the Fire Stick 4k Max logs.

10-11 08:11:23.396  i: [ExoPlayer][EventLogger] loading [eventTime=196.90, mediaPos=1390.12, window=0, period=0, false]
10-11 08:11:23.557  i: [ExoPlayer][EventLogger] loading [eventTime=197.06, mediaPos=1390.28, window=0, period=0, true]
10-11 08:11:23.589  i: [ExoPlayer][EventLogger] loading [eventTime=197.10, mediaPos=1390.31, window=0, period=0, false]
10-11 08:11:23.653  i: [ExoPlayer][EventLogger] videoDisabled [eventTime=197.16, mediaPos=1390.37, window=0, period=0]
10-11 08:11:23.657  i: [ExoPlayer][EventLogger] audioDisabled [eventTime=197.16, mediaPos=1390.37, window=0, period=0]
10-11 08:11:23.712  i: [FF][MediaPeriod] Releasing.
10-11 08:11:23.714  i: [FF] Loading canceled (released: true)
10-11 08:11:23.714  i: [FFmpeg] [INFO] Demuxer has been successfully interupted.
10-11 08:11:23.716  i: [FF] Releasing demuxer.
10-11 08:11:23.717  i: [FFmpeg] [INFO] Demuxer closing.
10-11 08:11:23.717  i: [FFmpeg] [INFO] Demuxer has been interupted...
10-11 08:11:23.718  i: [FFmpeg] [INFO] Demuxer has been closed, interrupting FFmpeg...
10-11 08:11:23.722  e: [ExoPlayer][EventLogger] playerFailed [eventTime=197.23, mediaPos=1390.37, window=0, period=0
  com.google.android.exoplayer2.c1: MediaCodecVideoRenderer error, index=1, format=Format(0, null, null, video/avc, h264, 2112000, null, [1920, 800, 0.0], [-1, -1]), format_supported=YES
      at com.google.android.exoplayer2.g1.handleMessage(SourceFile:43)
      at android.os.Handler.dispatchMessage(Handler.java:102)
      at android.os.Looper.loop(Looper.java:193)
      at android.os.HandlerThread.run(HandlerThread.java:65)
  Caused by: com.google.android.exoplayer2.video.q: Decoder failed: OMX.MTK.VIDEO.DECODER.AVC
      at com.google.android.exoplayer2.video.r.m(SourceFile:1)
      at com.google.android.exoplayer2.z2.t.render(SourceFile:27)
      at com.google.android.exoplayer2.g1.o(SourceFile:14)
      at com.google.android.exoplayer2.g1.handleMessage(SourceFile:25)
      ... 3 more
  Caused by: java.lang.IllegalStateException
      at android.media.MediaCodec.releaseOutputBuffer(Native Method)
      at android.media.MediaCodec.releaseOutputBuffer(MediaCodec.java:2804)
      at com.google.android.exoplayer2.z2.w.i(SourceFile:1)
      at com.google.android.exoplayer2.video.r.R0(SourceFile:3)
      at com.google.android.exoplayer2.video.r.c0(SourceFile:39)
      at com.google.android.exoplayer2.z2.t.drainOutputBuffer(SourceFile:32)
      at com.google.android.exoplayer2.z2.t.render(SourceFile:16)
      ... 5 more
]
10-11 08:11:23.723  e: [Player][ExoPlayer] Playback error detected
10-11 08:11:23.724  i: [Player][Timeline] Handling player error
10-11 08:11:23.724  i: [Player][Timeline] Playback stopped (error: true)
10-11 08:11:23.724  i: [PlaybackTimeBehaviour] Time: 194792 IsStarted: true
10-11 08:11:23.724  i: [ExoPlayer][EventLogger] state [eventTime=197.23, mediaPos=1390.37, window=0, period=0, IDLE]
10-11 08:11:23.725  e: An exception occurred: com.google.android.exoplayer2.c1: MediaCodecVideoRenderer error, index=1, format=Format(0, null, null, video/avc, h264, 2112000, null, [1920, 800, 0.0], [-1, -1]), format_supported=YES
10-11 08:11:23.725  i: [ExoPlayer][EventLogger] isPlaying [eventTime=197.23, mediaPos=1390.37, window=0, period=0, false]
10-11 08:11:23.725  e: Stacktrace: com.google.android.exoplayer2.c1: MediaCodecVideoRenderer error, index=1, format=Format(0, null, null, video/avc, h264, 2112000, null, [1920, 800, 0.0], [-1, -1]), format_supported=YES
	at com.google.android.exoplayer2.g1.handleMessage(SourceFile:43)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:193)
	at android.os.HandlerThread.run(HandlerThread.java:65)
Caused by: com.google.android.exoplayer2.video.q: Decoder failed: OMX.MTK.VIDEO.DECODER.AVC
	at com.google.android.exoplayer2.video.r.m(SourceFile:1)
	at com.google.android.exoplayer2.z2.t.render(SourceFile:27)
	at com.google.android.exoplayer2.g1.o(SourceFile:14)
	at com.google.android.exoplayer2.g1.handleMessage(SourceFile:25)
	... 3 more
Caused by: java.lang.IllegalStateException
	at android.media.MediaCodec.releaseOutputBuffer(Native Method)
	at android.media.MediaCodec.releaseOutputBuffer(MediaCodec.java:2804)
	at com.google.android.exoplayer2.z2.w.i(SourceFile:1)
	at com.google.android.exoplayer2.video.r.R0(SourceFile:3)
	at com.google.android.exoplayer2.video.r.c0(SourceFile:39)
	at com.google.android.exoplayer2.z2.t.drainOutputBuffer(SourceFile:32)
	at com.google.android.exoplayer2.z2.t.render(SourceFile:16)
	... 5 more

10-11 08:11:23.726  i: Fetching [method:GET] https://192.168.1.140:32400/:/timeline?audioStreamID=370927&bufferedTime=328411&duration=5847000&guid=plex%3A%2F%2Fmovie%2F5d776829eb5d26001f1de1d5&key=%2Flibrary%2Fmetadata%2F137995&playbackTime=194792&playQueueItemID=65280&ratingKey=137995&state=stopped&time=1390266&token=...a3Mz&X-Plex-Client-Identifier=6cf8a76822ccd535-com-plexapp-android&X-Plex-Token=...a3Mz&X-Plex-Language=en-us
10-11 08:11:23.732  i: [FFmpeg] [INFO] Demuxer has been interupted...
10-11 08:11:23.733  i: [FFmpeg] [INFO] Demuxer has been closed, interrupting FFmpeg...
10-11 08:11:23.741  i: [FFmpeg] [INFO] Demuxer has been interupted...
10-11 08:11:23.742  i: [FFmpeg] [INFO] Demuxer has been closed, interrupting FFmpeg...
10-11 08:11:23.749  i: [FFmpeg] [INFO] [Cache] Close requested, terminating.
10-11 08:11:23.750  i: [FFmpeg] [INFO] [Cache] Cache has been closed, interrupting AVIO ...
10-11 08:11:23.759  i: [FFmpeg] [INFO] [Cache] Close requested, terminating.
10-11 08:11:23.778  i: [Player][Timeline] Player error not known by server, reporting original player error (or a playback interrupted one)
10-11 08:11:23.779  i: [Player] Error reported: UnknownError (null)
10-11 08:11:23.779  i: [Player][Timeline] Playback stopped (error: false)
10-11 08:11:23.780  i: [PlaybackTimeBehaviour] Time: 194849 IsStarted: true
10-11 08:11:23.782  i: Fetching [method:GET] https://192.168.1.140:32400/:/timeline?audioStreamID=370927&bufferedTime=328411&duration=5847000&guid=plex%3A%2F%2Fmovie%2F5d776829eb5d26001f1de1d5&key=%2Flibrary%2Fmetadata%2F137995&playbackTime=194850&playQueueItemID=65280&ratingKey=137995&state=stopped&time=1390266&token=...a3Mz&X-Plex-Client-Identifier=6cf8a76822ccd535-com-plexapp-android&X-Plex-Token=...a3Mz&X-Plex-Language=en-us
10-11 08:11:23.789  i: [TranscodeSession] Stopping...
10-11 08:11:23.790  i: [Player][Error] Displaying player error...
10-11 08:11:23.791  i: [DialogBehaviour] Showing dialog.
10-11 08:11:23.793  i: [BufferHelper] Assumed Bitrate: 400000, Segment Count: 46875
10-11 08:11:23.793  i: [BufferHelper] Detected memory pressure, reducing segment count to fit available memory: 384
10-11 08:11:23.793  i: [BufferHelper] Segment count: 2457
10-11 08:11:23.794  i: [TranscodeSession] Notifying server that we've stopped
```[Fire Stick 4k Max log.txt|attachment](upload://eDuW27DbAK9LGY1Sc42Xm1dVvUO.txt) (4.0 MB)

This error does not happen on my older Fire Stick 4k. It is only the new 2021 Fire Stick 4k Max. Does Plex have this new device to perform any testing? Let me know if you need more logs or want me to test any beta / debug builds.

Just tried the latest release here:

Still having the same exact issue. Fire Stick 4k Max crashes while playing a video. There seems to also be something strange going on with the transcoder. It says it is direct playing but there are sporadic transcode events in the logs and sporadic .ts files in the transcode folder.
Any ideas what is goin on here?

I just tested the latest Beta version on Fire stick 4k MAX and it still crashes with the same error and exception output.
Please let me know if there is anything else you need from my end to fix Plex on the new Fire Stick 4k MAX devices.

Version 8.27.1.29871 similar issue

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