Unexpected Playback error at end of movies/episodes

Server Version#:4.100.1
Player Version#:5.59.3
Plex Media Server Logs_2023-04-19_17-28-01.zip (2.9 MB)

Hi all,

I’m trying to work out what is causing this seemingly random error I’m getting with Plex lately.

At the end of a TV episode or a movie (only a few minutes left generally) I’ll get an ‘Unexpected Playback Error’ which then usually locks up Plex so I’ll have to exit the app and relaunch to use again. I really can’t figure out the common thread here as it might happen watching an old 576p file but then it will play a 4K high bitrate file no worries at all or vice versa, there’s just no knowing when and if it will occur. It happens more often than not so it’s really taking the enjoyment out of using Plex so I’m hoping there’s a fix.

Plex Server runs on a brand new i5 12400, 16GB RAM, Windows 11 Pro, ethernet connection (gigabit).
3 x Samsung TVs (2 x 2020 models, 1 x 2019), all connected to 5GHz Wi-fi 6
I’ve got a gigabit fibre connection as well (not sure if relevant).

I know that ASS format subtitles don’t play nice for whatever reason so I always make sure to use SRT and everything is Direct Playing. 2 of the TVs run through soundbars (Samsung) while the other runs through an AVR.

Have been using these setups for ages without issue, what’s changed?

Let me know if any more info is needed!

There are several other posts reporting the same issue/bug.
e.g. Samsung TVs transcoding issue

Maybe if you post some logs the devs can investigate.
I posted mine in december but still no solution in sight.

In my case the issue always happens when using subtitles.

I’ve got the logs attached on my first post so hopefully some devs will see and investigate.

It’s not always subtitles for me unfortunately, a simple AVI file the other day did it and he soundtrack was only stereo. In fact I think it’s only lower quality files that are the issue. I’ve watched a bunch of 4K stuff in Atmos lately withouty issue yet chuck a 576 file on, see ya later.

I wonder if there’s something going on with the conversion? I can’t turn off Direct Play/Direct Stream on the player otherwise it buffers every few seconds.

When the issue occurs, is it always reproducible for those files? If so, could you provide a file for testing and DM it to me?

If you want to, I can also send you a small file.
(In my case the issue is always reproducible.)

Yes please, I could not reproduce the issue with @Scotto1971’s file. Logs would be good too (with Log to Server enabled in the Samsung app)

Issue hasn’t happened for a few days now, if it resurfaces I’ll get the logs from the Samsung app happening.

I’ve got the same issue, just captured a video of it happening with console logs on the screen, and logged to the server as well. On Version 1.32.0.6973, running on a Synology NAS. 2019 Samsung Frame TV.
Plex Media Server Logs_2023-04-28_22-59-26.zip (6.5 MB)

Console logs on the TV say this:

03/05/2023 22:55:15:239 (uneaqs:eyo3oj4barqtcajypghwh8cb] INFO [AVPlay[1] (PLAYING)] Buffering Complete

03/05/2023 22:55:15:256 (uneaqs:eyo3oj4barqtcajypghwh8cb] INFO (PlaybackSessionController] playback state changed to: playing

03/05/2023 22:55:15:269 [uneaqs:eyo3o)4barqtcajypghwh&cb] ERROR [AVPlay[1] (PLAYING)] onAVPlay Error: PLAYER_ERROR_CONNECTION_FAILED

03/05/2023 22:55:15:289 uneaqs:eyo3oj4barqtcajypghwh8cb] INFO [PlaybackSessionController] playback state changed to: stopped

03/05/2023 22:55:15:386 [uneaqs:eyo3oj4barqtcajypghwh8cb] ERROR Playback error occurred. Reason: BufferingTimeout, Player took too long buffering, stopping playback

03/05/2023 22:55:15:410 (uneaqs:eyo3o]4barqtcajypghwh8cb] WARN (PlaybackSessionController] could not retry, reporting error

03/05/2023 22:55:15:432 [uneaqs:eyo3oj4barqtcajypghwh8cb] INFO Opening modal: ActionsModal

03/05/2023 22:55:15:472 (uneaqs:eyo3oj4barqtcajypghwh8cb] INFO Opened modal: ActionsModal

03/05/2023 22:55: 15:974 (uneags:eyo304barqtcajypohwh8cb) INFO [AVPlayf11 (PLAYING) Playback completed.

I have also still the same problem…
waiting for dev

reported here AN UNEXPECTED PLAYBACK ERROR HAS OCURRED in Samsung smart tv

Tried to DM you a file but it says the max upload capacity is 8 mb.
My zip file is 142 mb. How can I send it to you?

Bump! Can someone from Plex support chime in here?

Bump!

@sLumpy

It also happens on LG TVs.

Additional information:

It occurs at the end of the stream. Approx. 1 min left.
It occurs only, at least for me, when the stream has subtitles (text subtitles) marked as FORCED, and probably in use. Could you also verify this, guys?

From my tests, the client is using direct play/direct stream, and the error message is related to transcoding, which is not happening, in my tests.

As detected by @hyperion306 in the other thread, something changed in the Server from 1.31.3.6868 to 1.32.3.7162.

For testing, Will recommend using Daily Anime with English subs.

Please see Playback suddenly stops when subtitles are over for more info on this issue.