Stuttering and PMS CPU spike during video playback

Hi all, looking for some help fixing stuttering durign video playback on a new Apple TV HD. There’s no warnings/errors in the logs. All videos are direct streamed to ATV. This also happens on all container/codec formats in my library.

I’ve monitored PMS during playback, every time the stuttering happens PMS CPU usages spikes to 150-200% for a few seconds then drops back to 5-6%. There’s numerous calls from the ATV to /tv.plex.providers.epg.cloud:12/hubs/discover?count=30&excludeFields=summary&includeCollections=1&includeExternalMedia=1&includeExternalMetadata=1&includeLibraryPlaylists=1&includeMeta=1&includeRecentChannels=1&includeRelated=1&includeStations=1&includeTrailers=1&includeTypeFirst=1.

Any ideas on how to troubleshoot further? Setup details below.

————————————————-

Server Version#: 1.21.1.3830
Player Version#: 7.11 (22422)
OS: Centos 7
Hardware: HP Z800, 2x Xeon 5650 @ 2.67GHz, 24GB ram, 4TB HDD in RAID10 and Nvidia P400
Plex Media Server.1.log.zip (142.2 KB)

Jan 21, 2021 21:01:22.581 [0x7fe40128e700] DEBUG - Completed: [192.168.1.252:61413] 200 GET /tv.plex.providers.epg.cloud:12/hubs/discover?count=30&excludeFields=summary&includeCollections=1&includeExternalMedia=1&includeExternalMetadata=1&includeLibraryPlaylists=1&includeMeta=1&includeRecentChannels=1&includeRelated=1&includeStations=1&includeTrailers=1&includeTypeFirst=1 (10 live) TLS GZIP 547ms 49766 bytes (pipelined: 1)
Jan 21, 2021 21:01:22.911 [0x7fe399ffb700] DEBUG - Request: [192.168.1.252:61410 (Allowed Network (Subnet))] GET /tv.plex.providers.epg.cloud:12/hubs/discover?count=30&excludeFields=summary&includeCollections=1&includeExternalMedia=1&includeExternalMetadata=1&includeLibraryPlaylists=1&includeMeta=1&includeRecentChannels=1&includeRelated=1&includeStations=1&includeTrailers=1&includeTypeFirst=1 (10 live) TLS GZIP Signed-in Token (desirejesus@hotmail.com)
Jan 21, 2021 21:01:22.911 [0x7fe37d7fa700] DEBUG - Request: [192.168.1.252:61413 (Allowed Network (Subnet))] GET /tv.plex.providers.epg.cloud:12/hubs/discover?count=30&excludeFields=summary&includeCollections=1&includeExternalMedia=1&includeExternalMetadata=1&includeLibraryPlaylists=1&includeMeta=1&includeRecentChannels=1&includeRelated=1&includeStations=1&includeTrailers=1&includeTypeFirst=1 (10 live) TLS GZIP Signed-in Token (desirejesus@hotmail.com)
Jan 21, 2021 21:01:23.023 [0x7fe401a8f700] DEBUG - Completed: [192.168.1.252:61411] 200 GET /tv.plex.providers.epg.cloud:12/hubs/discover?count=30&excludeFields=summary&includeCollections=1&includeExternalMedia=1&includeExternalMetadata=1&includeLibraryPlaylists=1&includeMeta=1&includeRecentChannels=1&includeRelated=1&includeStations=1&includeTrailers=1&includeTypeFirst=1 (10 live) TLS GZIP 504ms 49766 bytes (pipelined: 3)
Jan 21, 2021 21:01:23.032 [0x7fe37dffb700] DEBUG - Request: [192.168.1.252:61411 (Allowed Network (Subnet))] GET /tv.plex.providers.epg.cloud:12/hubs/discover?count=30&excludeFields=summary&includeCollections=1&includeExternalMedia=1&includeExternalMetadata=1&includeLibraryPlaylists=1&includeMeta=1&includeRecentChannels=1&includeRelated=1&includeStations=1&includeTrailers=1&includeTypeFirst=1 (10 live) TLS GZIP Signed-in Token (desirejesus@hotmail.com)
Jan 21, 2021 21:01:23.070 [0x7fe401a8f700] DEBUG - Completed: [192.168.1.252:61412] 200 GET /tv.plex.providers.epg.cloud:12/hubs/discover?count=30&excludeFields=summary&includeCollections=1&includeExternalMedia=1&includeExternalMetadata=1&includeLibraryPlaylists=1&includeMeta=1&includeRecentChannels=1&includeRelated=1&includeStations=1&includeTrailers=1&includeTypeFirst=1 (10 live) TLS GZIP 491ms 49766 bytes (pipelined: 2)
Jan 21, 2021 21:01:23.079 [0x7fe3cf7fe700] DEBUG - Request: [192.168.1.252:61412 (Allowed Network (Subnet))] GET /tv.plex.providers.epg.cloud:12/hubs/discover?count=30&excludeFields=summary&includeCollections=1&includeExternalMedia=1&includeExternalMetadata=1&includeLibraryPlaylists=1&includeMeta=1&includeRecentChannels=1&includeRelated=1&includeStations=1&includeTrailers=1&includeTypeFirst=1 (10 live) TLS GZIP Signed-in Token (desirejesus@hotmail.com)
Jan 21, 2021 21:01:23.435 [0x7fe40128e700] DEBUG - Completed: [192.168.1.252:61410] 200 GET /tv.plex.providers.epg.cloud:12/hubs/discover?count=30&excludeFields=summary&includeCollections=1&includeExternalMedia=1&includeExternalMetadata=1&includeLibraryPlaylists=1&includeMeta=1&includeRecentChannels=1&includeRelated=1&includeStations=1&includeTrailers=1&includeTypeFirst=1 (10 live) TLS GZIP 524ms 49766 bytes (pipelined: 4)
Jan 21, 2021 21:01:23.438 [0x7fe401a8f700] DEBUG - Completed: [192.168.1.252:61413] 200 GET /tv.plex.providers.epg.cloud:12/hubs/discover?count=30&excludeFields=summary&includeCollections=1&includeExternalMedia=1&includeExternalMetadata=1&includeLibraryPlaylists=1&includeMeta=1&includeRecentChannels=1&includeRelated=1&includeStations=1&includeTrailers=1&includeTypeFirst=1 (10 live) TLS GZIP 527ms 49766 bytes (pipelined: 2)
Jan 21, 2021 21:01:23.541 [0x7fe401a8f700] DEBUG - Completed: [192.168.1.252:61411] 200 GET /tv.plex.providers.epg.cloud:12/hubs/discover?count=30&excludeFields=summary&includeCollections=1&includeExternalMedia=1&includeExternalMetadata=1&includeLibraryPlaylists=1&includeMeta=1&includeRecentChannels=1&includeRelated=1&includeStations=1&includeTrailers=1&includeTypeFirst=1 (10 live) TLS GZIP 509ms 49766 bytes (pipelined: 4)
Jan 21, 2021 21:01:23.575 [0x7fe40128e700] DEBUG - Completed: [192.168.1.252:61412] 200 GET /tv.plex.providers.epg.cloud:12/hubs/discover?count=30&excludeFields=summary&includeCollections=1&includeExternalMedia=1&includeExternalMetadata=1&includeLibraryPlaylists=1&includeMeta=1&includeRecentChannels=1&includeRelated=1&includeStations=1&includeTrailers=1&includeTypeFirst=1 (10 live) TLS GZIP 495ms 49766 bytes (pipelined: 3)

