[BUG] Media playback doesn´t start until forced SRT subtitles are disabled

Server Version#: 1.28.1.6104 >> (Synology DS1019+ with DSM 7.1-42661 Update 3)
Player Version#: 9.6.3.34515 >> (Nvidia Shield with Android TV 9.1.0 [33.2.0.125])

Hello everybody,

Error description:

When I hit the play button of a movie or an episode of a series, Plex automatically selects the correct forced SRT subtitle in German for me. If I use my Nvidia Shield , FireTV-Stick or my Android phone for the playback, the loading circle runs infinitely long and the background just remains black.

The Plex Web Player in Firefox or Chrome for example, works normal.

Workaround:

Immediately after disabling the subtitle, the media playback starts as usual. After that I can turn the same subtitle file on again and now it works, even with forced German SRT subtitles enabled.

This failure does not only happen when Plex tries to transcode media. It sometimes happens with the original source files in direct play, too.

  • Please take a look at the collected server logs below.
  • Focus on the playback/transcoding at 20:45 CEST.

Plex Media Server Logs_2022-08-18_20-50-48.zip (3.6 MB)

Any suggestions?

You have the auto-adjust quality option enabled. That is known to cause this issue with subtitles. Turn that setting off.

1 Like

Can´t believe it´s that easy. I already spent so much time to fix this. After disabling the auto-adjust option on client-side, the problem is gone. Thanks a lot!

Are there any plans to fix the auto-adjust option? So far, I can´t find the original post.

This did not work for me.

Anyfile that goes into dolby vision now forever buffers.

Turn subtitles off… plays instantly.

Going to need more details.

@MovieFan.Plex , here are few more details…

Using PMS Server # 1.28.1.6104
Android TV Client # 9.6.3

  • Client is setup with optical pass-through with AC3 and DTS selected since my TV only has 2.0 PCM output from the HDMI port. Reminder that is the is a bug that converts SRT subs to ASS subs when there is audio transcoding happening.

So after two days of testing this is what I have,

Here is one of the files recently that is exhibiting the problem…

94054.txt (14.8 KB)

I can get it to play instantly if I do one of the following,

  1. Set the audio passthrough to HDMI and lose surround sound.
  2. Turn off all subtitles.

Let me know what else I can provide!

There was an old bug but that was resolved a long time ago. This is still needed in some cases or we lose sync between the audio and subtitle, but I would need to check a specific playback to see.

Let me know what else I can provide!

How about the android logs after reproducing the issue.

@anon18523487, here is the log of the XML I provided earlier.

I remuxed in a DD+ audio track, which still converts to AC3 and shows the same behavior.

test_play_file1.txt (80.1 KB)

Let me know if this works and you want me to try other files.

Something doesn’t look right. The app is seeing 2 different video streams.

08-23 21:32:46.350 i: [MediaDecisionEngine] Analyzing media: 3840x1920 3835kbps (Container: mkv, Video: hevc, Audio: eac3)
08-23 21:32:46.380 i: [MediaDecisionEngine] Analyzing media: 1920x960 2159kbps (Container: mkv, Video: hevc, Audio: aac)

That is correct, there is a 4k file for local play and an optimized 1080p file for remote play.

This has never been an issue before. I would use the 1080p file for the “Watch Together” feature for family that is not living with me while I watch the 4K at home. Worked so nicely until until about 3ish weeks ago. Then I had to start disabling subtitles to continue to do that.

1 Like

@anon18523487 I think this issue might be related:

The optimized file information isn’t shown in the XML you provided. Also, see how the 4k version is listed as having EAC3 audio. That also doesn’t match the xml you provided.

Sorry, I’ve been trying various combinations in order to figure what combination triggers the forever buffering.

Here is the XML file that corresponds with the android log,

94054.txt (18.8 KB)

Ok, can you play that file again and get me the PMS log. Looks like PMS might not be generating the stream properly.

As requested. Let me know if there is anything I can provide.

Plex Media Server Logs_2022-08-24_23-17-46.zip (3.4 MB)

Hmm. Things look fine. I’ll have to see if I can find a similar video and try to reproduce.

@MovieFan.Plex , I maybe off here, but this seemed odd to me in the logs…

Aug 24, 2022 23:16:54.465 [25336] DEBUG - [Req#284f70/Transcode] Streaming Resource: Reached Decision id=94054 codes=(General=1001,Direct play not available; Conversion OK. Direct Play=3000,App cannot direct play this item. Direct play is disabled. Transcode=1001,Direct play not available; Conversion OK.) media=(id=212871 part=(id=214700 decision=transcode container=mkv protocol=hls streams=(Video=(id=473904 decision=copy width=3840 height=1920) Audio=(id=473905 decision=transcode bitrate=640 encoder=ac3 channels=6 rate=48000) Subtitle=(id=473907 decision=transcode bitrate=2147483647 encoder=ass languageCode=eng location=embedded))))

Would that “expected bitrate” cause issues with the buffering?

@anon18523487

I saw the comment from @FlaTechNole21 in the related thread, [bug]subtitles don't show initially on android devices when playing HDR content - #3 by FlaTechNole21 and tired it…

Same results for me also. As soon as I removed the 1080p file, the 4k played almost instantly.

I think there is something broken with handling multiple files for an episode.

1 Like

With the subtitle?

Yeap!

Plex Media Server Logs_2022-08-25_14-29-44.zip (5.1 MB)

Aug 25, 2022 12:53:32.786 [39680] DEBUG - [Req#2dbf0a/Transcode] Streaming Resource: Reached Decision id=94054 codes=(General=1001,Direct play not available; Conversion OK. Direct Play=3000,App cannot direct play this item. Direct play is disabled. Transcode=1001,Direct play not available; Conversion OK.) media=(id=212871 part=(id=214700 decision=transcode container=mkv protocol=hls streams=(Video=(id=473904 decision=copy width=3840 height=1920) Audio=(id=473905 decision=transcode bitrate=640 encoder=ac3 channels=6 rate=48000) Subtitle=(id=473907 decision=transcode bitrate=2147483647 encoder=ass languageCode=eng location=embedded))))