Plex crash when trying to an video with E-AC-3

Server Version#: 1.30.2.6563 (UNRAID)
Player Version#: 9.15.0.38158 (NVIDIA SHIELD)

When I try to play the element Le lotus blanc - S2 E2 - Le rêve italien, Plex crash or it exit the video and send me to the page where I can login with different account.

Important to note:

  • With Plex web, I can read the video without any problem.
  • With the nvidia shield, I can read any other element of my librairie except any video of this series. It may be a problem with the codec.

Here is the nfo of the file I generated with mediainfo

General
Format                                   : Matroska
Format version                           : Version 4
File size                                : 3.73 GiB
Duration                                 : 54 min 21 s
Overall bit rate                         : 9 830 kb/s
Encoded date                             : UTC 2022-11-07 08:26:01
Writing application                      : mkvmerge v71.1.0 ('Fortitude') 64-bit
Writing library                          : libebml v1.4.4 + libmatroska v1.7.1
Cover                                    : Yes
Attachments                              : cover.png

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 4 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 54 min 21 s
Bit rate mode                            : Constant
Bit rate                                 : 8 517 kb/s
Nominal bit rate                         : 10 000 kb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.164
Stream size                              : 3.23 GiB (87%)
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio #1
ID                                       : 2
Format                                   : E-AC-3
Format/Info                              : Enhanced AC-3
Commercial name                          : Dolby Digital Plus
Codec ID                                 : A_EAC3
Duration                                 : 54 min 21 s
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 249 MiB (7%)
Title                                    : English
Language                                 : English
Service kind                             : Complete Main
Default                                  : No
Forced                                   : No

Audio #2
ID                                       : 3
Format                                   : E-AC-3
Format/Info                              : Enhanced AC-3
Commercial name                          : Dolby Digital Plus
Codec ID                                 : A_EAC3
Duration                                 : 54 min 21 s
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 249 MiB (7%)
Title                                    : French
Language                                 : French
Service kind                             : Complete Main
Default                                  : Yes
Forced                                   : No

Text
ID                                       : 4
Format                                   : UTF-8
Codec ID                                 : S_TEXT/UTF8
Codec ID/Info                            : UTF-8 Plain Text
Duration                                 : 51 min 0 s
Bit rate                                 : 53 b/s
Count of elements                        : 673
Stream size                              : 20.1 KiB (0%)
Title                                    : French [Full]
Language                                 : French
Default                                  : No
Forced                                   : No

Here is the error in the android log:

02-11 09:44:38.529  e: Stacktrace: java.nio.BufferUnderflowException
	at java.nio.DirectByteBuffer.get(DirectByteBuffer.java:239)
	at com.plexapp.plex.ff.io.SharedOutputBuffer.drainAsByteArray(SourceFile:5)
	at com.plexapp.player.engines.exoplayer.extractor.ExtractorBinding.b(SourceFile:107)
	at zf.d$a.invokeSuspend(SourceFile:361)
	at kotlin.coroutines.jvm.internal.a.resumeWith(SourceFile:12)
	at kotlinx.coroutines.b1.run(SourceFile:119)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at java.lang.Thread.run(Thread.java:923)