look further down. Device splattering the LAN.

n 22, 2021 02:43:44.637 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:44:14.639 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:44:44.640 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:45:14.641 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:45:44.642 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:46:14.643 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:46:44.644 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:47:14.645 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:47:44.646 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:48:14.648 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:48:44.649 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:49:14.651 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:49:44.652 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:50:14.653 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:50:44.654 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:51:14.656 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:51:44.657 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:52:14.658 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:52:44.659 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:53:14.661 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:53:44.661 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:54:14.663 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:54:44.664 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:55:14.666 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:55:44.667 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:56:14.668 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:56:44.669 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:57:14.670 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:57:44.672 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:58:14.675 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:58:44.674 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:59:14.675 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 02:59:44.676 [0x7fe3dffff700] ERROR - SSDP: Error parsing device schema for http://172.18.0.2:8080/upnp
Jan 22, 2021 03:00:02.015 [0x7fe4093c9700] WARN - Timed out waiting for server to finish.

Plus: Not the strongest CPU.

A 2012 i7-3740qm has more CPU passmarks.

Thanks, that IP looks like it’s coming from a container. Wanted to add I don’t get any stuttering on my Fire TV stick or iPad. Issue only happens on my ATV. I’m going to try deleting the EPG tonight. Will report back if the stuttering persists.

