[BUG] Overnight deep analysis stops some videos playing on nvidia shield TV

Summary: A video file that plays fine when first added to the library stops plays the next day after deep analysis. This seems limited to my nVidia Shield TV.

I have had this issue for some time but only just had the patience the work through the logging and capture.

Plex Server: Version 1.19.2.2702
Plex Player: App version: 8.0.0.17168 (805581057)

I have a number of 720p h264 /aac stereo files (from BBC iplayer) that seemingly would not play and present different messages, typically “Please restart server and player and try again”. The files are originally mp4 but I have remuxed many to mkv as that seemed to fix it initially, but then they stopped playing too.

I used S01E01 of one series and simply copied it to S01E05 (a non-existent real episode) and while S01E01 presented an error, the new file - identical bit for bit - played fine. I also tried a manual analysis and it was still fine. Left the server overnight and this morning, as expected, the new file stopped playing.

Logs attached, the names should be descriptive but my take on them:

This bit of the media XML changes, mostly around bitrates etc. (addition of ‘deepAnalysisVersion=“4” requiredBandwidths="…"’ etc.)

<Media id="119700" duration="1740040" bitrate="5103" width="1280" height="720" aspectRatio="1.78" audioChannels="2" audioCodec="aac" videoCodec="h264" videoResolution="720" container="mkv" audioProfile="lc" videoProfile="high">
<Part accessible="1" exists="1" id="121827" key="/library/parts/121827/1587930078/file.mkv" duration="1740040" file="/media/hdd0/TV Shows/The Beauty of Maps (2010) (TV)/S01E05.mkv" size="1109909659" audioProfile="lc" container="mkv" videoProfile="high">
<Stream id="200923" streamType="1" default="1" codec="h264" index="0" bitrate="5103" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="720" codedWidth="1280" colorPrimaries="bt709" colorRange="tv" colorSpace="bt709" colorTrc="bt709" frameRate="50.000" hasScalingMatrix="0" height="720" level="32" profile="high" refFrames="4" scanType="progressive" width="1280" displayTitle="720p (H.264)" />
<Media id="119700" duration="1740040" bitrate="5097" width="1280" height="720" aspectRatio="1.78" audioChannels="2" audioCodec="aac" videoCodec="h264" videoResolution="720" container="mkv" audioProfile="lc" videoProfile="high">
<Part accessible="1" exists="1" id="121827" key="/library/parts/121827/1587930078/file.mkv" duration="1740040" file="/media/hdd0/TV Shows/The Beauty of Maps (2010) (TV)/S01E05.mkv" size="1109909659" audioProfile="lc" container="mkv" deepAnalysisVersion="4" requiredBandwidths="5150,5117,5099,5099,5099,5099,5099,5099" videoProfile="high">
<Stream id="200923" streamType="1" default="1" codec="h264" index="0" bitrate="4969" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="720" codedWidth="1280" colorPrimaries="bt709" colorRange="tv" colorSpace="bt709" colorTrc="bt709" frameRate="50.000" hasScalingMatrix="0" height="720" level="32" profile="high" refFrames="4" requiredBandwidths="5022,4989,4971,4971,4971,4971,4971,4971" scanType="progressive" width="1280" displayTitle="720p (H.264)" />

Then in last night’s successful playback, shield-logging-1.txt line 10923-ish onward versus this morning failure in shield-logging-2.txt line 12158-ish:

Play OK
04-26 20:44:36.475  i: [FFmpeg] [INFO] Successfully opened http://192.168.234.16:32400/video/:/transcode/universal/start.m3u8?audioBoost=100&autoAdjustQuality=0&directPlay=0&directStream=1&directStreamAudio=1&fastSeek=1&hasMDE=1&location=lan&maxVideoBitrate=200000&mediaBufferSize=209664&mediaIndex=0&partIndex=0&path=%2Flibrary%2Fmetadata%2F118137&protocol=hls&session=0118bf9f37db90ae-com-plexapp-android&subtitleSize=100&videoBitrate=200000&videoQuality=100&videoResolution=3840x2160&X-Plex-Client-Identifier=0118bf9f37db90ae-com-plexapp-android&X-Plex-Client-Platform=Android&X-Plex-Client-Profile-Extra=add-limitation(scope%3DvideoCodec%26scopeName%3Dh264%26type%3DupperBound%26name%3Dvideo.level%26value%3D52)%2Badd-limitation(scope%3DvideoCodec%26scopeName%3D*%26type%3DupperBound%26name%3Dvideo.width%26value%3D3840%26replace%3Dtrue)%2Badd-limitation(scope%3DvideoCodec%26scopeName%3D*%26type%3DupperBound%26name%3Dvideo.height%26value%3D2160%26replace%3Dtrue)%2Badd-transcode-target(type%3DvideoProfile%26context%3Dstreaming%26protocol%3Dhls%26container%3Dmkv%26videoCodec%3Dh264%2Chevc%2Cmpeg2video%26audioCodec%3Daac%2Cac3%2Cdca%2Cdca%2Cdca%2Cdca%2Ceac3%2Cmp3%26subtitleCodec%3Dass%2Cpgs%2Csubrip%2Cdvd_subtitle%2Cmov_text%2Cvtt%2Cdvb_subtitle%26replace%3Dtrue)%2Badd-transcode-target-settings(type%3DvideoProfile%26context%3Dstreaming%26protocol%3Dhls%26CopyMatroskaAttachments%3Dtrue)%2Badd-limitation(scope%3DvideoAudioCodec%26scopeName%3Daac%26type%3DupperBound%26name%3Daudio.channels%26value%3D8%26replace%3Dtrue)%2Badd-transcode-target-audio-codec(type%3DvideoProfile%26context%3Dstreaming%26protocol%3Dhls%26audioCodec%3Dmp3)%2Badd-transcode-target-audio-codec(type%3DvideoProfile%26context%3Dstreaming%26protocol%3Dhls%26audioCodec%3Dac3)%2Badd-transcode-target-audio-codec(type%3DvideoProfile%26context%3Dstreaming%26protocol%3Dhls%26audioCodec%3Deac3)%2Badd-transcode-target-audio-codec(type%3DvideoProfile%26context%3Dstreaming%26protocol%3Dhls%26audioCodec%3Ddca)%2Badd-limitation(scope%3DvideoCodec%26scopeName%3D*%26type%3DNotMatch%26name%3Dvideo.anamorphic%26value%3D999%26replace%3Dtrue)%2Badd-transcode-target(type%3DsubtitleProfile%26context%3Dstreaming%26protocol%3Dhttp%26container%3Dmkv%26subtitleCodec%3Dsrt)%2Bappend-transcode-target-codec(type%3DvideoProfile%26context%3Dstreaming%26protocol%3Dhls%26videoCodec%3Dmpeg2video)%2Bappend-transcode-target-codec(type%3DvideoProfile%26context%3Dstreaming%26protocol%3Dhls%26videoCodec%3Dhevc)%2Badd-limitation(scope%3DvideoCodec%26scopeName%3Dhevc%26type%3DMatch%26name%3Dvideo.profile%26list%3Dmain%7Cmain%2010)&X-Plex-Device=SHIELD%20Android%20TV&X-Plex-Platform=Android&X-Plex-Platform-Version=9&X-Plex-Product=Plex%20for%20Android%20(TV)&X-Plex-Token=...c3Lp&X-Plex-Version=8.0.0.17168, finding 2 streams.
04-26 20:44:36.475  i: [FFmpeg] [INFO] N/A
04-26 20:44:36.475  i: [FFmpeg] [INFO] 

04-26 20:44:36.475  i: [FFmpeg] [INFO]   Program 0 

04-26 20:44:36.475  i: [FFmpeg] [INFO] 

04-26 20:44:36.475  i: [FFmpeg] [INFO]     Metadata:

04-26 20:44:36.475  i: [FFmpeg] [INFO]     Metadata:

04-26 20:44:36.476  i: [FFmpeg] [INFO] Input #0, hls, from '':

04-26 20:44:36.476  i: [FFmpeg] [INFO]   Duration: 
04-26 20:44:36.476  i: [FFmpeg] [INFO] : Audio: aac (LC), 48000 Hz, 2 channels
04-26 20:44:36.476  i: [FFmpeg] [INFO]       variant_bitrate : 
04-26 20:44:36.476  i: [FFmpeg] [INFO] 

04-26 20:44:36.476  i: [FFmpeg] [INFO]     Metadata:

04-26 20:44:36.476  i: [FFmpeg] [INFO] 7910000
04-26 20:44:36.476  i: [FF] Container[hls] No Title - 0 kbps, 29 mins [CT: 0us, ST: 9979000us, SRT: -9223372036854775808us].
04-26 20:44:36.476  i: [FFmpeg] [INFO]       variant_bitrate : 
04-26 20:44:36.476  i: [FFmpeg] [INFO] 7910000
04-26 20:44:36.477  i: [FFmpeg] [INFO] 

04-26 20:44:36.477  i: [FFmpeg] [INFO] 

04-26 20:44:36.477  i: [FFmpeg] [INFO]     Stream #0:0
04-26 20:44:36.477  i: [FFmpeg] [INFO]       ENCODER         : 
04-26 20:44:36.477  i: [FFmpeg] [INFO] Lavc58.52.100 aac
04-26 20:44:36.477  i: [FFmpeg] [INFO] : Video: h264, 1 reference frame, none(progressive, left), 1280x720 (0x0), 0/1
04-26 20:44:36.477  i: [FFmpeg] [INFO] 

04-26 20:44:36.477  i: [FFmpeg] [INFO] Container metadata entries found: 0.
04-26 20:44:36.477  i: [FFmpeg] [INFO] , 
04-26 20:44:36.477  i: [FF] VideoStream[0-h264] 1280x720 [SAR 1:1, DAR 1280:720]. H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 - Unknown Profile (video/avc), 7.9 Mbps 29 mins 0.00fps, No Title / Unknown (null), 2 / 30 bytes, .
04-26 20:44:36.478  i: [FFmpeg] [INFO]       variant_bitrate : 
04-26 20:44:36.478  i: [FFmpeg] [INFO] Stream metadata entries found: 2.
04-26 20:44:36.478  i: [FFmpeg] [INFO] 1k tbr, 
04-26 20:44:36.478  i: [FFmpeg] [INFO] 7910000
04-26 20:44:36.478  i: [FFmpeg] [INFO] Stream metadata entries found: 3.
04-26 20:44:36.478  i: [FFmpeg] [INFO] 

04-26 20:44:36.478  i: [FFmpeg] [INFO] 1k tbn, 
04-26 20:44:36.478  i: [FFmpeg] [INFO]       ENCODER         : 
04-26 20:44:36.478  i: [FFmpeg] [INFO] 1k tbc
04-26 20:44:36.478  i: [FFmpeg] [INFO] Lavf58.27.104
04-26 20:44:36.478  i: [FFmpeg] [INFO] 