02-11 09:44:38.637  i: [ExoPlayer][EventLogger] videoDisabled [eventTime=4.58, mediaPos=0.00, window=0, period=0]
02-11 09:44:38.638  i: [ExoPlayer][EventLogger] audioDisabled [eventTime=4.58, mediaPos=0.00, window=0, period=0]
02-11 09:44:38.639  i: [FFmpegExtractor] Interrupting extractor for release.
02-11 09:44:38.641  i: [FFmpeg] [INFO] [FFmpegExtractor] Reading whilst closed, exiting.
02-11 09:44:38.641  i: [FFmpeg] [WARN] [CacheSource] Encountered result whilst reading from source at 19723373 bytes: Immediate exit requested (-1414092869).
02-11 09:44:38.642  i: [FFmpeg] [WARN] [CacheSource] Source or buffer is still interrupted.
02-11 09:44:38.642  i: [FFmpeg] [INFO] [CacheSource] Thread has been terminated.
02-11 09:44:38.643  i: [FFmpeg] [INFO] [FFmpegExtractor] Closing demuxer context.
02-11 09:44:38.647  i: [FFmpeg] [INFO] [CacheSource] Close requested, terminating.
02-11 09:44:38.647  i: [FFmpeg] [INFO] [CacheSource] Terminating thread.
02-11 09:44:38.648  i: [FFmpeg] [INFO] [FFmpegExtractor] Source has been closed successfully.
02-11 09:44:38.656  i: [FFmpeg] [INFO] [CacheSource] Closed successfully.
02-11 09:44:38.657  i: [FFmpegExtractor] Extractor has been released.
02-11 09:44:38.657  e: [ExoPlayer][EventLogger] playerFailed [eventTime=4.59, mediaPos=0.00, window=0, period=0, errorCode=ERROR_CODE_IO_UNSPECIFIED
  com.google.android.exoplayer2.r: Source error
      at com.google.android.exoplayer2.x1.G(SourceFile:17)
      at com.google.android.exoplayer2.x1.handleMessage(SourceFile:279)
      at android.os.Handler.dispatchMessage(Handler.java:102)
      at android.os.Looper.loop(Looper.java:223)
      at android.os.HandlerThread.run(HandlerThread.java:67)
  Caused by: y4.i0$h: Unexpected BufferUnderflowException: null
      at y4.i0$d.run(SourceFile:146)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
      at java.lang.Thread.run(Thread.java:923)
  Caused by: java.nio.BufferUnderflowException
      at java.nio.DirectByteBuffer.get(DirectByteBuffer.java:239)
      at com.plexapp.plex.ff.io.SharedOutputBuffer.drainAsByteArray(SourceFile:5)
      at com.plexapp.player.engines.exoplayer.extractor.ExtractorBinding.b(SourceFile:107)
      at zf.d$a.invokeSuspend(SourceFile:361)
      at kotlin.coroutines.jvm.internal.a.resumeWith(SourceFile:12)
      at kotlinx.coroutines.b1.run(SourceFile:119)
      ... 3 more
]
02-11 09:44:38.658  e: [Player][ExoPlayer] Playback error detected
02-11 09:44:38.659  i: [Player][Timeline] Handling player error
02-11 09:44:38.660  i: [Player][Timeline] Playback stopped (error: true)
02-11 09:44:38.660  i: [Player][Timeline] Player error not known by server, reporting original player error (or a playback interrupted one)
02-11 09:44:38.661  i: [Player] Error reported: UnknownError (null)
02-11 09:44:38.661  i: [Player][Timeline] Playback stopped (error: false)
02-11 09:44:38.662  e: An exception occurred: com.google.android.exoplayer2.r: Source error
02-11 09:44:38.662  e: Stacktrace: com.google.android.exoplayer2.r: Source error
	at com.google.android.exoplayer2.x1.G(SourceFile:17)
	at com.google.android.exoplayer2.x1.handleMessage(SourceFile:279)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:223)
	at android.os.HandlerThread.run(HandlerThread.java:67)
Caused by: y4.i0$h: Unexpected BufferUnderflowException: null
	at y4.i0$d.run(SourceFile:146)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
	at java.lang.Thread.run(Thread.java:923)
Caused by: java.nio.BufferUnderflowException
	at java.nio.DirectByteBuffer.get(DirectByteBuffer.java:239)
	at com.plexapp.plex.ff.io.SharedOutputBuffer.drainAsByteArray(SourceFile:5)
	at com.plexapp.player.engines.exoplayer.extractor.ExtractorBinding.b(SourceFile:107)
	at zf.d$a.invokeSuspend(SourceFile:361)
	at kotlin.coroutines.jvm.internal.a.resumeWith(SourceFile:12)
	at kotlinx.coroutines.b1.run(SourceFile:119)
	... 3 more

02-11 09:44:38.664  i: [TranscodeFallbackBehaviour] Detected direct play failed, falling back to transcode (starting: true)

logging.txt (4.1 MB)
Plex Media Server.log (6.4 MB)

If there is any detail you need to be able to reproduce the issue on your end, ask me :slight_smile:

Hi,
Can someone help me?

Bump :slight_smile:

Bump :slight_smile:

The version 9.17.0 seems to have correct this problem.

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