Shield TV Pro Consistently Buffering Media

Server Version#: 1.32.0.6918
Player Version#: 9.19.1.525

My Shield TV Pro 2019 is consistently buffering local play 1080p direct play content. I am directly connected to ethernet and the Shield is able to pull 800mbps, this issue does not occur on any other device. I have updated, reinstalled, etc. to no fix. I’m ready to provide server logs and network logs from the Shield itself!

Bump!

Was able to find what I think is the culprit, this content has PGS subtitles but is direct playing. The playback went black, did the orange spinning buffer, then went back to where it left off and paused…

Apr 12, 2023 05:51:46.307 [8464] DEBUG - [Req#bb83f/Transcode] TranscodeUniversalRequest: using augmented profile Android
Apr 12, 2023 05:51:46.307 [8464] DEBUG - [Req#bb83f/Transcode] Downloading document http://127.0.0.1:32400/library/metadata/20157?includeBandwidths=1&offset=-1&X-Plex-Incomplete-Segments=1&X-Plex-Session-Identifier=5dc277b4d7acb863-com-plexapp-android
Apr 12, 2023 05:51:46.307 [8464] DEBUG - [Req#bb83f/Transcode/Req#bb854] Auth: authenticated user 33318290 as XXX
Apr 12, 2023 05:51:46.324 [8464] DEBUG - [Req#bb83f/Transcode/Req#bb854] We're going to try to auto-select an audio stream for account 33318290.
Apr 12, 2023 05:51:46.324 [8464] DEBUG - [Req#bb83f/Transcode/Req#bb854] Selecting best audio stream for part ID 34219 (language: en)
Apr 12, 2023 05:51:46.324 [8464] DEBUG - [Req#bb83f/Transcode/Req#bb854] We're going to try to auto-select a subtitle.
Apr 12, 2023 05:51:46.324 [8464] DEBUG - [Req#bb83f/Transcode/Req#bb854] Subtitles: Found a candidate subtitle language [en] for a foreign film
Apr 12, 2023 05:51:46.324 [8464] DEBUG - [Req#bb83f/Transcode/Req#bb854] Audio Stream: 92019, Subtitle Stream: 92020
Apr 12, 2023 05:51:46.326 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: testing h264 (decoder) with hwdevice nvdec
Apr 12, 2023 05:51:46.327 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: hardware transcoding: testing API nvdec
Apr 12, 2023 05:51:46.328 [8464] ERROR - [Req#bb83f/Transcode] [FFMPEG] - Cannot load nvcuda.dll
Apr 12, 2023 05:51:46.328 [8464] ERROR - [Req#bb83f/Transcode] [FFMPEG] - Could not dynamically load CUDA
Apr 12, 2023 05:51:46.328 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Apr 12, 2023 05:51:46.328 [8464] DEBUG - [Req#bb83f/Transcode] Could not create hardware context for h264
Apr 12, 2023 05:51:46.328 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: testing h264 (decoder) with hwdevice dxva2
Apr 12, 2023 05:51:46.329 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: hardware transcoding: testing API dxva2
Apr 12, 2023 05:51:46.414 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: Testing with profile 'High'
Apr 12, 2023 05:51:46.426 [8464] DEBUG - [Req#bb83f/Transcode] MDE: Selected protocol hls; container: mkv
Apr 12, 2023 05:51:46.426 [8464] DEBUG - [Req#bb83f/Transcode] MDE: analyzing media item 34219
Apr 12, 2023 05:51:46.426 [8464] DEBUG - [Req#bb83f/Transcode] MDE: E18 - The One with the Hypnosis Tape: Direct Play is disabled
Apr 12, 2023 05:51:46.426 [8464] DEBUG - [Req#bb83f/Transcode] MDE: E18 - The One with the Hypnosis Tape: media must be transcoded in order to use the hls protocol
Apr 12, 2023 05:51:46.426 [8464] DEBUG - [Req#bb83f/Transcode] MDE: E18 - The One with the Hypnosis Tape: selected subtitle cannot be converted to a compatible format, burning into video stream
Apr 12, 2023 05:51:46.426 [8464] DEBUG - [Req#bb83f/Transcode] MDE: E18 - The One with the Hypnosis Tape: avoiding video remux due to burned subtitle stream
Apr 12, 2023 05:51:46.426 [8464] DEBUG - [Req#bb83f/Transcode] MDE: E18 - The One with the Hypnosis Tape: no remuxable profile found, so video stream will be transcoded
Apr 12, 2023 05:51:46.426 [8464] DEBUG - [Req#bb83f/Transcode] MDE: Cannot direct stream video stream due to profile or setting limitations
Apr 12, 2023 05:51:46.426 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: testing h264 (decoder) with hwdevice nvdec
Apr 12, 2023 05:51:46.426 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: hardware transcoding: testing API nvdec
Apr 12, 2023 05:51:46.426 [8464] ERROR - [Req#bb83f/Transcode] [FFMPEG] - Cannot load nvcuda.dll
Apr 12, 2023 05:51:46.426 [8464] ERROR - [Req#bb83f/Transcode] [FFMPEG] - Could not dynamically load CUDA
Apr 12, 2023 05:51:46.426 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Apr 12, 2023 05:51:46.426 [8464] DEBUG - [Req#bb83f/Transcode] Could not create hardware context for h264
Apr 12, 2023 05:51:46.426 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: testing h264 (decoder) with hwdevice dxva2
Apr 12, 2023 05:51:46.427 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: hardware transcoding: testing API dxva2
Apr 12, 2023 05:51:46.442 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: Testing with profile 'High'
Apr 12, 2023 05:51:46.446 [8464] DEBUG - [Req#bb83f/Transcode] MDE: Friends - S3 E18 - The One with the Hypnosis Tape: selected media 0 / 34219
Apr 12, 2023 05:51:46.446 [8464] DEBUG - [Req#bb83f/Transcode] Streaming Resource: Required bandwidth unknown (media requires deep analysis) Changing decision parameters provided by client to fit bandwidth limit of 200000kbps
Apr 12, 2023 05:51:46.446 [8464] DEBUG - [Req#bb83f/Transcode] Streaming Resource: Determining preferred transcode encoders through transcode only decision.
Apr 12, 2023 05:51:46.446 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: testing h264 (decoder) with hwdevice nvdec
Apr 12, 2023 05:51:46.446 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: hardware transcoding: testing API nvdec
Apr 12, 2023 05:51:46.447 [8464] ERROR - [Req#bb83f/Transcode] [FFMPEG] - Cannot load nvcuda.dll
Apr 12, 2023 05:51:46.447 [8464] ERROR - [Req#bb83f/Transcode] [FFMPEG] - Could not dynamically load CUDA
Apr 12, 2023 05:51:46.447 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Apr 12, 2023 05:51:46.447 [8464] DEBUG - [Req#bb83f/Transcode] Could not create hardware context for h264
Apr 12, 2023 05:51:46.447 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: testing h264 (decoder) with hwdevice dxva2
Apr 12, 2023 05:51:46.447 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: hardware transcoding: testing API dxva2
Apr 12, 2023 05:51:46.462 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: Testing with profile 'High'
Apr 12, 2023 05:51:46.465 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: testing aac_mf (encoder)
Apr 12, 2023 05:51:46.466 [8464] INFO - [Req#bb83f/Transcode] [FFMPEG] - MFT name: 'Microsoft AAC Audio Encoder MFT'
Apr 12, 2023 05:51:46.466 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: testing aac_mf (encoder)
Apr 12, 2023 05:51:46.466 [8464] INFO - [Req#bb83f/Transcode] [FFMPEG] - MFT name: 'Microsoft AAC Audio Encoder MFT'
Apr 12, 2023 05:51:46.468 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: testing h264 (decoder) with hwdevice nvdec
Apr 12, 2023 05:51:46.468 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: hardware transcoding: testing API nvdec
Apr 12, 2023 05:51:46.469 [8464] ERROR - [Req#bb83f/Transcode] [FFMPEG] - Cannot load nvcuda.dll
Apr 12, 2023 05:51:46.469 [8464] ERROR - [Req#bb83f/Transcode] [FFMPEG] - Could not dynamically load CUDA
Apr 12, 2023 05:51:46.469 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Apr 12, 2023 05:51:46.469 [8464] DEBUG - [Req#bb83f/Transcode] Could not create hardware context for h264
Apr 12, 2023 05:51:46.469 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: testing h264 (decoder) with hwdevice dxva2
Apr 12, 2023 05:51:46.469 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: hardware transcoding: testing API dxva2
Apr 12, 2023 05:51:46.484 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: Testing with profile 'High'
Apr 12, 2023 05:51:46.487 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: testing aac_mf (encoder)
Apr 12, 2023 05:51:46.488 [8464] INFO - [Req#bb83f/Transcode] [FFMPEG] - MFT name: 'Microsoft AAC Audio Encoder MFT'
Apr 12, 2023 05:51:46.488 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: testing aac_mf (encoder)
Apr 12, 2023 05:51:46.488 [8464] INFO - [Req#bb83f/Transcode] [FFMPEG] - MFT name: 'Microsoft AAC Audio Encoder MFT'
Apr 12, 2023 05:51:46.489 [8464] DEBUG - [Req#bb83f/Transcode] Streaming Resource: Reducing playback quality for 190476kbps stream bitrate: video resolution to 1920x1080, audio channels to 6, quality to 99
Apr 12, 2023 05:51:46.489 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: testing h264 (decoder) with hwdevice nvdec
Apr 12, 2023 05:51:46.490 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: hardware transcoding: testing API nvdec
Apr 12, 2023 05:51:46.490 [8464] ERROR - [Req#bb83f/Transcode] [FFMPEG] - Cannot load nvcuda.dll
Apr 12, 2023 05:51:46.490 [8464] ERROR - [Req#bb83f/Transcode] [FFMPEG] - Could not dynamically load CUDA
Apr 12, 2023 05:51:46.490 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Apr 12, 2023 05:51:46.490 [8464] DEBUG - [Req#bb83f/Transcode] Could not create hardware context for h264
Apr 12, 2023 05:51:46.490 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: testing h264 (decoder) with hwdevice dxva2
Apr 12, 2023 05:51:46.490 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: hardware transcoding: testing API dxva2
Apr 12, 2023 05:51:46.505 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: Testing with profile 'High'
Apr 12, 2023 05:51:46.509 [8464] DEBUG - [Req#bb83f/Transcode] MDE: Selected protocol hls; container: mkv
Apr 12, 2023 05:51:46.509 [8464] DEBUG - [Req#bb83f/Transcode] MDE: analyzing media item 34219
Apr 12, 2023 05:51:46.509 [8464] DEBUG - [Req#bb83f/Transcode] MDE: E18 - The One with the Hypnosis Tape: Direct Play is disabled
Apr 12, 2023 05:51:46.509 [8464] DEBUG - [Req#bb83f/Transcode] MDE: E18 - The One with the Hypnosis Tape: media must be transcoded in order to use the hls protocol
Apr 12, 2023 05:51:46.509 [8464] DEBUG - [Req#bb83f/Transcode] MDE: E18 - The One with the Hypnosis Tape: selected subtitle cannot be converted to a compatible format, burning into video stream
Apr 12, 2023 05:51:46.509 [8464] DEBUG - [Req#bb83f/Transcode] MDE: E18 - The One with the Hypnosis Tape: avoiding video remux due to burned subtitle stream
Apr 12, 2023 05:51:46.509 [8464] DEBUG - [Req#bb83f/Transcode] MDE: E18 - The One with the Hypnosis Tape: no remuxable profile found, so video stream will be transcoded
Apr 12, 2023 05:51:46.509 [8464] DEBUG - [Req#bb83f/Transcode] MDE: Cannot direct stream video stream due to profile or setting limitations
Apr 12, 2023 05:51:46.509 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: testing h264 (decoder) with hwdevice nvdec
Apr 12, 2023 05:51:46.509 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: hardware transcoding: testing API nvdec
Apr 12, 2023 05:51:46.509 [8464] ERROR - [Req#bb83f/Transcode] [FFMPEG] - Cannot load nvcuda.dll
Apr 12, 2023 05:51:46.509 [8464] ERROR - [Req#bb83f/Transcode] [FFMPEG] - Could not dynamically load CUDA
Apr 12, 2023 05:51:46.509 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Apr 12, 2023 05:51:46.509 [8464] DEBUG - [Req#bb83f/Transcode] Could not create hardware context for h264
Apr 12, 2023 05:51:46.510 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: testing h264 (decoder) with hwdevice dxva2
Apr 12, 2023 05:51:46.510 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: hardware transcoding: testing API dxva2
Apr 12, 2023 05:51:46.518 [10308] DEBUG - Request: [192.168.1.236:43614 (Subnet)] GET /playQueues/3672?repeat=0&own=1&includeChapters=1&includeMarkers=1&includeGeolocation=1&includeExternalMedia=1 (14 live) #bb84a TLS GZIP Signed-in Token (liamlovesyou) (SweetBabyJesus)
Apr 12, 2023 05:51:46.518 [10308] DEBUG - [Req#bb84a] PlayQueue: total generated: 127, before cursor: 12, after cursor: 87
Apr 12, 2023 05:51:46.519 [10308] DEBUG - [Req#bb84a] PlayQueue: No need to refresh, active window is operational.
Apr 12, 2023 05:51:46.525 [8464] DEBUG - [Req#bb83f/Transcode] Codecs: Testing with profile 'High'
Apr 12, 2023 05:51:46.529 [8464] DEBUG - [Req#bb83f/Transcode] MDE: Friends - S3 E18 - The One with the Hypnosis Tape: selected media 0 / 34219
Apr 12, 2023 05:51:46.529 [8464] DEBUG - [Req#bb83f/Transcode] Streaming Resource: Session 00000241368AE080:5dc277b4d7acb863-com-plexapp-android changed transcode slot usage to used.  Used slots is now 1
Apr 12, 2023 05:51:46.529 [8464] DEBUG - [Req#bb83f/Transcode] Streaming Resource: Reached Decision id=20157 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=34219 part=(id=34219 decision=transcode container=mkv protocol=hls streams=(Video=(id=92018 decision=transcode bitrate=20736 encoder=h264_qsv width=1920 height=1080) Audio=(id=92019 decision=copy channels=6 rate=48000) Subtitle=(id=92020 decision=burn languageCode=eng location=embedded))))
Apr 12, 2023 05:51:46.529 [7588] DEBUG - Completed: [192.168.1.103:32808] 200 GET /video/:/transcode/universal/decision?advancedSubtitles=text&audioBoost=100&autoAdjustQuality=0&directPlay=0&directStream=1&directStreamAudio=1&fastSeek=1&hasMDE=1&location=lan&maxVideoBitrate=200000&mediaBufferSize=209664&mediaIndex=0&partIndex=0&path=%2Flibrary%2Fmetadata%2F20157&protocol=*&session=5dc277b4d7acb863-com-plexapp-android&subtitles=burn&subtitleSize=100&videoBitrate=200000&videoQuality=100&videoResolution=3840x2160 (14 live) #bb83f TLS GZIP 227ms 2360 bytes (pipelined: 5)
Apr 12, 2023 05:51:46.541 [10308] DEBUG - [Req#bb84a] PlayQueue: Client cswj15km48m8vyrv8xwoy3cr requested ownership of play queue 3672, but already had it.

Bump!

Bump!

The lack of traction on my issue which is quite literally prohibiting playback of content on my device is concerning.

What is your server running on?

Does hardware or CPU transcoding work for a normal transcode without PGS subs?

From what I understand PGS subs have to be transcoded so they can burn in the subtitles. That has to be done with the CPU

Is transcoding enabled in your server settings?
On the Shield, what are you subtitle behavior settings?

My server is an i5 11400 running latest Windows 10 Home

PGS subtitles are client dependent, the playback works fine for some time then decides to transcode out of the blue, stopping the playback. Subtitles are set to burn automatically. Hardware transcoding works perfectly fine with or without PGS subtitles. It’s just that the client randomly decides to transcode and it just doesn’t work lol.

The audio changes from direct play to direct stream when the forced transcoding occurs. If any employee could assist me to get this issue fixed, that would be greatly appreciated.

Bump!

Bump!

Was finally able to capture Android Logs as well as Server Logs to pair, instance happens around the 0:55 mark.
shield pro log 2.txt (3.2 MB)
Plex Media Server Logs.txt (6.0 MB)

Bump!

Unfortunately I did not see anything obvious in logs so making a bug report that can be looked into.

When trying to playback the video with PGS subtitles what was the burn subtitles settings set to? I am assuming this is happening to videos without subs as well

1 Like

It is set to Automatic. I’m unsure if this happens to content without PGS subtitles, as most of my content I watch for an extended duration has PGS subtitles

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