04-26 20:44:36.478  i: [FFmpeg] [INFO]     Stream #0:1
04-26 20:44:36.478  i: [FFmpeg] [INFO] (eng)
04-26 20:44:36.479  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), 7.9 Mbps -54 secs 0.00fps, No Title / English (eng), 1 / 5 bytes, .
04-26 20:44:36.483  i: [FF] Video decoder doesn't support aac (audio/mp4a-latm).
04-26 20:44:36.483  i: [FF] Audio decoder doesn't support aac (audio/mp4a-latm).
04-26 20:44:36.483  i: [FF] Video decoder doesn't support h264 (video/avc).
04-26 20:44:36.483  i: [FF][MediaPeriod] Selecting tracks.
04-26 20:44:36.483  i: [LoadControl] Assumed Bitrate: 400000, Segment Count: 46875
04-26 20:44:36.483  i: [LoadControl] Detected memory pressure, reducing segment count to fit available memory: 512 MB
04-26 20:44:36.488  i: [LoadControl] Final Segment count: 1638 (102 MB / 4 Seconds)
04-26 20:44:36.488  i: [ExoPlayer][EventLogger] decoderEnabled [7.16, 0.00, window=0, video]
04-26 20:44:36.488  i: [ExoPlayer][EventLogger] decoderEnabled [7.16, 0.00, window=0, audio]
04-26 20:44:36.488  i: [ExoPlayer][EventLogger] tracksChanged [7.16, 0.00, window=0, 
04-26 20:44:36.488  i: [ExoPlayer][EventLogger]   Renderer:1 [
04-26 20:44:36.488  i: [ExoPlayer][EventLogger]     Group:0, adaptive_supported=N/A [
04-26 20:44:36.489  i: [ExoPlayer][EventLogger]       [X] Track:0, id=0, mimeType=video/avc, bitrate=7910000, codecs=h264, res=1280x720, fps=0.0, supported=YES
04-26 20:44:36.489  i: [ExoPlayer][EventLogger]     ]
04-26 20:44:36.489  i: [ExoPlayer][EventLogger]     Metadata [
04-26 20:44:36.490  i: [ExoPlayer][EventLogger]       original_init_data: (Value: 0 Buffer: 41 bytes)
04-26 20:44:36.490  i: [ExoPlayer][EventLogger]       scantype_progressive: (Value: 1 Buffer: 0 bytes)
04-26 20:44:36.490  i: [ExoPlayer][EventLogger]     ]
04-26 20:44:36.490  i: [ExoPlayer][EventLogger]   ]
04-26 20:44:36.490  i: [ExoPlayer][EventLogger]   Renderer:3 [
04-26 20:44:36.490  i: [ExoPlayer][EventLogger]     Group:0, adaptive_supported=N/A [
04-26 20:44:36.490  i: [ExoPlayer][EventLogger]       [X] Track:0, id=1, mimeType=audio/mp4a-latm, bitrate=7910000, codecs=aac, channels=2, sample_rate=48000, language=eng, supported=YES
04-26 20:44:36.490  i: [ExoPlayer][EventLogger]     ]
04-26 20:44:36.490  i: [ExoPlayer][EventLogger]     Metadata [
04-26 20:44:36.491  i: [ExoPlayer][EventLogger]       block_align: (Value: 0 Buffer: 0 bytes)
04-26 20:44:36.491  i: [ExoPlayer][EventLogger]       channel_layout: (Value: 0 Buffer: 0 bytes)
04-26 20:44:36.491  i: [ExoPlayer][EventLogger]       original_init_data: (Value: 0 Buffer: 5 bytes)
04-26 20:44:36.491  i: [ExoPlayer][EventLogger]     ]
04-26 20:44:36.491  i: [ExoPlayer][EventLogger]   ]
04-26 20:44:36.491  i: [ExoPlayer][EventLogger] ]
04-26 20:44:36.491  i: [Player][ExoPlayer] Setting initial track selection...
04-26 20:44:36.491  i: [Player][ExoPlayer] Switching video surface to use MediaCodec surface.
04-26 20:44:36.491  i: [Player] onSurfaceChangeRequested
04-26 20:44:36.491  i: [FF] Video decoder doesn't support aac (audio/mp4a-latm).
04-26 20:44:36.491  i: [FF] Audio decoder doesn't support aac (audio/mp4a-latm).
04-26 20:44:36.491  i: [FF] Video decoder doesn't support h264 (video/avc).
04-26 20:44:36.491  i: [FF] Video decoder doesn't support aac (audio/mp4a-latm).
04-26 20:44:36.492  i: [FF] Audio decoder doesn't support aac (audio/mp4a-latm).
04-26 20:44:36.492  i: [FF] Video decoder doesn't support h264 (video/avc).
04-26 20:44:36.494  i: [FF] Video decoder doesn't support aac (audio/mp4a-latm).
04-26 20:44:36.494  i: [FF] Audio decoder doesn't support aac (audio/mp4a-latm).
04-26 20:44:36.495  i: [FF] Video decoder doesn't support h264 (video/avc).
04-26 20:44:36.497  i: [ExoPlayer][EventLogger] surfaceSizeChanged [7.17, 0.00, window=0, 0, 0]
04-26 20:44:36.498  i: [ExoPlayer][EventLogger] timelineChanged [7.18, 0.00, window=0, periodCount=1, windowCount=1, reason=DYNAMIC
04-26 20:44:36.499  i: [ExoPlayer][EventLogger]   period [1741.00]
04-26 20:44:36.500  i: [ExoPlayer][EventLogger]   window [1741.00, true, false]
04-26 20:44:36.501  i: [ExoPlayer][EventLogger] ]
04-26 20:44:36.501  i: [Player][ExoPlayer] onTimelineChanged (Position: 0 ms)
04-26 20:44:36.514  i: [ExoPlayer][EventLogger] surfaceSizeChanged [7.19, 0.00, window=0, 1920, 1080]
04-26 20:44:36.570  i: [ExoPlayer][EventLogger] decoderInitialized [7.25, 0.00, window=0, video, OMX.Nvidia.h264.decode]
04-26 20:44:36.570  i: [ExoPlayer][EventLogger] decoderInputFormatChanged [7.25, 0.00, window=0, video, id=0, mimeType=video/avc, bitrate=7910000, codecs=h264, res=1280x720, fps=0.0]
04-26 20:44:36.600  i: [ExoPlayer][EventLogger] decoderInitialized [7.28, 0.00, window=0, audio, OMX.google.aac.decoder]
04-26 20:44:36.600  i: [ExoPlayer][EventLogger] decoderInputFormatChanged [7.28, 0.00, window=0, audio, id=1, mimeType=audio/mp4a-latm, bitrate=7910000, codecs=aac, channels=2, sample_rate=48000, language=eng]
04-26 20:44:36.600  i: [TranscodeSession] Updating session status
04-26 20:44:36.603  i: [TranscodeSession] Direct Play
04-26 20:44:36.611  i: [Player] onDisplaySizeChanged(1280x720 at 0x0)
04-26 20:44:36.612  i: [Player][DimensionsLayout] Resizing: 1920 x 1080
04-26 20:44:36.612  i: [ExoPlayer][EventLogger] videoSizeChanged [7.29, 0.00, window=0, 1280, 720]
04-26 20:44:36.612  i: [ExoPlayer][EventLogger] renderedFirstFrame [7.29, 0.00, window=0, Surface(name=null)/@0xb32d476]
04-26 20:44:36.644  i: [ExoPlayer][EventLogger] audioSessionId [7.32, 0.00, window=0, 553]
04-26 20:44:36.663  i: [ExoPlayer][EventLogger] state [7.34, 0.00, window=0, true, READY]
04-26 20:44:36.664  i: [EngineEventManager] onBufferingEnded
04-26 20:44:36.665  i: [EngineEventManager] onPlaybackStarted: Delay--255271314
04-26 20:44:36.665  i: [Player][Timeline] Playback started, scheduling updates
04-26 20:44:36.666  i: [PlaybackTimeBehaviour] Time: 0 IsStarted: false
04-26 20:44:36.666  i: [MetricsLatencyBehaviour] Latency recorded for playback: 7394