I resolved the SSDP errors and confirmed it’s an issue specifically with the EPG. I deleted the EPG database and restarted plex. Video playback was smooth for 2 hours. Refreshed the EPG and restarted plex again. The stuttering is back after watching live TV for 10 minutes. Any ideas how to fix this?
Plex Media Server.log.zip (183.4 KB)

Here’s the ATV log. logging.zip (819.1 KB)

Thanks for the logs.

I found it.

Jan 22, 2021 16:31:32.712 [0x7f1e1e7fc700] DEBUG - Request: [127.0.0.1:53120 (Loopback)] PUT /video/:/transcode/session/be01e99b-937c-4087-95aa-bfe13d0a2a3b/e6440354-81a3-4e81-afe2-06d17aa00e00/progress/stream?index=2&id=1163&codec=ac3&type=audio (11 live) Signed-in Token (desirejesus@hotmail.com) (range: bytes=0-) 
Jan 22, 2021 16:31:32.712 [0x7f1e79a8f700] DEBUG - Completed: [127.0.0.1:53120] 200 PUT /video/:/transcode/session/be01e99b-937c-4087-95aa-bfe13d0a2a3b/e6440354-81a3-4e81-afe2-06d17aa00e00/progress/stream?index=2&id=1163&codec=ac3&type=audio (11 live) 0ms 195 bytes (pipelined: 7) (range: bytes=0-) 
Jan 22, 2021 16:31:32.779 [0x7f1e4dffb700] ERROR - [Transcoder] [mpeg2video @ 0x7c9d80] Invalid frame dimensions 0x0.
Jan 22, 2021 16:31:32.823 [0x7f1e1cff9700] ERROR - [Transcoder] [mpeg2video @ 0x7c9d80] Invalid frame dimensions 0x0.
Jan 22, 2021 16:31:32.846 [0x7f1de7fff700] ERROR - [Transcoder] [mpeg2video @ 0x7c9d80] Invalid frame dimensions 0x0.
Jan 22, 2021 16:31:32.864 [0x7f1e1e7fc700] ERROR - [Transcoder] [mpeg2video @ 0x7c9d80] Invalid frame dimensions 0x0.
Jan 22, 2021 16:31:32.904 [0x7f1e4dffb700] ERROR - [Transcoder] [mpeg2video @ 0x7c9d80] Invalid frame dimensions 0x0.
Jan 22, 2021 16:31:32.926 [0x7f1e1cff9700] ERROR - [Transcoder] [mpeg2video @ 0x7c9d80] Invalid frame dimensions 0x0.
Jan 22, 2021 16:31:32.951 [0x7f1de7fff700] ERROR - [Transcoder] [mpeg2video @ 0x7c9d80] Invalid frame dimensions 0x0.
Jan 22, 2021 16:31:33.003 [0x7f1e1e7fc700] ERROR - [Transcoder] [mpeg2video @ 0x7c9d80] Invalid frame dimensions 0x0.
Jan 22, 2021 16:31:33.027 [0x7f1e4dffb700] ERROR - [Transcoder] [mpeg2video @ 0x7c9d80] Invalid frame dimensions 0x0.
Jan 22, 2021 16:31:33.053 [0x7f1e1cff9700] ERROR - [Transcoder] [mpeg2video @ 0x7c9d80] Invalid frame dimensions 0x0.
Jan 22, 2021 16:31:33.212 [0x7f1de7fff700] ERROR - [Transcoder] [mpeg2video @ 0x7c9d80] Invalid frame dimensions 0x0.
Jan 22, 2021 16:31:33.523 [0x7f1e1e7fc700] DEBUG - Request: [127.0.0.1:53120 (Loopback)] PUT /video/:/transcode/session/be01e99b-937c-4087-95aa-bfe13d0a2a3b/e6440354-81a3-4e81-afe2-06d17aa00e00/progress/streamDetail?index=0&id=1161&codec=mpeg2video&type=video&profile=Main&width=1920&height=1080&interlaced=1&sar=1:1&level=4&frameRate=29.970&closedCaptions=1 (11 live) Signed-in Token (desirejesus@hotmail.com) (range: bytes=0-) 

The transcoder ran into some bad spots in the video stream.
What you were seeing is it trying to get you to a valid frame so it could resume.

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