No video stream with Intel quick sync HW xcode on Intel NUC

Server Version#: 1.32.4.7195
Player Version#: 8.21
Plex Media Server Logs_2023-07-15_21-10-55.zip (1.0 MB)

Server Specs:
Intel NUCPAHi5
CPU: i5-1135G7
RAM: 32GB
Storage: WD SN850X NVMe
OS: Windows 11 Pro

Media libraries are on a network attached QNAP NAS.

The issue I’m experiencing is no video stream on my iOS clients when HW transcoding is enabled – audio still streams fine. I’m sure this worked previously because it was one of the first things I tested when I moved to the NUC. I don’t (personally) stream much outside of the house so I just noticed the issue.

Screenshot 2023-07-15 210729
Screenshot 2023-07-15 210833

As you can see in the above screenshots, the dashboard shows that HW transcoding is in use, but the client just sees the poster art.

Here’s a snipit of the attached logs

ul 15, 2023 21:04:36.226 [7516] DEBUG - [Req#1b4/Transcode/Req#1b7] We're going to try to auto-select an audio stream for account 1.
Jul 15, 2023 21:04:36.226 [7516] DEBUG - [Req#1b4/Transcode/Req#1b7] Selecting best audio stream for part ID 6934 (language: en)
Jul 15, 2023 21:04:36.226 [7516] DEBUG - [Req#1b4/Transcode/Req#1b7] Audio Stream: 14798, Subtitle Stream: -1
Jul 15, 2023 21:04:36.230 [7516] DEBUG - [Req#1b4/Transcode] MDE: Selected protocol http; container: mp4
Jul 15, 2023 21:04:36.230 [7516] DEBUG - [Req#1b4/Transcode] MDE: analyzing media item 6934
Jul 15, 2023 21:04:36.230 [7516] DEBUG - [Req#1b4/Transcode] MDE: E4 - The Laws of Attraction: Direct Playing due to no transcode profile
Jul 15, 2023 21:04:36.230 [7516] DEBUG - [Req#1b4/Transcode] MDE: E4 - The Laws of Attraction: DirectPlay
Jul 15, 2023 21:04:36.230 [7516] DEBUG - [Req#1b4/Transcode] MDE: Archer (2009) - S13 E4 - The Laws of Attraction: selected media 0 / 6934
Jul 15, 2023 21:04:36.230 [7516] DEBUG - [Req#1b4/Transcode] Streaming Resource: Calculated bandwidth of 4113kbps exceeds bandwidth limit. Changing decision parameters provided by client to fit bandwidth limit of 3000kbps
Jul 15, 2023 21:04:36.230 [7516] DEBUG - [Req#1b4/Transcode] Streaming Resource: Determining preferred transcode encoders through transcode only decision.
Jul 15, 2023 21:04:36.231 [7516] DEBUG - [Req#1b4/Transcode] Codecs: testing h264_qsv (encoder)
Jul 15, 2023 21:04:36.232 [7516] DEBUG - [Req#1b4/Transcode] Codecs: hardware transcoding: testing API qsv
Jul 15, 2023 21:04:36.233 [7516] WARN - [Req#1b4/Transcode] [FFMPEG] - WARNING: defaulting child_device_type to AV_HWDEVICE_TYPE_DXVA2 for compatibility with old commandlines. This behaviour will be removed in the future. Please explicitly set device type via "-init_hw_device" option.
Jul 15, 2023 21:04:36.236 [7516] ERROR - [Req#1b4/Transcode] [FFMPEG] - Failed to create Direct3D device
Jul 15, 2023 21:04:36.236 [7516] DEBUG - [Req#1b4/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Jul 15, 2023 21:04:36.236 [7516] DEBUG - [Req#1b4/Transcode] Could not create hardware context for h264_qsv
Jul 15, 2023 21:04:36.236 [7516] DEBUG - [Req#1b4/Transcode] Codecs: testing h264_nvenc (encoder)
Jul 15, 2023 21:04:36.237 [7516] DEBUG - [Req#1b4/Transcode] Codecs: hardware transcoding: testing API nvenc
Jul 15, 2023 21:04:36.237 [7516] ERROR - [Req#1b4/Transcode] [FFMPEG] - Cannot load nvcuda.dll
Jul 15, 2023 21:04:36.237 [7516] ERROR - [Req#1b4/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 15, 2023 21:04:36.237 [7516] DEBUG - [Req#1b4/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Jul 15, 2023 21:04:36.237 [7516] DEBUG - [Req#1b4/Transcode] Could not create hardware context for h264_nvenc
Jul 15, 2023 21:04:36.237 [7516] DEBUG - [Req#1b4/Transcode] Codecs: testing h264_mf (encoder)
Jul 15, 2023 21:04:36.495 [7516] INFO - [Req#1b4/Transcode] [FFMPEG] - MFT name: 'Intel® Quick Sync Video H.264 Encoder MFT'
Jul 15, 2023 21:04:36.743 [7400] DEBUG - Request: [192.168.10.101:54461 (Allowed Network (WAN))] GET /statistics/resources?timespan=6 (22 live) #1b3 TLS GZIP Signed-in Token (Kaleb356) (Chrome)
Jul 15, 2023 21:04:36.744 [1356] DEBUG - Completed: [192.168.10.101:54461] 200 GET /statistics/resources?timespan=6 (22 live) #1b3 TLS GZIP 1ms 848 bytes (pipelined: 100)
Jul 15, 2023 21:04:36.890 [7516] DEBUG - [Req#1b4/Transcode] Codecs: testing h264 (decoder) with hwdevice nvdec
Jul 15, 2023 21:04:36.890 [7516] DEBUG - [Req#1b4/Transcode] Codecs: hardware transcoding: testing API nvdec
Jul 15, 2023 21:04:36.891 [7516] ERROR - [Req#1b4/Transcode] [FFMPEG] - Cannot load nvcuda.dll
Jul 15, 2023 21:04:36.891 [7516] ERROR - [Req#1b4/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 15, 2023 21:04:36.891 [7516] DEBUG - [Req#1b4/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Jul 15, 2023 21:04:36.891 [7516] DEBUG - [Req#1b4/Transcode] Could not create hardware context for h264
Jul 15, 2023 21:04:36.891 [7516] DEBUG - [Req#1b4/Transcode] Codecs: testing h264 (decoder) with hwdevice dxva2
Jul 15, 2023 21:04:36.892 [7516] DEBUG - [Req#1b4/Transcode] Codecs: hardware transcoding: testing API dxva2
Jul 15, 2023 21:04:36.893 [7516] ERROR - [Req#1b4/Transcode] [FFMPEG] - Failed to create Direct3D device
Jul 15, 2023 21:04:36.895 [7516] DEBUG - [Req#1b4/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Jul 15, 2023 21:04:36.895 [7516] DEBUG - [Req#1b4/Transcode] Could not create hardware context for h264
Jul 15, 2023 21:04:36.895 [7516] DEBUG - [Req#1b4/Transcode] Codecs: testing aac_mf (encoder)
Jul 15, 2023 21:04:36.903 [7516] INFO - [Req#1b4/Transcode] [FFMPEG] - MFT name: 'Microsoft AAC Audio Encoder MFT'
Jul 15, 2023 21:04:37.032 [7400] DEBUG - Request: [192.168.10.101:54461 (Allowed Network (WAN))] GET /statistics/bandwidth?timespan=6 (22 live) #1b9 TLS GZIP Signed-in Token (Kaleb356) (Chrome)
Jul 15, 2023 21:04:37.035 [1484] DEBUG - Completed: [192.168.10.101:54461] 200 GET /statistics/bandwidth?timespan=6 (22 live) #1b9 TLS GZIP 2ms 1647 bytes (pipelined: 101)
Jul 15, 2023 21:04:37.114 [7516] DEBUG - [Req#1b4/Transcode] Codecs: testing h264_nvenc (encoder)
Jul 15, 2023 21:04:37.114 [7516] DEBUG - [Req#1b4/Transcode] Codecs: hardware transcoding: testing API nvenc
Jul 15, 2023 21:04:37.114 [7516] ERROR - [Req#1b4/Transcode] [FFMPEG] - Cannot load nvcuda.dll
Jul 15, 2023 21:04:37.114 [7516] ERROR - [Req#1b4/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 15, 2023 21:04:37.114 [7516] DEBUG - [Req#1b4/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Jul 15, 2023 21:04:37.114 [7516] DEBUG - [Req#1b4/Transcode] Could not create hardware context for h264_nvenc
Jul 15, 2023 21:04:37.114 [7516] DEBUG - [Req#1b4/Transcode] Codecs: testing h264_mf (encoder)
Jul 15, 2023 21:04:37.193 [7516] INFO - [Req#1b4/Transcode] [FFMPEG] - MFT name: 'Intel® Quick Sync Video H.264 Encoder MFT'
Jul 15, 2023 21:04:37.575 [7516] DEBUG - [Req#1b4/Transcode] Codecs: testing h264 (decoder) with hwdevice nvdec
Jul 15, 2023 21:04:37.575 [7516] DEBUG - [Req#1b4/Transcode] Codecs: hardware transcoding: testing API nvdec
Jul 15, 2023 21:04:37.575 [7516] ERROR - [Req#1b4/Transcode] [FFMPEG] - Cannot load nvcuda.dll
Jul 15, 2023 21:04:37.575 [7516] ERROR - [Req#1b4/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 15, 2023 21:04:37.575 [7516] DEBUG - [Req#1b4/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Jul 15, 2023 21:04:37.575 [7516] DEBUG - [Req#1b4/Transcode] Could not create hardware context for h264
Jul 15, 2023 21:04:37.575 [7516] DEBUG - [Req#1b4/Transcode] Codecs: testing h264 (decoder) with hwdevice dxva2
Jul 15, 2023 21:04:37.576 [7516] DEBUG - [Req#1b4/Transcode] Codecs: hardware transcoding: testing API dxva2
Jul 15, 2023 21:04:37.577 [7516] ERROR - [Req#1b4/Transcode] [FFMPEG] - Failed to create Direct3D device
Jul 15, 2023 21:04:37.577 [7516] DEBUG - [Req#1b4/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Jul 15, 2023 21:04:37.577 [7516] DEBUG - [Req#1b4/Transcode] Could not create hardware context for h264
Jul 15, 2023 21:04:37.577 [7516] DEBUG - [Req#1b4/Transcode] Codecs: testing aac_mf (encoder)
Jul 15, 2023 21:04:37.578 [7516] INFO - [Req#1b4/Transcode] [FFMPEG] - MFT name: 'Microsoft AAC Audio Encoder MFT'
Jul 15, 2023 21:04:37.783 [7516] DEBUG - [Req#1b4/Transcode] Streaming Resource: Reducing playback quality for 2857kbps stream bitrate: video resolution to 720x406, audio channels to 2, quality to 84, disable video DS as 4770kbps is > the 2613kbps available
Jul 15, 2023 21:04:37.783 [7516] DEBUG - [Req#1b4/Transcode] Codecs: testing h264_nvenc (encoder)
Jul 15, 2023 21:04:37.783 [7516] DEBUG - [Req#1b4/Transcode] Codecs: hardware transcoding: testing API nvenc
Jul 15, 2023 21:04:37.784 [7516] ERROR - [Req#1b4/Transcode] [FFMPEG] - Cannot load nvcuda.dll
Jul 15, 2023 21:04:37.784 [7516] ERROR - [Req#1b4/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 15, 2023 21:04:37.784 [7516] DEBUG - [Req#1b4/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Jul 15, 2023 21:04:37.784 [7516] DEBUG - [Req#1b4/Transcode] Could not create hardware context for h264_nvenc
Jul 15, 2023 21:04:37.784 [7516] DEBUG - [Req#1b4/Transcode] Codecs: testing h264_mf (encoder)
Jul 15, 2023 21:04:37.866 [7516] INFO - [Req#1b4/Transcode] [FFMPEG] - MFT name: 'Intel® Quick Sync Video H.264 Encoder MFT'
Jul 15, 2023 21:04:38.030 [8332] DEBUG - Request: [192.168.10.101:54461 (Allowed Network (WAN))] GET /statistics/bandwidth?timespan=6 (22 live) #1ba TLS GZIP Signed-in Token (Kaleb356) (Chrome)
Jul 15, 2023 21:04:38.033 [1356] DEBUG - Completed: [192.168.10.101:54461] 200 GET /statistics/bandwidth?timespan=6 (22 live) #1ba TLS GZIP 3ms 1662 bytes (pipelined: 102)
Jul 15, 2023 21:04:38.223 [7516] DEBUG - [Req#1b4/Transcode] Codecs: testing h264 (decoder) with hwdevice nvdec
Jul 15, 2023 21:04:38.223 [7516] DEBUG - [Req#1b4/Transcode] Codecs: hardware transcoding: testing API nvdec
Jul 15, 2023 21:04:38.223 [7516] ERROR - [Req#1b4/Transcode] [FFMPEG] - Cannot load nvcuda.dll
Jul 15, 2023 21:04:38.223 [7516] ERROR - [Req#1b4/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 15, 2023 21:04:38.223 [7516] DEBUG - [Req#1b4/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Jul 15, 2023 21:04:38.223 [7516] DEBUG - [Req#1b4/Transcode] Could not create hardware context for h264
Jul 15, 2023 21:04:38.224 [7516] DEBUG - [Req#1b4/Transcode] Codecs: testing h264 (decoder) with hwdevice dxva2
Jul 15, 2023 21:04:38.225 [7516] DEBUG - [Req#1b4/Transcode] Codecs: hardware transcoding: testing API dxva2
Jul 15, 2023 21:04:38.227 [7516] ERROR - [Req#1b4/Transcode] [FFMPEG] - Failed to create Direct3D device
Jul 15, 2023 21:04:38.227 [7516] DEBUG - [Req#1b4/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Jul 15, 2023 21:04:38.227 [7516] DEBUG - [Req#1b4/Transcode] Could not create hardware context for h264

~~~~~

Jul 15, 2023 21:04:42.247 [7516] DEBUG - [Req#1d5/Transcode/FAF6407A-CFF7-4591-8607-BD6BEA5DF77B] TPU: hardware transcoding: enabled, but no hardware decode accelerator found
Jul 15, 2023 21:04:42.250 [7516] DEBUG - [Req#1d5/Transcode/FAF6407A-CFF7-4591-8607-BD6BEA5DF77B] [Universal] Using local file path instead of URL: \\HomeNAS\TV Shows\Archer\Season 13\Archer - s13e04 - Laws of Attraction.m4v
Jul 15, 2023 21:04:42.250 [7516] DEBUG - [Req#1d5/Transcode/FAF6407A-CFF7-4591-8607-BD6BEA5DF77B] TPU: hardware transcoding: final decoder: , final encoder: mf

If I turn off HW transcoding it will stream fine, although I obviously would prefer to use HW transcoding. I also noticed on the iOS phone app that if I turned off the “Automatically Adjust Quality” setting it seems to ignore the HW transcoding setting on the server. That could be expected behavior but it was just something I came across.

Thanks for any help you can provide and please let me know if there’s additional detail I can provide.

I don’t have a solution for your issue but both your screencaps indicate you’re not HW decoding, only HW encoding. There should be 2 (hw).

Oh. Interesting. Thanks for pointing that out. I guess after looking at this for so long I went cross-eyed and missed that.

That at least gives me something new to dig into. Thanks.

Welp, I figured it out finally.

Apparently I missed the fact that HW transcoding does not work when running plex as a service in windows so I had to uninstall Plex Service. Bummer, but supporting streaming to anything my family has is more important right now.

Screenshot 2023-07-16 180349
Screenshot 2023-07-16 180446

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