Can someone explain these Plex Media Server logs re: hw-accelerated transcoding?

Oct 25, 2018 03:54:13.679 [13808] DEBUG - Codecs: testing h264_nvenc (encoder)
Oct 25, 2018 03:54:13.685 [13808] ERROR - [FFMPEG] - Failed creating CUDA context for NVENC: 0x2
Oct 25, 2018 03:54:13.685 [13808] ERROR - [FFMPEG] - No NVENC capable devices found
Oct 25, 2018 03:54:13.686 [13808] DEBUG - Codecs: testing h264_mf (encoder)
Oct 25, 2018 03:54:13.785 [13808] INFO - [FFMPEG] - MFT name: ‘NVIDIA H.264 Encoder MFT’

I don’t understand why my 1070 Ti can’t use NVEnc, but uses Nvidia’s mf Encoder instead? Additionally, I don’t understand why my UHD 630 can’t use QSV, but uses Intel’s QSV Encoder for mf? The server doesn’t even seem to check for h264_qsv (encoder).

Here are some additional logs:

Oct 24, 2018 19:49:34.506 [12744] DEBUG - Streaming Resource: Determining preferred transcode encoders through transcode only decision.
Oct 24, 2018 19:49:34.506 [12744] DEBUG - Codecs: testing h264_nvenc (encoder)
Oct 24, 2018 19:49:34.508 [12744] ERROR - [FFMPEG] - Failed creating CUDA context for NVENC: 0x2
Oct 24, 2018 19:49:34.508 [12744] ERROR - [FFMPEG] - No NVENC capable devices found
Oct 24, 2018 19:49:34.508 [12744] DEBUG - Codecs: testing h264_mf (encoder)
Oct 24, 2018 19:49:34.616 [12744] INFO - [FFMPEG] - MFT name: ‘Intel® Quick Sync Video H.264 Encoder MFT’

I can call QSV or NVEnc via ffmpeg command line or Handbrake, but for some reason Plex can’t.

Well, seems like Plex finally chose NVEnc, but I still can’t get QSV to work. Now, regardless of spec’ing Power Saving or High Performance GPU, the transcoder defaults to NVEnc. Always another issue.

First signs of QSV:

Oct 25, 2018 11:39:38.293 [5156] DEBUG - Codecs: testing h264_qsv (encoder)
Oct 25, 2018 11:39:38.294 [5156] DEBUG - Codecs: hardware transcoding: testing API qsv
Oct 25, 2018 11:39:38.354 [15396] DEBUG - Completed: [127.0.0.1:57193] 206 PUT /video/:/transcode/session/07C8A2E4-CD02-4DD6-BA44-66F836A9F771/e6b42998-b89a-4718-8f8f-aabd7fa08833/progress?progress=42.6&size=-22&remaining=13278 (10 live) 0ms 342 bytes (range: bytes=0-)
Oct 25, 2018 11:39:38.585 [5156] ERROR - [FFMPEG] - Error initializing an MFX session: -3.
Oct 25, 2018 11:39:38.593 [5156] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Oct 25, 2018 11:39:38.593 [5156] DEBUG - Codecs: testing h264_nvenc (encoder)
Oct 25, 2018 11:39:38.819 [5156] DEBUG - Codecs: hardware transcoding: testing API dxva2

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