Plex Android App and Android TV App crashing when external subtitles enabled

Hello,

Lately my Android app crashes when I try to play a video with subtitles enabled. I typically use the subtitles that Plex automatically downloads for me. This is especially problematic because I can’t understand Japanese.

Server Version#: 1.22.1.4228
Player Version#: 8.15.0.23855

04-01 07:56:28.438  i: [FFmpeg] [INFO]   Metadata:

04-01 07:56:28.438  i: [FFmpeg] [INFO]     title           : 
04-01 07:56:28.439  i: [FFmpeg] [INFO] Attack On Titan S04E01
04-01 07:56:28.439  i: [FFmpeg] [INFO] 

04-01 07:56:28.439  i: [FFmpeg] [INFO]     creation_time   : 
04-01 07:56:28.440  i: [FFmpeg] [INFO] 2020-12-13T01:22:53.000000Z
04-01 07:56:28.440  i: [FFmpeg] [INFO] 

04-01 07:56:28.441  i: [VideoStream] Dolby Vision is unsupported on this display or device.
04-01 07:56:28.441  i: [FFmpeg] [INFO]     ENCODER         : 
04-01 07:56:28.441  i: [FF] Container[mkv] Attack On Titan S04E01 - 1.7 Mbps, 23 min [CT: 1607822573000us, ST: 0us, SRT: -9223372036854775808us].
04-01 07:56:28.442  i: [FF] VideoStream[0-h264] 1920x1080 [SAR 1:1, DAR 16:9]. H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 - Unknown Profile (video/avc), ~1.7 Mbps 23 min 23.98fps, No Title / Unknown (null), 2 / 34 bytes, Default .
04-01 07:56:28.443  i: [FF] AudioStream[1-aac] 2 channels over 0 (2 channels), 48000 Hz, 0,0 padding. AAC (Advanced Audio Coding) - Unknown Profile (audio/mp4a-latm), ~1.7 Mbps -54 sec 0.00fps, Stereo / Japanese (jpn), 1 / 5 bytes, Default .
04-01 07:56:28.443  i: [FFmpeg] [INFO] Lavf58.20.100
04-01 07:56:28.443  i: [FFmpeg] [INFO] 

04-01 07:56:28.444  i: [FFmpeg] [INFO]   Duration: 
04-01 07:56:28.444  i: [FFmpeg] [INFO] 00:23:55.09
04-01 07:56:28.444  i: [FFmpeg] [INFO] , start: 
04-01 07:56:28.444  i: [FFmpeg] [INFO] 0.000000
04-01 07:56:28.445  i: [FFmpeg] [INFO] , bitrate: 
04-01 07:56:28.445  i: [FFmpeg] [INFO] 1713 kb/s
04-01 07:56:28.446  i: [FFmpeg] [INFO] 

04-01 07:56:28.447  i: [FFmpeg] [INFO]     Stream #0:0
04-01 07:56:28.448  i: [FFmpeg] [INFO] : Video: h264 (High), none(progressive), 1920x1080 [SAR 1:1 DAR 16:9]
04-01 07:56:28.450  i: [FFmpeg] [INFO] , 
04-01 07:56:28.451  i: [FFmpeg] [INFO] 23.98 fps, 
04-01 07:56:28.451  i: [FFmpeg] [INFO] 23.98 tbr, 
04-01 07:56:28.452  i: [FFmpeg] [INFO] 1k tbn, 
04-01 07:56:28.452  i: [FFmpeg] [INFO] 1k tbc
04-01 07:56:28.452  i: [FFmpeg] [INFO]  (default)
04-01 07:56:28.452  i: [FFmpeg] [INFO] 

04-01 07:56:28.453  i: [FFmpeg] [INFO]     Metadata:

04-01 07:56:28.453  i: [FFmpeg] [INFO]       BPS-eng         : 
04-01 07:56:28.453  i: [FFmpeg] [INFO] 1552018
04-01 07:56:28.453  i: [FFmpeg] [INFO] 

04-01 07:56:28.454  i: [FFmpeg] [INFO]       DURATION-eng    : 
04-01 07:56:28.454  i: [FFmpeg] [INFO] 00:23:55.017000000
04-01 07:56:28.454  i: [FFmpeg] [INFO] 

