Menanole,
Thanks for providing the XML. Now we know what PMS saw in the video.
<Part accessible="1" exists="1" id="50348" key="/library/parts/50348/1570067477/file.mkv" duration="3447808" file="/share/CACHEDEV2_DATA/TVprogrammes/The.Crown.S01.1080p.WEBRip.x264-DEFLATE/The.Crown.S01E04.1080p.WEBRip.X264-DEFLATE/The.Crown.S01E04.1080p.WEBRip.X264-DEFLATE.mkv" size="4430311278" container="mkv" videoProfile="high">
<Stream id="24005" streamType="1" default="1" codec="h264" index="0" bitrate="9896" language="English" languageCode="eng" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" frameRate="25.000" hasScalingMatrix="0" height="960" level="41" profile="high" refFrames="4" scanType="progressive" width="1920" displayTitle="1080p (H.264)"/>
<Stream id="24006" streamType="2" selected="1" default="1" codec="ac3" index="1" channels="6" bitrate="384" language="English" languageCode="eng" audioChannelLayout="5.1(side)" samplingRate="48000" displayTitle="English (AC3 5.1)"/>
<Stream id="24007" streamType="3" selected="1" codec="srt" index="2" language="English" languageCode="eng" title="English" displayTitle="English (SRT)"/>
<Stream id="24008" streamType="3" codec="srt" index="3" language="English" languageCode="eng" title="English (SDH)" displayTitle="English (SRT)"/>
<Stream id="24009" streamType="3" codec="srt" index="4" language="Français" languageCode="fre" title="French" displayTitle="Français (SRT)"/>
<Stream id="24010" streamType="3" codec="srt" index="5" language="Deutsch" languageCode="ger" title="German" displayTitle="Deutsch (SRT)"/>
<Stream id="24011" streamType="3" codec="srt" index="6" language="Italiano" languageCode="ita" title="Italian" displayTitle="Italiano (SRT)"/>
<Stream id="24012" streamType="3" codec="srt" index="7" language="Español" languageCode="spa" title="Spanish" displayTitle="Español (SRT)"/>
</Part>
</Media>
In the logs we see where the host itself got extremely busy when the transcoder was engaged.
Oct 05, 2019 20:37:17.138 [0x7fba5a88f700] DEBUG - Asked for segment 3199 from session.
Oct 05, 2019 20:37:17.138 [0x7fba5a88f700] DEBUG - Returning segment 3199 from session
Oct 05, 2019 20:37:17.138 [0x7fba5a88f700] DEBUG - Content-Length of /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-cke6decm9k0ggb9mzrj919z9-fc757bad-e3e8-459d-84bd-785fd437f3db/media-03199.ts is 2218024 (of total: 2218024).
Oct 05, 2019 20:37:17.415 [0x7fba5a2b3700] DEBUG - Session cke6decm9k0ggb9mzrj919z9 (3) is unthrottling
Oct 05, 2019 20:37:17.416 [0x7fba4964d700] DEBUG - [Transcoder] Throttle - Getting back to work.
Oct 05, 2019 20:37:17.497 [0x7fba4bfff700] DEBUG - Transcoder segment range: 0 - 3260 (3260)
Oct 05, 2019 20:37:17.514 [0x7fba81d8c700] DEBUG - Transcoder segment range: 0 - 3261 (3260)
Oct 05, 2019 20:37:17.679 [0x7fba5a88f700] DEBUG - Transcoder segment range: 0 - 3261 (3261)
Oct 05, 2019 20:37:17.696 [0x7fba5a5a1700] DEBUG - Transcoder segment range: 0 - 3262 (3261)
Oct 05, 2019 20:37:17.829 [0x7fba4964d700] DEBUG - Session cke6decm9k0ggb9mzrj919z9 (3) is throttling
Oct 05, 2019 20:37:17.830 [0x7fba4bfff700] DEBUG - [Transcoder] Throttle - Going into sloth mode.
Oct 05, 2019 20:37:18.070 [0x7fba81d8c700] DEBUG - Transcoder segment range: 0 - 3262 (3262)
Oct 05, 2019 20:37:18.083 [0x7fba5a88f700] DEBUG - Transcoder segment range: 0 - 3263 (3262)
Oct 05, 2019 20:37:18.364 [0x7fba82656700] DEBUG - Completed: [172.16.0.55:63489] 200 GET /video/:/transcode/universal/session/cke6decm9k0ggb9mzrj919z9/base/03199.ts (12 live) 1225ms 2218024 bytes (pipelined: 2104)
Oct 05, 2019 20:37:18.364 [0x7fba82656700] DEBUG - Removed transcode data consumer, active count 1 => 0
Oct 05, 2019 20:37:18.412 [0x7fba5a2b3700] DEBUG - Request: [172.16.0.55:55057 (Allowed Network (Subnet))] GET /video/:/transcode/universal/session/cke6decm9k0ggb9mzrj919z9/base/index.m3u8 (12 live) Signed-in
Oct 05, 2019 20:37:18.413 [0x7fba5a2b3700] DEBUG - Found session GUID of cke6decm9k0ggb9mzrj919z9 in session start.
Oct 05, 2019 20:37:18.413 [0x7fba5a2b3700] DEBUG - HLS: Building an M3U8 for 10872 total seconds with 1 seconds/segment, target duration of 1.
Oct 05, 2019 20:37:18.438 [0x7fba82656700] DEBUG - Completed: [172.16.0.55:55057] 200 GET /video/:/transcode/universal/session/cke6decm9k0ggb9mzrj919z9/base/index.m3u8 (12 live) 25ms 293857 bytes (pipelined: 1)
Oct 05, 2019 20:37:18.473 [0x7fba4964d700] DEBUG - Request: [172.16.0.55:63489 (Allowed Network (Subnet))] GET /video/:/transcode/universal/session/cke6decm9k0ggb9mzrj919z9/base/03200.ts (12 live) Signed-in
Oct 05, 2019 20:37:18.473 [0x7fba4964d700] DEBUG - Asked for segment 3200 from session.
Oct 05, 2019 20:37:18.473 [0x7fba4964d700] DEBUG - Returning segment 3200 from session
Oct 05, 2019 20:37:18.473 [0x7fba4964d700] DEBUG - Content-Length of /share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-cke6decm9k0ggb9mzrj919z9-fc757bad-e3e8-459d-84bd-785fd437f3db/media-03200.ts is 2305444 (of total: 2305444).
Oct 05, 2019 20:37:18.967 [0x7fba82656700] DEBUG - Auth: authenticated user 1 as memanole
Oct 05, 2019 20:37:18.968 [0x7fba81d8c700] DEBUG - Request: [172.16.0.55:47262 (Allowed Network (Subnet))] GET /:/timeline?hasMDE=1&ratingKey=43146&key=%2Flibrary%2Fmetadata%2F43146&state=playing&playQueueItemID=9496&time=3197822&duration=10871392 (10 live) GZIP Signed-in Token (memanole)
Oct 05, 2019 20:37:29.919 [0x7fba4bfff700] WARN - Waited one whole second for a busy database.
Oct 05, 2019 20:38:49.961 [0x7fba5a2b3700] WARN - Waited one whole second for a busy database.
Oct 05, 2019 20:38:52.192 [0x7fba5a2b3700] WARN - Waited one whole second for a busy database.
Oct 05, 2019 20:38:54.377 [0x7fba82656700] WARN - Deleted file "/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/tmp/logs.zip5110d4ee-c27a-4974-8354-2e701bccc3f9" after connection reset
Oct 05, 2019 20:59:21.031 [0x7fba4b735700] WARN - Waited one whole second for a busy database.
Oct 05, 2019 20:59:23.259 [0x7fba4b735700] WARN - Waited one whole second for a busy database.
Oct 05, 2019 20:59:25.489 [0x7fba4b735700] WARN - Waited one whole second for a busy database.
Oct 05, 2019 20:59:27.717 [0x7fba4b735700] WARN - Waited one whole second for a busy database.
Oct 05, 2019 20:59:29.944 [0x7fba4b735700] WARN - Waited one whole second for a busy database.
Oct 05, 2019 20:59:31.038 [0x7fba82368700] WARN - Waited one whole second for a busy database.
Oct 05, 2019 20:59:32.169 [0x7fba4b735700] WARN - Waited one whole second for a busy database.
Oct 05, 2019 20:59:33.267 [0x7fba82368700] WARN - Waited one whole second for a busy database.
The database locked warnings mean that there was not enough available CPU for the other parts of PMS to go in and do what itâs normally trying to do while the Transcoder is running.
Putting the pieces together:
- Subtitles in the file
- MDE decision = burn
<Stream burn="1" displayTitle="English (SRT)" id="24007" language="English" languageCode="eng" selected="1" streamType="3" decision="burn" location="segments-av" />
- Regular CPU being unable to keep up with demand ( Subtitles are always done by the CPU and not the hardware )
This does confirm the buffering / stuttering / errors seen are from the subtitles.
Now, to find out where they are coming from is pretty easy:
- Check the Playerâs settings
- See if they are set to âAlways burnâ - If so, set to Automatic.
If they are set to automatic, as a test, set to âOnly Image Formatsâ . SRT subtitles are text.
Unless the subtitles are tagged as Forced in the video file, you should not have any stuttering. You wonât have any subtitles but it should not stutter either.