Playpack issue on FireTV Stick 4k (Gen1) - Exoplayer errors and ffmpeg demuxerpipline failing to open cache

Server Version#: 1.23.0.4482
Player Version#: 8.16.2.24953 (ecc9cc06)

I’ve been having intermittent issues with playback on a few FireTV Stick 4k (Gen1)

Below are logs collected from one as it was having playback issues.
It looks like Exoplayer issues, but I’m not really sure since I am not familiar with how plex clients work.
I can manage to get things to play every now and then, same pieces of media will not work, then work after just rebooting or randomly waiting awhile to go back and play them.

Any help is greatly appreciated!

05-07 19:48:16.270  i: Resuming PlayerActivity.
05-07 19:48:16.284  i: [ExoPlayer][EventLogger] loading [eventTime=0.84, mediaPos=0.00, window=0, period=0, true]
05-07 19:48:16.286  i: [SystemUIBehaviour] Hiding the system user-interface.
05-07 19:48:16.384  i: [Player][View] Layout has been measured with a size of 1920 x 1080 (1920 x 1080).
05-07 19:48:16.844  i: [DisplayBehaviour] Mode was correctly updated to 1920x1080 @ 59.9400Hz (2).
05-07 19:48:16.855  i: [BufferHelper] Assumed Bitrate: 10000, Segment Count: 1171
05-07 19:48:16.856  i: [BufferHelper] Segment count: 1171
05-07 19:48:16.863  i: [BufferHelper] Assumed Bitrate: 10000, Segment Count: 1171
05-07 19:48:16.869  i: [BufferHelper] Segment count: 1171
05-07 19:48:16.871  i: [FF] Creating context for playback.
05-07 19:48:16.878  i: [FF] Setting additional option: tls_verify: 1
05-07 19:48:16.880  i: [FF] Opening https://********.com:32400/library/parts/242334/1618901349/file.mkv?autoAdjustQuality=0&hasMDE=1&location=wan&mediaBufferSize=74944&X-Plex-Client-Identifier=***********-com-plexapp-android&X-Plex-Client-Platform=Android&X-Plex-Device=AFTMM&X-Plex-DRM=widevine%3Avideo&X-Plex-Platform=Android&X-Plex-Platform-Version=7.1.2&X-Plex-Product=Plex%20for%20Android%20(TV)&X-Plex-Token=**********&X-Plex-Version=8.16.2.24953.
05-07 19:48:16.893  i: [FFmpeg] [INFO] JNI environment has been loaded successfully.
05-07 19:48:16.894  i: [FFmpeg] [INFO] Updated codec path to '/data/user/0/com.plexapp.android/Plex Media Server/Codecs/367b3d4-3673-android-armv7/'.
05-07 19:48:16.907  i: [FFmpeg] [INFO] Initialised AV functions.
05-07 19:48:16.909  i: [FFmpeg] [INFO] Adding option: ignore_chapters 1
05-07 19:48:16.911  i: [FFmpeg] [INFO] Adding option: live_start_index 0
05-07 19:48:16.912  i: [FFmpeg] [INFO] Adding option: reconnect 1
05-07 19:48:16.920  i: [FFmpeg] [INFO] Adding option: ca_file /data/user/0/com.plexapp.android/ca.pem
05-07 19:48:16.921  i: [FFmpeg] [INFO] Adding option: tls_verify 1
05-07 19:48:16.925  i: [FFmpeg] [INFO] Allocating format context.
05-07 19:48:16.933  i: [FFmpeg] [INFO] Opening input from https://********.com:32400/library/parts/242334/1618901349/file.mkv?autoAdjustQuality=0&hasMDE=1&location=wan&mediaBufferSize=74944&X-Plex-Client-Identifier=***********-com-plexapp-android&X-Plex-Client-Platform=Android&X-Plex-Device=AFTMM&X-Plex-DRM=widevine%3Avideo&X-Plex-Platform=Android&X-Plex-Platform-Version=7.1.2&X-Plex-Product=Plex%20for%20Android%20(TV)&X-Plex-Token=**********&X-Plex-Version=8.16.2.24953.
05-07 19:48:16.950  i: [FFmpeg] [INFO] [Cache] Close requested, terminating.
05-07 19:48:16.952  i: [FFmpeg] [INFO] [Cache] Opening source from https://********.com:32400/library/parts/242334/1618901349/file.mkv?autoAdjustQuality=0&hasMDE=1&location=wan&mediaBufferSize=74944&X-Plex-Client-Identifier=***********-com-plexapp-android&X-Plex-Client-Platform=Android&X-Plex-Device=AFTMM&X-Plex-DRM=widevine%3Avideo&X-Plex-Platform=Android&X-Plex-Platform-Version=7.1.2&X-Plex-Product=Plex%20for%20Android%20(TV)&X-Plex-Token=**********&X-Plex-Version=8.16.2.24953.
05-07 19:48:16.953  i: [ExoPlayer][EventLogger] timeline [eventTime=1.50, mediaPos=0.00, window=0, period=0, periodCount=1, windowCount=1, reason=SOURCE_UPDATE
05-07 19:48:16.961  i: [ExoPlayer][EventLogger]   period [?]
05-07 19:48:16.963  i: [ExoPlayer][EventLogger]   window [?, seekable=false, dynamic=false]
05-07 19:48:16.965  i: [ExoPlayer][EventLogger] ]
05-07 19:48:16.968  i: [Player][ExoPlayer] onTimelineChanged (Position: 0 ms, Duration: 0 ms)
05-07 19:48:16.970  i: [EngineEventManager] onBufferingStarted (isSeeking: false)
05-07 19:48:16.972  i: [Player][Timeline] Playback started (or buffering), scheduling updates
05-07 19:48:16.974  i: [TranscodeSession] Media choice updated
05-07 19:48:16.981  i: [TranscodeSession] Pausing...
05-07 19:48:17.111  i: [FFmpeg] [ERROR] [tls @ 0x8a12ce40] The certificate's owner does not match hostname ********.com