04-01 07:56:28.454  i: [FFmpeg] [INFO]       NUMBER_OF_FRAMES-eng: 
04-01 07:56:28.455  i: [FFmpeg] [INFO] 34406
04-01 07:56:28.455  i: [FFmpeg] [INFO] 

04-01 07:56:28.455  i: [FFmpeg] [INFO]       NUMBER_OF_BYTES-eng: 
04-01 07:56:28.456  i: [FFmpeg] [INFO] 278396674
04-01 07:56:28.456  i: [FFmpeg] [INFO] 

04-01 07:56:28.456  i: [FFmpeg] [INFO]       _STATISTICS_WRITING_APP-eng: 
04-01 07:56:28.456  i: [FFmpeg] [INFO] mkvmerge v31.0.0 ('Dolores In A Shoestand') 64-bit
04-01 07:56:28.456  i: [FFmpeg] [INFO] 

04-01 07:56:28.457  i: [FFmpeg] [INFO]       _STATISTICS_WRITING_DATE_UTC-eng: 
04-01 07:56:28.457  i: [FFmpeg] [INFO] 2020-12-13 01:22:53
04-01 07:56:28.457  i: [FFmpeg] [INFO] 

04-01 07:56:28.458  i: [FFmpeg] [INFO]       _STATISTICS_TAGS-eng: 
04-01 07:56:28.458  i: [FFmpeg] [INFO] BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
04-01 07:56:28.458  i: [FFmpeg] [INFO] 

04-01 07:56:28.459  i: [FFmpeg] [INFO]     Stream #0:1
04-01 07:56:28.459  i: [FFmpeg] [INFO] (jpn)
04-01 07:56:28.459  i: [FFmpeg] [INFO] : Audio: aac (LC), 48000 Hz, 2 channels
04-01 07:56:28.459  i: [FFmpeg] [INFO]  (default)
04-01 07:56:28.460  i: [FFmpeg] [INFO] 

04-01 07:56:28.460  i: [FFmpeg] [INFO]     Metadata:

04-01 07:56:28.460  i: [FFmpeg] [INFO]       title           : 
04-01 07:56:28.460  i: [FFmpeg] [INFO] Stereo
04-01 07:56:28.461  i: [FFmpeg] [INFO] 

04-01 07:56:28.461  i: [FFmpeg] [INFO]       BPS-eng         : 
04-01 07:56:28.461  i: [FFmpeg] [INFO] 159704
04-01 07:56:28.461  i: [FFmpeg] [INFO] 

04-01 07:56:28.462  i: [FFmpeg] [INFO]       DURATION-eng    : 
04-01 07:56:28.462  i: [FFmpeg] [INFO] 00:23:55.093000000
04-01 07:56:28.462  i: [FFmpeg] [INFO] 

04-01 07:56:28.462  i: [FFmpeg] [INFO]       NUMBER_OF_FRAMES-eng: 
04-01 07:56:28.463  i: [FFmpeg] [INFO] 67270
04-01 07:56:28.463  i: [FFmpeg] [INFO] 

04-01 07:56:28.463  i: [FFmpeg] [INFO]       NUMBER_OF_BYTES-eng: 
04-01 07:56:28.463  i: [FFmpeg] [INFO] 28648931
04-01 07:56:28.463  i: [FFmpeg] [INFO] 

04-01 07:56:28.464  i: [FFmpeg] [INFO]       _STATISTICS_WRITING_APP-eng: 
04-01 07:56:28.465  i: [FFmpeg] [INFO] mkvmerge v31.0.0 ('Dolores In A Shoestand') 64-bit
04-01 07:56:28.465  i: [FFmpeg] [INFO] 

04-01 07:56:28.465  i: [FFmpeg] [INFO]       _STATISTICS_WRITING_DATE_UTC-eng: 
04-01 07:56:28.466  i: [FFmpeg] [INFO] 2020-12-13 01:22:53
04-01 07:56:28.467  i: [FFmpeg] [INFO] 

04-01 07:56:28.469  i: [FFmpeg] [INFO]       _STATISTICS_TAGS-eng: 
04-01 07:56:28.470  i: [FFmpeg] [INFO] BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
04-01 07:56:28.470  i: [FFmpeg] [INFO] 