versus

Play Fail
04-27 07:37:01.655  i: [FFmpeg] [INFO] Successfully opened http://192.168.234.16:32400/video/:/transcode/universal/start.m3u8?audioBoost=100&autoAdjustQuality=0&directPlay=0&directStream=1&directStreamAudio=1&fastSeek=1&hasMDE=1&location=lan&maxVideoBitrate=200000&mediaBufferSize=209664&mediaIndex=0&partIndex=0&path=%2Flibrary%2Fmetadata%2F118137&protocol=hls&session=0118bf9f37db90ae-com-plexapp-android&subtitleSize=100&videoBitrate=200000&videoQuality=100&videoResolution=3840x2160&X-Plex-Client-Identifier=0118bf9f37db90ae-com-plexapp-android&X-Plex-Client-Platform=Android&X-Plex-Client-Profile-Extra=add-limitation(scope%3DvideoCodec%26scopeName%3Dh264%26type%3DupperBound%26name%3Dvideo.level%26value%3D52)%2Badd-limitation(scope%3DvideoCodec%26scopeName%3D*%26type%3DupperBound%26name%3Dvideo.width%26value%3D3840%26replace%3Dtrue)%2Badd-limitation(scope%3DvideoCodec%26scopeName%3D*%26type%3DupperBound%26name%3Dvideo.height%26value%3D2160%26replace%3Dtrue)%2Badd-transcode-target(type%3DvideoProfile%26context%3Dstreaming%26protocol%3Dhls%26container%3Dmkv%26videoCodec%3Dh264%2Chevc%2Cmpeg2video%26audioCodec%3Daac%2Cac3%2Cdca%2Cdca%2Cdca%2Cdca%2Ceac3%2Cmp3%26subtitleCodec%3Dass%2Cpgs%2Csubrip%2Cdvd_subtitle%2Cmov_text%2Cvtt%2Cdvb_subtitle%26replace%3Dtrue)%2Badd-transcode-target-settings(type%3DvideoProfile%26context%3Dstreaming%26protocol%3Dhls%26CopyMatroskaAttachments%3Dtrue)%2Badd-limitation(scope%3DvideoAudioCodec%26scopeName%3Daac%26type%3DupperBound%26name%3Daudio.channels%26value%3D8%26replace%3Dtrue)%2Badd-transcode-target-audio-codec(type%3DvideoProfile%26context%3Dstreaming%26protocol%3Dhls%26audioCodec%3Dmp3)%2Badd-transcode-target-audio-codec(type%3DvideoProfile%26context%3Dstreaming%26protocol%3Dhls%26audioCodec%3Dac3)%2Badd-transcode-target-audio-codec(type%3DvideoProfile%26context%3Dstreaming%26protocol%3Dhls%26audioCodec%3Deac3)%2Badd-transcode-target-audio-codec(type%3DvideoProfile%26context%3Dstreaming%26protocol%3Dhls%26audioCodec%3Ddca)%2Badd-limitation(scope%3DvideoCodec%26scopeName%3D*%26type%3DNotMatch%26name%3Dvideo.anamorphic%26value%3D999%26replace%3Dtrue)%2Badd-transcode-target(type%3DsubtitleProfile%26context%3Dstreaming%26protocol%3Dhttp%26container%3Dmkv%26subtitleCodec%3Dsrt)%2Bappend-transcode-target-codec(type%3DvideoProfile%26context%3Dstreaming%26protocol%3Dhls%26videoCodec%3Dmpeg2video)%2Bappend-transcode-target-codec(type%3DvideoProfile%26context%3Dstreaming%26protocol%3Dhls%26videoCodec%3Dhevc)%2Badd-limitation(scope%3DvideoCodec%26scopeName%3Dhevc%26type%3DMatch%26name%3Dvideo.profile%26list%3Dmain%7Cmain%2010)&X-Plex-Device=SHIELD%20Android%20TV&X-Plex-Platform=Android&X-Plex-Platform-Version=9&X-Plex-Product=Plex%20for%20Android%20(TV)&X-Plex-Token=...c3Lp&X-Plex-Version=8.0.0.17168, finding 2 streams.
04-27 07:37:01.655  i: [FFmpeg] [INFO] Input #0, hls, from '':

