Den 15.08.2024 11:52, skrev Terje J. Hanssen:

Den 13.08.2024 12:03, skrev Andrea paz:

I compiled CinGH with ffmpg.git buy I have same errors.



The "Vulkan Tutorial" seems to be an interesting info reading. As I understand it,  Vulkan is a generic cross-platform, computer-graphic engine.
https://vulkan-tutorial.com/Development_environment#page_Linux
And as from its Introducion section:
However, the price you pay for these benefits is that you have to work with a significantly more verbose API. Every detail related to the graphics API needs to be set up from scratch by your application, including initial frame buffer creation and memory management for objects like buffers and texture images. The graphics driver will do a lot less hand holding, which means that you will have to do more work in your application to ensure correct behavior.The takeaway message here is that Vulkan is not for everyone. It is targeted at programmers who are enthusiastic about high performance computer graphics, and are willing to put some work in.

Else, I have also requested the FFmpeg-user list about the ffmpeg Vulkan: hwaccel initialisation returned error, and from there it has been forwarded to Intel to possibly have a look at it and clarify more
https://ffmpeg.org//pipermail/ffmpeg-user/2024-August/058562.html

I have posted on other forums too without more clarifying results.
What I have found from my own tests is that Vulkan currently only support 8-bit h264/h265 decoding, not 10-bit yet.

In comparison, Intel QSV has broad codec and pixel format support
https://trac.ffmpeg.org/wiki/Hardware/QuickSync#HardwareSupport

For example no problems with 10-bit yuv422p10le on my DG2 GPU:
ffmpeg -hide_banner -hwaccel qsv -hwaccel_output_format qsv -i h265_yuv422p10le_SR.mp4 -f null - -benchmark
frame= 1779 fps=1346 q=-0.0 Lsize=N/A time=00:01:11.16 bitrate=N/A speed=53.8x    
bench: utime=0.607s stime=0.126s rtime=1.322s
bench: maxrss=83032KiB