04-01 07:56:28.470  i: [FFmpeg] [INFO] Container metadata entries found: 3.
04-01 07:56:28.472  i: [FFmpeg] [INFO] Stream metadata entries found: 7.
04-01 07:56:28.473  i: [FFmpeg] [INFO] Stream metadata entries found: 9.
04-01 07:56:28.474  i: [ExoPlayer][EventLogger] timeline [eventTime=0.58, mediaPos=502.00, window=0, period=0, periodCount=1, windowCount=1, reason=SOURCE_UPDATE
04-01 07:56:28.476  i: [ExoPlayer][EventLogger]   period [1435.09]
04-01 07:56:28.476  i: [ExoPlayer][EventLogger]   window [1435.09, true, false]
04-01 07:56:28.477  i: [ExoPlayer][EventLogger] ]
04-01 07:56:28.477  i: [Player][ExoPlayer] onTimelineChanged (Position: 502000 ms, Duration: 1435093 ms)
04-01 07:56:28.477  i: [FF][MediaPeriod] Selecting tracks.
04-01 07:56:28.478  i: [FF] Seeking outside buffer
04-01 07:56:28.478  i: [LoadControl] Assumed Bitrate: 10000, Segment Count: 1171
04-01 07:56:28.478  i: [LoadControl] Final Segment count: 1171 (73 MB / 350 Seconds)
04-01 07:56:28.478  i: [ExoPlayer][EventLogger] videoEnabled [eventTime=0.59, mediaPos=502.00, window=0, period=0]
04-01 07:56:28.479  i: [FF] Loading canceled (released: false)
04-01 07:56:28.479  i: [ExoPlayer][EventLogger] audioEnabled [eventTime=0.59, mediaPos=502.00, window=0, period=0]
04-01 07:56:28.479  i: [ExoPlayer][EventLogger] tracks [eventTime=0.59, mediaPos=502.00, window=0, period=0
04-01 07:56:28.480  i: [ExoPlayer][EventLogger]   Plex.Video.Renderer []
04-01 07:56:28.480  i: [FF] Input has been seeked to 502000000us.
04-01 07:56:28.480  i: [ExoPlayer][EventLogger]   MediaCodecVideoRenderer [
04-01 07:56:28.480  i: [ExoPlayer][EventLogger]     Group:0, adaptive_supported=N/A [
04-01 07:56:28.481  i: [FFmpeg] [INFO] Demuxer is applying pending seek to 502000000 us, original target was 502000000 us.
04-01 07:56:28.481  i: [ExoPlayer][EventLogger]       [X] Track:0, id=0, mimeType=video/avc, codecs=h264, res=1920x1080, fps=23.976025, supported=YES
04-01 07:56:28.481  i: [ExoPlayer][EventLogger]     ]
04-01 07:56:28.482  i: [ExoPlayer][EventLogger]     Metadata [
04-01 07:56:28.482  i: [FFmpeg] [INFO] [Cache] Source seek requested to 307445411 bytes with 0 whence.
04-01 07:56:28.482  i: [ExoPlayer][EventLogger]       original_init_data: (Value: 0 Buffer: 47 bytes)
04-01 07:56:28.483  i: [ExoPlayer][EventLogger]       scantype_progressive: (Value: 1 Buffer: 0 bytes)
04-01 07:56:28.483  i: [ExoPlayer][EventLogger]     ]
04-01 07:56:28.483  i: [ExoPlayer][EventLogger]   ]
04-01 07:56:28.484  i: [ExoPlayer][EventLogger]   Plex.Audio.Renderer []
04-01 07:56:28.485  i: [ExoPlayer][EventLogger]   MediaCodecAudioRenderer [
04-01 07:56:28.486  i: [ExoPlayer][EventLogger]     Group:0, adaptive_supported=N/A [
04-01 07:56:28.487  i: [ExoPlayer][EventLogger]       [X] Track:0, id=1, mimeType=audio/mp4a-latm, bitrate=0, codecs=aac, channels=2, sample_rate=48000, language=japanese, supported=YES
04-01 07:56:28.488  i: [ExoPlayer][EventLogger]     ]
04-01 07:56:28.491  i: [ExoPlayer][EventLogger]     Metadata [
04-01 07:56:28.493  i: [ExoPlayer][EventLogger]       block_align: (Value: 0 Buffer: 0 bytes)
04-01 07:56:28.495  i: [ExoPlayer][EventLogger]       channel_layout: (Value: 0 Buffer: 0 bytes)
04-01 07:56:28.496  i: [ExoPlayer][EventLogger]       original_init_data: (Value: 0 Buffer: 5 bytes)
04-01 07:56:28.500  i: [ExoPlayer][EventLogger]     ]
04-01 07:56:28.500  i: [ExoPlayer][EventLogger]   ]
04-01 07:56:28.501  i: [ExoPlayer][EventLogger]   TextRenderer []
04-01 07:56:28.501  i: [ExoPlayer][EventLogger]   MetadataRenderer []
04-01 07:56:28.501  i: [ExoPlayer][EventLogger]   Unmapped [
04-01 07:56:28.502  i: [ExoPlayer][EventLogger]     Group:0 [
04-01 07:56:28.502  i: [ExoPlayer][EventLogger]       [ ] Track:0, id=2, mimeType=application/unknown, supported=NO
04-01 07:56:28.502  i: [ExoPlayer][EventLogger]     ]
04-01 07:56:28.502  i: [ExoPlayer][EventLogger]     Group:1 [
04-01 07:56:28.503  i: [ExoPlayer][EventLogger]       [ ] Track:0, id=3, mimeType=application/unknown, supported=NO
04-01 07:56:28.503  i: [ExoPlayer][EventLogger]     ]
04-01 07:56:28.503  i: [ExoPlayer][EventLogger]   ]
04-01 07:56:28.503  i: [ExoPlayer][EventLogger] ]
04-01 07:56:28.504  i: [Player][ExoPlayer] Setting initial track selection...
04-01 07:56:28.504  i: [TrackSelectorHelper] Initialising (Video: 1, Audio: 1, Text: 2)
04-01 07:56:28.504  i: [TrackSelectorHelper] Type: 2 Auto
04-01 07:56:28.505  i: [TrackSelectorHelper] Type: 1 Media Index: 1
04-01 07:56:28.505  i: [TrackSelectorHelper] Renderer: MediaCodecAudioRenderer Track: 0
04-01 07:56:28.505  i: [TrackSelectorHelper] Type: 3 Media Index: 2
04-01 07:56:28.505  i: [FFmpeg] [INFO] [Cache] Seek found to 307445411 bytes.
04-01 07:56:28.506  e: Fatal exception occurred.
04-01 07:56:28.506  e: An exception occurred: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
04-01 07:56:28.507  e: Stacktrace: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.get(ArrayList.java:437)
	at com.plexapp.plex.player.engines.exoplayer.w.b(SourceFile:3)
	at com.plexapp.plex.player.engines.exoplayer.w.i(SourceFile:2)
	at com.plexapp.plex.player.engines.n1.o2(SourceFile:26)
	at com.plexapp.plex.player.engines.n1.w(SourceFile:14)
	at com.google.android.exoplayer2.k0$b.p(SourceFile:1)
	at com.google.android.exoplayer2.k0$b.q(Unknown Source:0)
	at com.google.android.exoplayer2.g.a(Unknown Source:2)
	at com.google.android.exoplayer2.c0$a.a(SourceFile:2)
	at com.google.android.exoplayer2.k0.K(SourceFile:2)
	at com.google.android.exoplayer2.k0.w(SourceFile:1)
	at com.google.android.exoplayer2.k0$b.run(SourceFile:11)
	at com.google.android.exoplayer2.k0.U(SourceFile:4)
	at com.google.android.exoplayer2.k0.e0(SourceFile:12)
	at com.google.android.exoplayer2.k0.J(SourceFile:19)
	at com.google.android.exoplayer2.k0.P(SourceFile:1)
	at com.google.android.exoplayer2.k0.Q(Unknown Source:0)
	at com.google.android.exoplayer2.d.run(Unknown Source:4)
	at android.os.Handler.handleCallback(Handler.java:938)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:223)
	at android.app.ActivityThread.main(ActivityThread.java:7660)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

Are the subtitles embedded or external?

There is a problem with external subs and direct play (either they have the wrong language or things don’t run at all): https://www.reddit.com/r/PleX/comments/mispjh/selected_external_srt_subs_are_ignored_with/

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