05-07 19:48:17.125  i: [FFmpeg] [ERROR] [DemuxerPipeline] Failed to open cache.
05-07 19:48:17.126  e: [FF] Demuxer failed to open input from `https://********.com:32400/library/parts/242334/1618901349/file.mkv?autoAdjustQuality=0&hasMDE=1&location=wan&mediaBufferSize=74944&X-Plex-Client-Identifier=***********-com-plexapp-android&X-Plex-Client-Platform=Android&X-Plex-Device=AFTMM&X-Plex-DRM=widevine%3Avideo&X-Plex-Platform=Android&X-Plex-Platform-Version=7.1.2&X-Plex-Product=Plex%20for%20Android%20(TV)&X-Plex-Token=**********&X-Plex-Version=8.16.2.24953`.
05-07 19:48:17.137  i: [FF] Setting additional option: tls_verify: 1
05-07 19:48:17.140  i: [FFmpeg] [INFO] Adding option: ignore_chapters 1
05-07 19:48:17.141  i: [FFmpeg] [INFO] Adding option: live_start_index 0
05-07 19:48:17.143  i: [FFmpeg] [INFO] Adding option: reconnect 1
05-07 19:48:17.148  i: [FFmpeg] [INFO] Adding option: ca_file /data/user/0/com.plexapp.android/ca.pem
05-07 19:48:17.150  i: [FF] Opening https://********.com:32400/library/parts/242334/1618901349/file.mkv?autoAdjustQuality=0&hasMDE=1&location=wan&mediaBufferSize=74944&X-Plex-Client-Identifier=***********-com-plexapp-android&X-Plex-Client-Platform=Android&X-Plex-Device=AFTMM&X-Plex-DRM=widevine%3Avideo&X-Plex-Platform=Android&X-Plex-Platform-Version=7.1.2&X-Plex-Product=Plex%20for%20Android%20(TV)&X-Plex-Token=**********&X-Plex-Version=8.16.2.24953.
05-07 19:48:17.152  i: [FFmpeg] [INFO] Adding option: tls_verify 1
05-07 19:48:17.153  i: [FFmpeg] [INFO] Demuxer closing.
05-07 19:48:17.155  i: [FFmpeg] [INFO] [Cache] Close requested, terminating.
05-07 19:48:17.163  i: [FFmpeg] [INFO] [Cache] Close requested, terminating.
05-07 19:48:17.164  i: [FFmpeg] [INFO] Allocating format context.
05-07 19:48:17.166  i: [FFmpeg] [INFO] Opening input from https://********.com:32400/library/parts/242334/1618901349/file.mkv?autoAdjustQuality=0&hasMDE=1&location=wan&mediaBufferSize=74944&X-Plex-Client-Identifier=***********-com-plexapp-android&X-Plex-Client-Platform=Android&X-Plex-Device=AFTMM&X-Plex-DRM=widevine%3Avideo&X-Plex-Platform=Android&X-Plex-Platform-Version=7.1.2&X-Plex-Product=Plex%20for%20Android%20(TV)&X-Plex-Token=**********&X-Plex-Version=8.16.2.24953.
05-07 19:48:17.167  i: [FFmpeg] [INFO] [Cache] Close requested, terminating.
05-07 19:48:17.194  i: [FFmpeg] [INFO] [Cache] Opening source from https://********.com:32400/library/parts/242334/1618901349/file.mkv?autoAdjustQuality=0&hasMDE=1&location=wan&mediaBufferSize=74944&X-Plex-Client-Identifier=***********-com-plexapp-android&X-Plex-Client-Platform=Android&X-Plex-Device=AFTMM&X-Plex-DRM=widevine%3Avideo&X-Plex-Platform=Android&X-Plex-Platform-Version=7.1.2&X-Plex-Product=Plex%20for%20Android%20(TV)&X-Plex-Token=**********&X-Plex-Version=8.16.2.24953.
05-07 19:48:17.288  i: [FFmpeg] [ERROR] [tls @ 0x8a12ce40] The certificate's owner does not match hostname ********.com

