Transcoding buffers, where is my bottle neck, and why do both audio and video transcode?

Server Version#: 1.21.1.3830
Player Version#: 5.6.1 Samsung Frame 2019

So I learned a year ago that samsung does not support DTS anymore, stupid but oke. This leads to transcoding the audio I guess, but now I got a file that also seems to be transcoding the video, why is that?
And it does get stuck too much on buffering, but my Synology is only at like 20% cpu? There is a bottleneck somewhere, how do I fix that?

Resuming a file like this also does not seem to work, it buffers untill the player says playback error.

I need some guidance on the perfect settings in my setup plz:
Synology NAS DS920+
Samsung Frame 2019 (and soon be upgrading to a bigger 2020)

Schermafbeelding 2020-12-25 om 20.51.44

You might be hitting the bandwidth limit for HEVC video.

Samsung apps have a 80 Mbps limit for HEVC media and a 60 Mbps limit for H264 media. It is a Samsung, not Plex, limit. If the limit is exceeded, Plex Media Server will transcode the video to fit under the limit. The limit is for the sum of all tracks in the file, video + audio.

There is also a limit of 30 total tracks in the media file: video + audio + subtitles. If exceeded, Plex Media Server will remux (direct stream) the file.

You can use MKVToolNix to remove unnecessary audio & subtitle tracks. This might get you below the limit.

To verify if you’re hitting the limit:

  • Set the Samsung TV to log to server at debug level.
  • Set your Plex Server for debug level logging.
  • Play the movie for ~30 seconds using the Plex app on the Samsung. Subtitles must be turned off.
  • Stop playback. Pull the server log files.
  • Look in Plex Media Server.log for the appropriate messages.

Sample message for exceeding stream limit:
Nov 03, 2020 11:35:01.525 [0x7f1474ff9700] INFO - [Plex for Samsung] [redacted] Cannot direct play with protocol: http, codec: hevc. Reason: Stream count exceeds 30 streams.

Sample message for exceeding bandwidth limit:
Jun 15, 2020 13:35:42.557 [0x7f60837fe700] DEBUG - Gemini Man - video.bitrate limitation applies: 85622 > 80000

Samsung document showing bitrate limits:

If I may jump in here?

30+ streams?

With respect, is it necessary to carry all those extra tracks you’ll never use?

Remux the file and drop what’s not needed.

Plex is good but media curation prior to asking Plex to play something makes life so much easier.

Keep those tracks you want and drop the rest (a tool such as mkvtoolnix-gui)

Thx for the replies, guided me somewhat.
I just used remux on OSX to only reencode the audio from DTS to ACC.
Now it plays fine, without transcoding.
This kind of confirms my suspicion that video will also transcode as soon as audio is transcoding. Thats not what we want.
I just checked it with an older 1080p file, and confirmed it. This one has 2 audio streams, DTS and AC3. When you play with DTS it transcodes, both audio and video. When AC3 is selected it just plays directly, no transcoding.

Schermafbeelding 2020-12-26 om 17.08.27
Schermafbeelding 2020-12-26 om 17.11.14

I think I just fixed that by enabling direct stream. Now it only transcodes the audio. But I’m talking about this 1080p file.

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