04-27 07:37:01.655  i: [FFmpeg] [INFO]   Duration: 
04-27 07:37:01.656  i: [FFmpeg] [INFO] 00:29:01.00
04-27 07:37:01.656  i: [FFmpeg] [INFO]       variant_bitrate : 
04-27 07:37:01.656  i: [FFmpeg] [INFO] , start: 
04-27 07:37:01.656  i: [FFmpeg] [INFO] 5097000
04-27 07:37:01.656  i: [FFmpeg] [INFO] 10.000000
04-27 07:37:01.656  i: [FFmpeg] [INFO] 

04-27 07:37:01.656  i: [FFmpeg] [INFO] , bitrate: 
04-27 07:37:01.656  i: [FFmpeg] [INFO]     Stream #0:0
04-27 07:37:01.656  i: [FFmpeg] [INFO] N/A
04-27 07:37:01.656  i: [FFmpeg] [INFO] : Video: h264, 1 reference frame, none(tv, bt709, progressive, left), 1280x720 (0x0), 0/1
04-27 07:37:01.656  i: [FFmpeg] [INFO] 

04-27 07:37:01.656  i: [FF] Container[hls] No Title - 0 kbps, 29 mins [CT: 0us, ST: 10000000us, SRT: -9223372036854775808us].
04-27 07:37:01.656  i: [FFmpeg] [INFO] , 
04-27 07:37:01.656  i: [FFmpeg] [INFO]   Program 0 

04-27 07:37:01.656  i: [FFmpeg] [INFO] 1k tbr, 
04-27 07:37:01.656  i: [FFmpeg] [INFO]     Metadata:

04-27 07:37:01.656  i: [FFmpeg] [INFO] 1k tbn, 
04-27 07:37:01.656  i: [FFmpeg] [INFO]     Metadata:

04-27 07:37:01.656  i: [FFmpeg] [INFO] 1k tbc
04-27 07:37:01.657  i: [FFmpeg] [INFO] 