05-07 19:48:17.289  i: [FFmpeg] [ERROR] [DemuxerPipeline] Failed to open cache.
05-07 19:48:17.291  e: [FF] Demuxer failed to open input from `https://********.com:32400/library/parts/242334/1618901349/file.mkv?autoAdjustQuality=0&hasMDE=1&location=wan&mediaBufferSize=74944&X-Plex-Client-Identifier=***********-com-plexapp-android&X-Plex-Client-Platform=Android&X-Plex-Device=AFTMM&X-Plex-DRM=widevine%3Avideo&X-Plex-Platform=Android&X-Plex-Platform-Version=7.1.2&X-Plex-Product=Plex%20for%20Android%20(TV)&X-Plex-Token=**********&X-Plex-Version=8.16.2.24953`.
05-07 19:48:17.670  i: [HdmiCaps] Capabilties changed (AudioCapabilities[maxChannelCount=8, supportedEncodings=[2]])
05-07 19:48:17.672  i: [HdmiCaps] Reporting capabilities changed
05-07 19:48:18.162  i: [HdmiCaps] Capabilties changed (AudioCapabilities[maxChannelCount=8, supportedEncodings=[2, 4, 5, 6, 13]])
05-07 19:48:18.164  i: [HdmiCaps] Reporting capabilities changed
05-07 19:48:18.290  i: [FFmpeg] [INFO] Adding option: ignore_chapters 1
05-07 19:48:18.292  i: [FF] Setting additional option: tls_verify: 1
05-07 19:48:18.293  i: [FF] Opening https://********.com:32400/library/parts/242334/1618901349/file.mkv?autoAdjustQuality=0&hasMDE=1&location=wan&mediaBufferSize=74944&X-Plex-Client-Identifier=***********-com-plexapp-android&X-Plex-Client-Platform=Android&X-Plex-Device=AFTMM&X-Plex-DRM=widevine%3Avideo&X-Plex-Platform=Android&X-Plex-Platform-Version=7.1.2&X-Plex-Product=Plex%20for%20Android%20(TV)&X-Plex-Token=**********&X-Plex-Version=8.16.2.24953.
05-07 19:48:18.294  i: [FFmpeg] [INFO] Adding option: live_start_index 0
05-07 19:48:18.295  i: [FFmpeg] [INFO] Adding option: reconnect 1
05-07 19:48:18.296  i: [FFmpeg] [INFO] Adding option: ca_file /data/user/0/com.plexapp.android/ca.pem
05-07 19:48:18.298  i: [FFmpeg] [INFO] Adding option: tls_verify 1
05-07 19:48:18.299  i: [FFmpeg] [INFO] Demuxer closing.
05-07 19:48:18.300  i: [FFmpeg] [INFO] [Cache] Close requested, terminating.
05-07 19:48:18.301  i: [FFmpeg] [INFO] [Cache] Close requested, terminating.
05-07 19:48:18.302  i: [FFmpeg] [INFO] Allocating format context.
05-07 19:48:18.304  i: [FFmpeg] [INFO] Opening input from https://********.com:32400/library/parts/242334/1618901349/file.mkv?autoAdjustQuality=0&hasMDE=1&location=wan&mediaBufferSize=74944&X-Plex-Client-Identifier=***********-com-plexapp-android&X-Plex-Client-Platform=Android&X-Plex-Device=AFTMM&X-Plex-DRM=widevine%3Avideo&X-Plex-Platform=Android&X-Plex-Platform-Version=7.1.2&X-Plex-Product=Plex%20for%20Android%20(TV)&X-Plex-Token=**********&X-Plex-Version=8.16.2.24953.
05-07 19:48:18.305  i: [FFmpeg] [INFO] [Cache] Close requested, terminating.
05-07 19:48:18.306  i: [FFmpeg] [INFO] [Cache] Opening source from https://********.com:32400/library/parts/242334/1618901349/file.mkv?autoAdjustQuality=0&hasMDE=1&location=wan&mediaBufferSize=74944&X-Plex-Client-Identifier=***********-com-plexapp-android&X-Plex-Client-Platform=Android&X-Plex-Device=AFTMM&X-Plex-DRM=widevine%3Avideo&X-Plex-Platform=Android&X-Plex-Platform-Version=7.1.2&X-Plex-Product=Plex%20for%20Android%20(TV)&X-Plex-Token=**********&X-Plex-Version=8.16.2.24953.
05-07 19:48:18.483  i: [FFmpeg] [ERROR] [tls @ 0x8a12ce40] The certificate's owner does not match hostname ********.com

