[FFmpeg-user] Building ffmpeg with vulkan support in docker container.

Mattias Werdenskog mattias at boffins.se
Fri Nov 1 11:15:14 EET 2024


Hello,

Attempting to build ffmpeg that has vulkan support enabled in a docker container. The container environment is ubuntu 24.04 with installed packages libvulkan-dev, (libvulkan1), vulkan-icd, vulkan-tools. As far as I understand vulkan is supposed to be autodetected by ffmpeg configure (but does not enable by itself) and when trying to pass  `--enable-vulkan`, configure will exit error “ERROR: vulkan requested but not found”.

I have confirmed vulkan is able to detect hardware gpu when the container is running, but hardware access a bit more limited while building (from Dockerfile). Don’t know whether detected gpu hardware in vulkan matters at build time, but as the vulkan-icd package is installed some software/cpu support should at least be enabled.

VK_HEADER_VERSION 275
Ffmpeg 7.1


Any pointers where to look to get this working? Thanks.






More information about the ffmpeg-user mailing list