Hardware encoding not working on Windows 10

Server Version#: 1.21.3.4021
Player Version#: iOS 7.12

Running Plex natively on Windows 10 Pro. I get infinite buffering when using anything besides “Original Quality” on many files, both on iOS and Android. Disabling hardware encoding seems to resolve the issue. Plex console shows the following.

Feb 16, 2021 00:24:34.394 [2348] Info — Notification: Library scan complete - Extra information may still be downloading from the Internet
Feb 16, 2021 00:24:34.394 [2348] Info — Notification: Library scan complete - Extra information may still be downloading from the Internet
Feb 16, 2021 00:24:34.606 [30232] Info — AutoUpdate: no updates available
Feb 16, 2021 00:24:34.606 [30232] Info — AutoUpdate: no updates available
Feb 16, 2021 00:24:39.378 [30088] Error — [Transcode] ClientProfileExtra: video transcode target already exists for  streaming hls
Feb 16, 2021 00:24:39.378 [30088] Error — [Transcode] ClientProfileExtra: video transcode target already exists for  streaming hls
Feb 16, 2021 00:24:39.663 [30088] Info — [Transcode] [FFMPEG] - MFT name: 'NVIDIA HEVC Encoder MFT'

Feb 16, 2021 00:24:39.663 [30088] Info — [Transcode] [FFMPEG] - MFT name: 'NVIDIA HEVC Encoder MFT'

Feb 16, 2021 00:24:39.919 [30088] Info — [Transcode] [FFMPEG] - MFT name: 'NVIDIA HEVC Encoder MFT'

Feb 16, 2021 00:24:39.919 [30088] Info — [Transcode] [FFMPEG] - MFT name: 'NVIDIA HEVC Encoder MFT'

Feb 16, 2021 00:24:40.174 [5140] Error — [Transcode] ClientProfileExtra: video transcode target already exists for  streaming hls
Feb 16, 2021 00:24:40.174 [5140] Error — [Transcode] ClientProfileExtra: video transcode target already exists for  streaming hls
Feb 16, 2021 00:24:40.464 [5140] Info — [Transcode] [FFMPEG] - MFT name: 'NVIDIA HEVC Encoder MFT'

Feb 16, 2021 00:24:40.464 [5140] Info — [Transcode] [FFMPEG] - MFT name: 'NVIDIA HEVC Encoder MFT'

Feb 16, 2021 00:24:40.716 [5140] Info — [Transcode] [FFMPEG] - MFT name: 'NVIDIA HEVC Encoder MFT'

Feb 16, 2021 00:24:40.716 [5140] Info — [Transcode] [FFMPEG] - MFT name: 'NVIDIA HEVC Encoder MFT'

Feb 16, 2021 00:24:41.385 [47888] Error — [Transcoder] [hevc_mf @ 0082ce40] could not find any MFT for the given media type
Feb 16, 2021 00:24:41.385 [47888] Error — [Transcoder] [hevc_mf @ 0082ce40] could not find any MFT for the given media type
Feb 16, 2021 00:24:41.385 [47888] Error — [Transcoder] [hevc_mf @ 0082ce40] could not create MFT
Feb 16, 2021 00:24:41.385 [47888] Error — [Transcoder] [hevc_mf @ 0082ce40] could not create MFT
Feb 16, 2021 00:24:41.386 [47888] Error — [Transcoder] Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Feb 16, 2021 00:24:41.386 [47888] Error — [Transcoder] Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Feb 16, 2021 00:24:41.450 [15224] Error — ClientProfileExtra: video transcode target already exists for  streaming hls
Feb 16, 2021 00:24:41.450 [15224] Error — ClientProfileExtra: video transcode target already exists for  streaming hls
Feb 16, 2021 00:24:46.153 [45904] Info — AutoUpdate: no updates available
Feb 16, 2021 00:24:46.153 [45904] Info — AutoUpdate: no updates available

ffmpeg did not return any errors in the file. Also, the transcoding works fine with h/w encoding disabled (using CPU transcoding), it only fails when attempting to use the GPU. Is there another test I can run on either the Plex server or the file?

I’m also seeing this now:

Feb 23, 2021 23:17:03.862 [100776] Error — [Transcode] Transcoder: Failed to delete session directory (boost::filesystem::status: Access is denied: "S:\Plex\AppData\Local\Plex Media Server\Cache\Transcode\Sessions\plex-transcode-2b303bf4b04bb2df-com-plexapp-android-e8b63287-3e4a-4b44-93b1-9c491cf2c97b\media-00003.ts")
Feb 23, 2021 23:17:08.965 [104064] Error — Transcoder: Failed to delete session directory (boost::filesystem::remove: The process cannot access the file because it is being used by another process: "S:\Plex\AppData\Local\Plex Media Server\Cache\Transcode\Sessions\plex-transcode-2b303bf4b04bb2df-com-plexapp-android-52b449a5-3857-4d45-a1d8-3bfe0f3d52bd\media-01907.ts")

This appears to have resolved with the update to 1.21.4.4079. Don’t know if it was a fix in that version, or just the installation/upgrade process.

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