05-07 19:48:18.493  e: [FF] Demuxer failed to open input from `https://********.com:32400/library/parts/242334/1618901349/file.mkv?autoAdjustQuality=0&hasMDE=1&location=wan&mediaBufferSize=74944&X-Plex-Client-Identifier=***********-com-plexapp-android&X-Plex-Client-Platform=Android&X-Plex-Device=AFTMM&X-Plex-DRM=widevine%3Avideo&X-Plex-Platform=Android&X-Plex-Platform-Version=7.1.2&X-Plex-Product=Plex%20for%20Android%20(TV)&X-Plex-Token=**********&X-Plex-Version=8.16.2.24953`.
05-07 19:48:18.495  i: [FFmpeg] [ERROR] [DemuxerPipeline] Failed to open cache.
05-07 19:48:20.494  i: [FFmpeg] [INFO] Adding option: ignore_chapters 1
05-07 19:48:20.496  i: [FF] Setting additional option: tls_verify: 1
05-07 19:48:20.500  i: [FF] Opening https://********.com:32400/library/parts/242334/1618901349/file.mkv?autoAdjustQuality=0&hasMDE=1&location=wan&mediaBufferSize=74944&X-Plex-Client-Identifier=***********-com-plexapp-android&X-Plex-Client-Platform=Android&X-Plex-Device=AFTMM&X-Plex-DRM=widevine%3Avideo&X-Plex-Platform=Android&X-Plex-Platform-Version=7.1.2&X-Plex-Product=Plex%20for%20Android%20(TV)&X-Plex-Token=**********&X-Plex-Version=8.16.2.24953.
05-07 19:48:20.503  i: [FFmpeg] [INFO] Adding option: live_start_index 0
05-07 19:48:20.505  i: [FFmpeg] [INFO] Adding option: reconnect 1
05-07 19:48:20.508  i: [FFmpeg] [INFO] Adding option: ca_file /data/user/0/com.plexapp.android/ca.pem
05-07 19:48:20.510  i: [FFmpeg] [INFO] Adding option: tls_verify 1
05-07 19:48:20.511  i: [FFmpeg] [INFO] Demuxer closing.
05-07 19:48:20.513  i: [FFmpeg] [INFO] [Cache] Close requested, terminating.
05-07 19:48:20.515  i: [FFmpeg] [INFO] [Cache] Close requested, terminating.
05-07 19:48:20.517  i: [FFmpeg] [INFO] Allocating format context.
05-07 19:48:20.519  i: [FFmpeg] [INFO] Opening input from https://********.com:32400/library/parts/242334/1618901349/file.mkv?autoAdjustQuality=0&hasMDE=1&location=wan&mediaBufferSize=74944&X-Plex-Client-Identifier=***********-com-plexapp-android&X-Plex-Client-Platform=Android&X-Plex-Device=AFTMM&X-Plex-DRM=widevine%3Avideo&X-Plex-Platform=Android&X-Plex-Platform-Version=7.1.2&X-Plex-Product=Plex%20for%20Android%20(TV)&X-Plex-Token=**********&X-Plex-Version=8.16.2.24953.
05-07 19:48:20.521  i: [FFmpeg] [INFO] [Cache] Close requested, terminating.
05-07 19:48:20.524  i: [FFmpeg] [INFO] [Cache] Opening source from https://********.com:32400/library/parts/242334/1618901349/file.mkv?autoAdjustQuality=0&hasMDE=1&location=wan&mediaBufferSize=74944&X-Plex-Client-Identifier=***********-com-plexapp-android&X-Plex-Client-Platform=Android&X-Plex-Device=AFTMM&X-Plex-DRM=widevine%3Avideo&X-Plex-Platform=Android&X-Plex-Platform-Version=7.1.2&X-Plex-Product=Plex%20for%20Android%20(TV)&X-Plex-Token=**********&X-Plex-Version=8.16.2.24953.
05-07 19:48:20.635  i: [FFmpeg] [ERROR] [tls @ 0x8a12ce40] The certificate's owner does not match hostname ********.com

