An overview over the system FFmpeg 7.1 supported QSV pixel formats and profiles:


ffmpeg -hide_banner -encoders | grep qsv
 V..... av1_qsv              AV1 (Intel Quick Sync Video acceleration) (codec av1)
 V..... h264_qsv             H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (Intel Quick Sync Video acceleration) (codec h264)
 V..... hevc_qsv             HEVC (Intel Quick Sync Video acceleration) (codec hevc)
 V..... mjpeg_qsv            MJPEG (Intel Quick Sync Video acceleration) (codec mjpeg)
 V..... mpeg2_qsv            MPEG-2 video (Intel Quick Sync Video acceleration) (codec mpeg2video)
 V..... vp9_qsv              VP9 video (Intel Quick Sync Video acceleration) (codec vp9)


ffmpeg -hide_banner -h encoder=av1_qsv | egrep 'Supported|profile|main|high|professional'
    Supported hardware devices: qsv qsv qsv
    Supported pixel formats: nv12 p010le qsv
  -profile           <int>        E..V....... (from 0 to INT_MAX) (default unknown)
     main            1            E..V.......


ffmpeg -hide_banner -h encoder=hevc_qsv | egrep 'Supported|profile|main|high|professional'
    Supported hardware devices: qsv qsv qsv
    Supported pixel formats: nv12 p010le p012le yuyv422 y210le qsv bgra x2rgb10le vuyx xv30le
  -profile           <int>        E..V....... (from 0 to INT_MAX) (default unknown)
     main            1            E..V.......
     main10          2            E..V.......
     mainsp          3            E..V.......
  -tier              <int>        E..V....... Set the encoding tier (only level >= 4 can support high tier) (from 0 to 256) (default high)
     main            0            E..V.......
     high            256          E..V.......


ffmpeg -hide_banner -h encoder=h264_qsv | egrep 'Supported|profile|main|high|professional'
    Supported hardware devices: qsv qsv qsv
    Supported pixel formats: nv12 qsv
  -profile           <int>        E..V....... (from 0 to INT_MAX) (default unknown)
     main            77           E..V.......
     high            100          E..V.......