Constant buffering with 4k movies despite hardware acceleration and no subtitles

Server Version#: 1.22.0.4163
Player Version#: LG TV and Web/desktop 4.53.0
About 3/4 of all my 4k videos have terrible buffering problems: start playing, and after 10-15 seconds they start buffering, and more often than not the buffering takes another 10 seconds before the movie plays again, only to stop for buffering again. Rinse and repeat.
I’ve followed every advice I’ve found on these forums - hardware acceleration is on, PGS subtitles are turned off, audio streaming is basic, nothing helps.
If I set the movies to convert to 1080p, they play as smooth as butter, but when trying to play them at their native 4k resolution they just die of stuttering.

But if play those movies through DLNA, since my LG TV supports that, they play just fine, even with PGS subtitles.

I’d appreciate some help
Logs are attached
Logs.zip (9.5 MB)

Please grab the log files using the Web app.
(Settings - Server - Troubleshooting)
The most recent Plex Media Server.log is missing from the above archive (probably because you tried to manually zip the log folder while PMS was still running).
The only playback in the previous log files was a 1080p copy of Harry Potter (which showed that you had disabled Direct Play.)

Plex Media Server Logs_2021-03-15_10-50-36.zip (6.5 MB)

Is this better?
The Harry Potter in 1080p was a test I was running to check differences between that version and the 4k version of the same movie, yes.

I don’t remember disabling Direct Play, though - where is it?

Don’t even try to play a HEVC-encoded video with a web browser. It will always transcode, because web browsers don’t support this codec (unless it is Safari on MacOS).
And HEVC in 4K won’t transcode smoothly, unless you have the top-model of fast CPU’s.

I couldn’t find any playbacks on the LG TV in this log.

Understood,

I’ve re-tried with the LG tv, new logs attached:
Plex Media Server Logs_2021-03-15_12-26-38.zip (6.1 MB)
I tried with 2 Harry Potter movies, both started buffering, one at 0:41 and one at 0:46

And HEVC in 4K won’t transcode smoothly, unless you have the top-model of fast CPU’s.

My Windows 10 server has an AMD Ryzen 7 5800X, with an RTX 3080 as GPU, I would have thought that would be sufficient!

What is in the RequiredBandwidths property of the video stream?
You can find this in the Plex XML info of the movie.

Is the TV connected per Ethernet wire?

This is in the XML:

requiredBandwidths=“6956,5509,3655,3655,3655,3655,3655,3655”

the TV is connected via Ethernet, yes

Could I see the first ~20 lines of the XML please?

Probably easier if I upload the whole file

15875.zip (18.6 KB)

This movie hasn’t been analyzed for bandwidth yet. The requiredBandwidths you cited above are for Guns Akimbo. (one of the “Related” movies)

It also looks like the SRT subtitle has been activated. Which is bad, because it will cause transcoding of the video, if the selected audio stream is also incompatible with the player (and you have selected the DTS audio stream, which your LG cannot decode).

Look out for the selected="1" on the various streams:

<Media id="16792" duration="9658720" bitrate="16022" width="3840" height="1600" aspectRatio="2.35" audioChannels="8" audioCodec="dca-ma" videoCodec="hevc" videoResolution="4k" container="mkv" videoFrameRate="24p" audioProfile="ma" videoProfile="main 10">
<Part accessible="1" exists="1" id="16798" key="/library/parts/16798/1615491871/file.mkv" duration="9658720" file="F:\Torrent4k\Harry Potter and the Chamber of Secrets\Harry.Potter.and.the.Chamber.of.Secrets.2002.2160p.BluRay.x265.10bit.HDR.DTS-X.7.1-SWTYBLZ\Harry.Potter.and.the.Chamber.of.Secrets.2002.2160p.BluRay.x265.10bit.HDR.DTS-X.7.1-SWTYBLZ.mkv" size="19343877719" audioProfile="ma" container="mkv" hasThumbnail="1" videoProfile="main 10">
<Stream id="31469" streamType="1" default="1" codec="hevc" index="0" bitrate="13846" bitDepth="10" chromaSubsampling="4:2:0" codedHeight="1600" codedWidth="3840" colorPrimaries="bt2020" colorRange="tv" colorSpace="bt2020nc" colorTrc="smpte2084" frameRate="23.976" height="1600" level="153" profile="main 10" refFrames="1" title="Harry.Potter.and.the.Chamber.of.Secrets.2002.2160p.BluRay.x265.10bit.HDR.DTS-X.7.1-SWTYBLZ" width="3840" displayTitle="4K (HEVC Main 10 HDR)" extendedDisplayTitle="Harry.Potter.and.the.Chamber.of.Secrets.2002.2160p.BluRay.x265.10bit.HDR.DTS-X.7.1-SWTYBLZ (4K HEVC Main 10 HDR)">
</Stream>
<Stream id="31470" streamType="2" selected="1" default="1" codec="dca" index="1" channels="8" bitrate="1536" language="English" languageCode="eng" audioChannelLayout="7.1" bitDepth="24" profile="ma" samplingRate="48000" title="Harry.Potter.and.the.Chamber.of.Secrets.2002.2160p.BluRay.x265.10bit.HDR.DTS-X.7.1-SWTYBLZ" displayTitle="English (DTS-HD MA 7.1)" extendedDisplayTitle="Harry.Potter.and.the.Chamber.of.Secrets.2002.2160p.BluRay.x265.10bit.HDR.DTS-X.7.1-SWTYBLZ (English DTS-HD MA 7.1)">
</Stream>
<Stream id="31471" streamType="2" codec="ac3" index="2" channels="6" bitrate="640" language="English" languageCode="eng" audioChannelLayout="5.1(side)" samplingRate="48000" title="Harry.Potter.and.the.Chamber.of.Secrets.2002.2160p.BluRay.x265.10bit.HDR.DTS-X.7.1-SWTYBLZ" displayTitle="English (AC3 5.1)" extendedDisplayTitle="Harry.Potter.and.the.Chamber.of.Secrets.2002.2160p.BluRay.x265.10bit.HDR.DTS-X.7.1-SWTYBLZ (English AC3 5.1)">
</Stream>
<Stream id="31472" streamType="3" selected="1" default="1" codec="srt" index="3" bitrate="0" language="English" languageCode="eng" title="English-SRT" displayTitle="English (SRT)" extendedDisplayTitle="English-SRT">
</Stream>
<Stream id="31473" streamType="3" codec="pgs" index="4" bitrate="27" language="English" languageCode="eng" headerCompression="1" title="English-PGS" displayTitle="English (PGS)" extendedDisplayTitle="English-PGS">
</Stream>
<Stream id="31474" streamType="3" codec="pgs" index="5" bitrate="20" language="&#26085;&#26412;&#35486;" languageCode="jpn" headerCompression="1" title="Japanese-PGS" displayTitle="&#26085;&#26412;&#35486; (PGS)" extendedDisplayTitle="Japanese-PGS (&#26085;&#26412;&#35486;)">
</Stream>
<Stream id="31475" streamType="3" codec="pgs" index="6" bitrate="21" language="Fran&#231;ais" languageCode="fre" headerCompression="1" title="French-PGS" displayTitle="Fran&#231;ais (PGS)" extendedDisplayTitle="French-PGS (Fran&#231;ais)">
</Stream>
<Stream id="31476" streamType="3" codec="pgs" index="7" bitrate="30" language="Deutsch" languageCode="ger" headerCompression="1" title="German-PGS" displayTitle="Deutsch (PGS)" extendedDisplayTitle="German-PGS (Deutsch)">
</Stream>
<Stream id="31477" streamType="3" codec="pgs" index="8" bitrate="27" language="Italiano" languageCode="ita" headerCompression="1" title="Italian-PGS" displayTitle="Italiano (PGS)" extendedDisplayTitle="Italian-PGS (Italiano)">
</Stream>
<Stream id="31478" streamType="3" codec="pgs" index="9" bitrate="25" language="Espa&#241;ol" languageCode="spa" headerCompression="1" title="Spanish-PGS" displayTitle="Espa&#241;ol (PGS)" extendedDisplayTitle="Spanish-PGS (Espa&#241;ol)">
</Stream>
<Stream id="31479" streamType="3" codec="pgs" index="10" bitrate="25" language="Espa&#241;ol" languageCode="spa" headerCompression="1" title="Spanish-PGS" displayTitle="Espa&#241;ol (PGS)" extendedDisplayTitle="Spanish-PGS (Espa&#241;ol)">
</Stream>
<Stream id="31480" streamType="3" codec="pgs" index="11" bitrate="26" language="Portugu&#234;s" languageCode="por" headerCompression="1" title="Portuguese-PGS" displayTitle="Portugu&#234;s (PGS)" extendedDisplayTitle="Portuguese-PGS (Portugu&#234;s)">
</Stream>
<Stream id="31481" streamType="3" codec="pgs" index="12" bitrate="22" language="polski" languageCode="pol" headerCompression="1" title="Polish-PGS" displayTitle="polski (PGS)" extendedDisplayTitle="Polish-PGS (polski)">
</Stream>
</Part>
</Media>
<Genre id="436" filter="genre=436" tag="Action/Adventure" />
<Genre id="567" filter="genre=567" tag="Fantasy" />
<Genre id="865" filter="genre=865" tag="Family" />
<Genre id="777" filter="genre=777" tag="Mystery" />
<Director id="18599" filter="director=18599" tag="Chris Columbus" />
<Writer id="18600" filter="writer=18600" tag="J.K. Rowling" />
<Writer id="18601" filter="writer=18601" tag="Steve Kloves" />
<Producer id="4198" filter="producer=4198" tag="David Heyman" />
<Country id="173" filter="country=173" tag="United Kingdom" />
<Country id="40" filter="country=40" tag="United States of America" />
<Guid id="imdb://tt0295297" />
<Guid id="tmdb://672" />
<Guid id="tvdb://63" />

Ok, this kinda confuses me:
does that mean that I can’t use SRT subtitles with 4k movies? I thought that PGS subtitles were the ones that required burning in, and SRT subs are actually “lighter” on the CPU.
Seriously, 99.9% of the posts about buffering and stutter on 4k on this forum say that PGS subtitles are bad - now if SRT subtitles are bad too… what can I use?
And then, what’s the reason that allows me to watch the same movies, in 4k and with SRT subtitles, through DLNA?

Also, I have the same issue with several other movies, like Batman VS Superman BatmanSuperman.zip (20.5 KB) (XML attached) and Ghostbusters Ghostbusters.zip (16.2 KB) (XML attached) - is it the same problem in all of them?

The problem is the combination of subtitles and incompatible audio.
If you have both at once, the video will be transcoded too, because otherwise video and audio synchronicity may drift apart over time.

Try selecting the AC3 audio.

Batman: requiredBandwidths="401393,350802,291539,238331,196695,165052,87689,87689"
The poor little 100 mbit/s Ethernet port on the TV is overwhelmed by this bandwidth.

Ghostbusters: not sure. The bandwidth might be sufficient. "66310,58268,54721,52885,51754,50683,46428,45338"
As a test, disable the subtitles for once and repeat the playback test.

I just found an interesting thread. It might help with some of your files (at least those which are using the MKV container)

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