05-07 19:48:20.645  e: [FF] Demuxer failed to open input from `https://********.com:32400/library/parts/242334/1618901349/file.mkv?autoAdjustQuality=0&hasMDE=1&location=wan&mediaBufferSize=74944&X-Plex-Client-Identifier=***********-com-plexapp-android&X-Plex-Client-Platform=Android&X-Plex-Device=AFTMM&X-Plex-DRM=widevine%3Avideo&X-Plex-Platform=Android&X-Plex-Platform-Version=7.1.2&X-Plex-Product=Plex%20for%20Android%20(TV)&X-Plex-Token=**********&X-Plex-Version=8.16.2.24953`.
05-07 19:48:20.646  i: [FFmpeg] [ERROR] [DemuxerPipeline] Failed to open cache.
05-07 19:48:20.659  i: [FF][MediaPeriod] Releasing.
05-07 19:48:20.660  i: [FFmpeg] [INFO] Demuxer has been successfully interupted.
05-07 19:48:20.662  i: [FF] Loading canceled (released: true)
05-07 19:48:20.664  e: [ExoPlayer][EventLogger] playerFailed [eventTime=5.22, mediaPos=0.00, window=0, period=0
  com.google.android.exoplayer2.ExoPlaybackException: Source error
      at com.google.android.exoplayer2.o0.handleMessage(SourceFile:36)
      at android.os.Handler.dispatchMessage(Handler.java:98)
      at android.os.Looper.loop(Looper.java:154)
      at android.os.HandlerThread.run(HandlerThread.java:61)
  Caused by: [Open]com.plexapp.plex.ff.data.FFException: Demuxer failed to open input.
      at com.plexapp.plex.ff.FFDemuxer.open(SourceFile:30)
      at com.plexapp.plex.ff.source.FFLoadable.load(SourceFile:3)
      at com.google.android.exoplayer2.upstream.Loader$d.run(SourceFile:6)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
      at java.lang.Thread.run(Thread.java:761)
]
05-07 19:48:20.666  e: [Player][ExoPlayer] Playback error detected
05-07 19:48:20.669  i: [FF] Releasing demuxer.
05-07 19:48:20.671  i: [Player][Timeline] Handling player error
05-07 19:48:20.673  i: [Player][Timeline] Playback stopped (error: true)
05-07 19:48:20.675  e: An exception occurred: com.google.android.exoplayer2.ExoPlaybackException: Source error
05-07 19:48:20.676  i: [Player][Timeline] Player error not known by server, reporting original player error (or a playback interrupted one)
05-07 19:48:20.678  i: [Player] Error reported: UnknownError (null)
05-07 19:48:20.680  e: Stacktrace: com.google.android.exoplayer2.ExoPlaybackException: Source error
	at com.google.android.exoplayer2.o0.handleMessage(SourceFile:36)
	at android.os.Handler.dispatchMessage(Handler.java:98)
	at android.os.Looper.loop(Looper.java:154)
	at android.os.HandlerThread.run(HandlerThread.java:61)
