FFmpeg vulkan based decoding

problem : In ffmpeg we create hardware accelerated context using av_hwdevice_ctx_create function , third parameter which is called Device as null to ffmpeg choose it automatically everything goes well but when I set it to auto or device=0 it fails to find the device and gives no such device error , so how do I fix it?

context : ffmpeg v7.1 Vulkan cubic example tested -> works

Vulkan cubic example tested -> works so I expect to device=0 have no error in ffmpeg

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.