How do I use ffmpeg on Windows using Intel Quick Sync Video (qsv) to encode a video in VP9? The command that I am using now is:
ffmpeg.exe -init_hw_device qsv=hw -filter_hw_device hw -i input.mkv -vf hwupload=extra_hw_frames=64,format=qsv -c:v vp9_qsv -b:v 10M -maxrate 10M -preset veryslow output.mkv
Which produces the following error message:
I must be quite close because if I use the same command but hevc_qsv instead of vp9_qsv it runs and gives the expected outcome. So what am I doing wrong?
I am using Windows 11 Pro and an 11th Gen Intel i5-1145G7 CPU, which is Tiger Lake and should support vp9_qsv according to this support table.