Ffmpeg QSV HEVC error on 1 desktop but not the other

I’ve been playing around with ffmpeg trying to get the proper parameters for the best quality using intel qsv. One desktop (Intel UHD 630 version 27.20.100.9168) I get the following error:

[hevc_qsv @ 0000018e9a302e00] Could not load the requested plugin '6fadc791a0c2eb479ab6dcd5ea9da347': specified object was not found (-9)
[hevc_qsv @ 0000018e9a302e00] Error loading plugins
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

But works fine on another desktop (Intel Iris Pro 580 version 27.20.100.8681). I am using the included ffmpeg but am running the job manually via command prompt. Here is what I’m running:

ffmpeg.exe -hide_banner -threads 0 -hwaccel qsv -i D:\Temp\input.mp4 -vf yadif=0:-1:1,hqdn3d -vcodec hevc_qsv -preset slow -crf 26 -vsync 2 -map 0:v -sn -acodec copy -map 0:a -f matroska c:\Temp\output.mkv

Anyone know how to resolve this error?

Your 630 driver/hardware may not support some of the parameters (e.g. hevc, vsync or a preset), try elimination to see which one it doesnt’ support.

I stripped it down to the basics (see below) and am still getting the same error.

ffmpeg.exe -hide_banner -threads 0 -i D:\Temp\input.mp4 -vcodec hevc_qsv -map 0:v -acodec copy -map 0:a -f matroska c:\Temp\output.mkv

Works great in handbrake.

2021-02-02T07:32:11 MCEBuddy.AppWrapper.IntelQuery --> [07:32:11] CPU: Intel(R) Core(TM) i9-10900K CPU @ 3.70GHz
2021-02-02T07:32:11 MCEBuddy.AppWrapper.IntelQuery --> [07:32:11]  - logical processor count: 20
2021-02-02T07:32:11 MCEBuddy.AppWrapper.IntelQuery --> [07:32:11] Intel Quick Sync Video support: yes
2021-02-02T07:32:11 MCEBuddy.AppWrapper.IntelQuery --> [07:32:11]  - Intel Media SDK hardware: API 1.32 (minimum: 1.3)
2021-02-02T07:32:11 MCEBuddy.AppWrapper.IntelQuery --> [07:32:11]  - Intel Media SDK software: API 1.19 (minimum: 1.3)
2021-02-02T07:32:11 MCEBuddy.AppWrapper.IntelQuery --> [07:32:11]  - H.264 encoder: yes
2021-02-02T07:32:11 MCEBuddy.AppWrapper.IntelQuery --> [07:32:11]     - preferred implementation: hardware (any) via D3D11
2021-02-02T07:32:11 MCEBuddy.AppWrapper.IntelQuery --> [07:32:11]     - capabilities (hardware):  breftype icq+la+i+downs vsinfo opt1 opt2+mbbrc+extbrc+trellis+ib_adapt+nmpslice
2021-02-02T07:32:11 MCEBuddy.AppWrapper.IntelQuery --> [07:32:11]     - capabilities (software):  bpyramid vsinfo opt1 opt2
2021-02-02T07:32:11 MCEBuddy.AppWrapper.IntelQuery --> [07:32:11]  - H.265 encoder: yes (8bit: yes, 10bit: yes)
2021-02-02T07:32:11 MCEBuddy.AppWrapper.IntelQuery --> [07:32:11]     - preferred implementation: hardware (any) via D3D11
2021-02-02T07:32:11 MCEBuddy.AppWrapper.IntelQuery --> [07:32:11]     - capabilities (hardware):  bpyramid icq vsinfo opt1

It looks like you may be missing the -crf/-cq/bitrate parameter for the video.
Have you tried updating ffmpeg to a newer version and see if that helps since it’s working in handbrake.

I did try -crf. The last one was the most stripped down I could do in order to test @RBoy’s suggestion. I’ll try the latest version of ffmpeg. I just thought it strange that one desktop worked and another one didn’t.