[Cin] QSVEnc to investigate HW encoder - Intel System Support Utility

Terje J. Hanssen terjejhanssen at gmail.com
Thu Oct 31 19:03:01 CET 2024




Den 27.10.2024 15:17, skrev Terje J. Hanssen:
> QSVEnc is meant to investigate performance and image quality of HW 
> encoder (QSV) of Intel. There are build packages for Fedora and 
> Ubuntu, but it is missing for openSUSE/Slowroll.
>
> https://github.com/rigaya/QSVEnc/releases
> https://github.com/rigaya/QSVEnc/tree/master?tab=readme-ov-file#readme
> https://github.com/rigaya/QSVEnc/blob/master/Install.en.md
>
> There is also another tool, Intel System Support Utility for the Linux 
> (and Windows)
> Intel SSU for the Linux operating system is a standalone utility that 
> performs a detailed scan and report of the computer system information 
> to assist you with customer support troubleshooting. Intel SSU for 
> Linux produces an output file that can be saved, viewed and shared by 
> the user.
>
> https://www.intel.com/content/www/us/en/download/18895/26735/intel-system-support-utility-for-the-linux-operating-system.html 
>


It can be mentioned that rigaya has three equivalent(?) programs:

QSVEnc - for HW encoding with Intel QSV
NVEnc - for HW encoding with NVIDIA NVENC
https://github.com/rigaya/NVEnc
VCEEnc - for HWencoding with AMD VCE
https://github.com/rigaya/VCEEnc

There is also some comparison tools that I haven't expored:
https://rigaya.github.io/vq_results/
https://rigaya.github.io/vq_results/vq_results_details.html?lang=en

Thanks to responsiveness from malcolmlewis at openSUSE Factory/Build 
Service to build the rpm, I have now QSVEnc running on Slowroll.

QSVEnc has a comprehensive option list and help beyond investigating the 
environment capabilities, which also includes a encoder and decoder.
https://github.com/rigaya/QSVEnc/blob/master/QSVEncC_Options.en.md


For example its integration with Avisynth and ffmpeg via pipes may be of 
interest:

pipe usage from ffmpeg

ffmpeg -y -i "<inputfile>" -an -pix_fmt yuv420p -f yuv4mpegpipe - | 
QSVEncC --y4m -i - -o "<outfilename.264>"


Passing video & audio from ffmpeg:

--> use "nut" to pass both video & audio thorough pipe.

ffmpeg -y -i "<input>" <options for ffmpeg> -codec:a copy -codec:v 
rawvideo -pix_fmt yuv420p -f nut - | QSVEncC --avsw -i - --audio-codec 
aac -o "<outfilename.mp4>"

------------------------------

Example outputs from a few checks I have run on my ARC A750 gpu:

but here is from my ARC A750 (DG2):

qsvencc --check-features
Checking for QSV...
QSVEncC (x64) 7.71 (r) by rigaya, Oct 30 2024 01:30:15 (gcc 14.2.1/Linux)
  Intel Media SDK API v2.12
  reader: raw, vpy, avsw, avhw
  vpp:    resize, deinterlace, denoise, detail-enhance, image-stab, 
delego, sub
  others
   libass     : enabled
   libdovi    : enabled
   d3d11      : disabled
   vulkan     : enabled
   libplacebo : enabled
Environment Info
OS : openSUSE Tumbleweed-Slowroll (6.6.58-1-longterm) x64
CPU: 12th Gen Intel Core i7-12700KF (12C/20T)
RAM: Used 4575 MB, Total 128651 MB
GPU: Intel Graphics / Driver :
-----snip
Supported Decode features:

         H.264  HEVC   MPEG2  VP8    VP9    AV1
yuv420  8bit  10bit   8bit         10bit  10bit
yuv422        10bit
yuv444        12bit                12bit

----------------

qsvencc --check-profiles av1_qsv
profile name for "av1_qsv"
   Main
   High
   Professional


qsvencc --check-profiles hevc_vaapi
profile name for "hevc_vaapi"
   Main
   Main 10
   Main Still Picture
   Rext
   Multiview Main
   Scc


qsvencc --check-profiles h264_vaapi
profile name for "h264_vaapi"
   Baseline
   Constrained Baseline
   Main
   Extended
   High
   High 10
   High 10 Intra
   High 4:2:2
   High 4:2:2 Intra
   High 4:4:4
   High 4:4:4 Predictive
   High 4:4:4 Intra
   CAVLC 4:4:4
   Multiview High
   Stereo High










-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20241031/7c36fa5a/attachment.htm>


More information about the Cin mailing list