Caused by: [Open]com.plexapp.plex.ff.data.FFException: Demuxer failed to open input.
	at com.plexapp.plex.ff.FFDemuxer.open(SourceFile:30)
	at com.plexapp.plex.ff.source.FFLoadable.load(SourceFile:3)
	at com.google.android.exoplayer2.upstream.Loader$d.run(SourceFile:6)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
	at java.lang.Thread.run(Thread.java:761)

05-07 19:48:20.681  i: [Player][Timeline] Playback stopped (error: false)
05-07 19:48:20.692  i: [TranscodeFallbackBehaviour] Detected direct play failed, falling back to transcode (starting: true)
05-07 19:48:20.694  i: [Player] Error has been consumed by Transcode Fallback Behaviour and will not continue.
05-07 19:48:20.696  i: [ExoPlayer][EventLogger] loading [eventTime=5.25, mediaPos=0.00, window=0, period=0, false]
05-07 19:48:20.697  i: [ExoPlayer][EventLogger] state [eventTime=5.26, mediaPos=0.00, window=0, period=0, IDLE]
05-07 19:48:20.702  i: [VideoAwakeBehaviour] Keep screen awake has been requested disabled for VideoAwakeBehaviour.
1 Like

push, i have had the same exact issue for ever since they removed the old player

1 Like

yep, didn’t have any issues with the old player, but the new player worked flawlessly up until around the time the older player was removed and then this started happening.

1 Like

plex has basically been unusable ever since this occured. I literally have 0 playtime over the last few months.
This also happens on the android app, so it’s clear that there is an issue on the plex side but they just don’t acknowledge it.

the most stupid thing is, that according to the logs, it is apparently a game of chance whether it works or not. Plex will try to hit 4 different URLs to connect to the server. Sometimes it’s this domain, then its plex.direct.com then its the IP. Whenever it is the domain, it won’t work due to the cert errors. At least the work around should be extremely easy, as they could just opt for multiple trys when the initial conneciton is made.

2 Likes

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