04-27 07:37:01.657  i: [FFmpeg] [INFO]       variant_bitrate : 
04-27 07:37:01.657  i: [FFmpeg] [INFO] 5097000
04-27 07:37:01.657  i: [FFmpeg] [INFO]     Stream #0:1
04-27 07:37:01.657  i: [FFmpeg] [INFO] 

04-27 07:37:01.657  i: [FFmpeg] [INFO] (eng)
04-27 07:37:01.657  i: [FFmpeg] [INFO]       HANDLER_NAME    : 
04-27 07:37:01.657  i: [FFmpeg] [INFO] : Audio: aac (LC), 48000 Hz, 2 channels
04-27 07:37:01.657  i: [FFmpeg] [INFO] 

04-27 07:37:01.657  i: [FFmpeg] [INFO] VideoHandler
04-27 07:37:01.657  i: [FFmpeg] [INFO] 

04-27 07:37:01.657  i: [FFmpeg] [INFO]     Metadata:

04-27 07:37:01.657  i: [FFmpeg] [INFO]       ENCODER         : 
04-27 07:37:01.657  i: [FFmpeg] [INFO] 

04-27 07:37:01.657  i: [FFmpeg] [WARN] [AVBSFContext @ 0x2f63beed40] Warning: SPS NALU missing or invalid. The resulting stream may not play.

04-27 07:37:01.657  i: [FFmpeg] [WARN] [AVBSFContext @ 0x2f63beed40] Warning: PPS NALU missing or invalid. The resulting stream may not play.

04-27 07:37:01.657  i: [FFmpeg] [INFO] Container metadata entries found: 0.
04-27 07:37:01.657  i: [FFmpeg] [INFO] Stream metadata entries found: 3.
04-27 07:37:01.657  i: [FFmpeg] [INFO] Stream metadata entries found: 3.
04-27 07:37:01.658  i: [FFmpeg] [INFO] Container metadata entries found: 0.
04-27 07:37:01.658  i: [FF] Container[hls] No Title - 0 kbps, 29 mins [CT: 0us, ST: 10000000us, SRT: -9223372036854775808us].
04-27 07:37:01.658  i: [FFmpeg] [INFO] Stream metadata entries found: 3.
04-27 07:37:01.658  i: [FFmpeg] [INFO] Stream metadata entries found: 3.
04-27 07:37:01.658  i: [FFmpeg] [INFO]       variant_bitrate : 
04-27 07:37:01.658  i: [FFmpeg] [INFO] 5097000
04-27 07:37:01.658  i: [FFmpeg] [INFO] 

04-27 07:37:01.658  i: [FFmpeg] [INFO]       HANDLER_NAME    : 
04-27 07:37:01.658  i: [FFmpeg] [INFO] SoundHandler
04-27 07:37:01.658  i: [FFmpeg] [INFO] Lavf58.27.104
04-27 07:37:01.658  i: [FFmpeg] [INFO] 

04-27 07:37:02.658  i: [FFmpeg] [INFO] Container metadata entries found: 0.
04-27 07:37:02.658  i: [FFmpeg] [INFO] Stream metadata entries found: 3.
04-27 07:37:02.658  i: [FF] Container[hls] No Title - 0 kbps, 29 mins [CT: 0us, ST: 10000000us, SRT: -9223372036854775808us].
04-27 07:37:02.658  i: [FFmpeg] [INFO] Stream metadata entries found: 3.
04-27 07:37:04.660  i: [FFmpeg] [INFO] Stream metadata entries found: 3.
04-27 07:37:04.660  i: [FFmpeg] [INFO] Container metadata entries found: 0.
04-27 07:37:04.660  i: [FF] Container[hls] No Title - 0 kbps, 29 mins [CT: 0us, ST: 10000000us, SRT: -9223372036854775808us].
04-27 07:37:04.660  i: [FFmpeg] [INFO] Stream metadata entries found: 3.
04-27 07:37:04.669  e: [ExoPlayer][EventLogger] playerFailed [13.05, 0.00, window=0]
04-27 07:37:04.670  i: [FF][MediaPeriod] Releasing.
04-27 07:37:04.670  i: [FF] Loading canceled (released: true)
04-27 07:37:04.672  e: An exception occurred: com.google.android.exoplayer2.r: com.google.android.exoplayer2.y0.a0$h: Unexpected IndexOutOfBoundsException: Index: 0, Size: 0
04-27 07:37:04.672  e: Stacktrace: com.google.android.exoplayer2.r: com.google.android.exoplayer2.y0.a0$h: Unexpected IndexOutOfBoundsException: Index: 0, Size: 0
	at com.google.android.exoplayer2.v.handleMessage(SourceFile:29)
	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.y0.a0$h: Unexpected IndexOutOfBoundsException: Index: 0, Size: 0
	at com.google.android.exoplayer2.y0.a0$d.run(SourceFile:18)
	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:764)
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.get(ArrayList.java:437)
	at com.plexapp.plex.ff.data.BaseStream.toString(SourceFile:6)
	at com.plexapp.plex.ff.data.VideoStream.toString(SourceFile:5)
	at com.plexapp.plex.ff.FFDemuxer.demux(SourceFile:14)
	at com.plexapp.plex.ff.source.FFLoadable.load(SourceFile:12)
	at com.google.android.exoplayer2.y0.a0$d.run(SourceFile:4)
	... 3 more

04-27 07:37:04.673  i: [FF] Releasing demuxer.
04-27 07:37:04.673  e: [Player][ExoPlayer] Playback error detected
04-27 07:37:04.673  i: [FFmpeg] [INFO] Demuxer closing.
04-27 07:37:04.673  e: An exception occurred: com.google.android.exoplayer2.r: com.google.android.exoplayer2.y0.a0$h: Unexpected IndexOutOfBoundsException: Index: 0, Size: 0
04-27 07:37:04.673  e: Stacktrace: com.google.android.exoplayer2.r: com.google.android.exoplayer2.y0.a0$h: Unexpected IndexOutOfBoundsException: Index: 0, Size: 0
	at com.google.android.exoplayer2.v.handleMessage(SourceFile:29)
	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.y0.a0$h: Unexpected IndexOutOfBoundsException: Index: 0, Size: 0
	at com.google.android.exoplayer2.y0.a0$d.run(SourceFile:18)
	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:764)
Caused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
	at java.util.ArrayList.get(ArrayList.java:437)
	at com.plexapp.plex.ff.data.BaseStream.toString(SourceFile:6)
	at com.plexapp.plex.ff.data.VideoStream.toString(SourceFile:5)
	at com.plexapp.plex.ff.FFDemuxer.demux(SourceFile:14)
	at com.plexapp.plex.ff.source.FFLoadable.load(SourceFile:12)
	at com.google.android.exoplayer2.y0.a0$d.run(SourceFile:4)
	... 3 more

04-27 07:37:04.673  i: [Player][Timeline] Handling player error
04-27 07:37:04.673  i: [Player][Timeline] Playback stopped (error: true)
04-27 07:37:04.674  i: [FFmpeg] [INFO] [Cache] Close requested, terminating.
04-27 07:37:04.674  i: [PlaybackTimeBehaviour] Time: 0 IsStarted: false
04-27 07:37:04.674  i: [FFmpeg] [INFO] [Cache] Close requested, terminating.
04-27 07:37:04.674  i: [ExoPlayer][EventLogger] loading [13.05, 0.00, window=0, false]
04-27 07:37:04.674  i: [ExoPlayer][EventLogger] state [13.05, 0.00, window=0, true, IDLE]
04-27 07:37:04.674  i: [FFmpeg] [INFO] Demuxer pipeline terminated.
04-27 07:37:04.675  i: [FFmpeg] [INFO] Demuxer has been successfully closed.

Hope this enough detail. Anything else needed and any suggestions for a workaround ?

S01E01 - 9314.xml.txt (4.2 KB) S01E05 - 118137.xml.txt (2.4 KB) S01E05 - 118137- nextday.xml.txt (2.6 KB) shield-logging-2.txt (1.2 MB) shield-logging-1.txt (1.2 MB)

1 Like

I have now seen/tested the same issue on Android in general - both my OnePlus 5 (Plex 8.0.0.x beta) and the old nvidia shield K1 I woke up for testing.

One more data point, if anyone else ever reads this, Casting from my Andoird phone to the nVidia built-in endpoint works fine. Casting to the “plex” endpoint results in the same broken behaviour as above. It’s a work around for the short-term I guess.

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