[FFmpeg-devel] [V2 01/10] libavfilter/vulkan: Fix problem when device have queue_count greater than 1

Lynne dev at lynne.ee
Tue Aug 31 14:34:34 EEST 2021


31 Aug 2021, 09:24 by wenbin.chen at intel.com:

> If the descriptorSetCount is greater than the number of setLayouts,
> vkAllocateDescriptorSets will report error. Now fix it.
>
> Now the following command can run on the device that has queue_count greater
> than one:
> ffmpeg -v verbose -init_hw_device vulkan=vul:0 -filter_hw_device vul
> -i input1080p.264 -vf "hwupload=extra_hw_frames=16,scale_vulkan=1920:1080,
> hwdownload,format=yuv420p" -f rawvideo output.yuv
>
> Signed-off-by: Wenbin Chen <wenbin.chen at intel.com>
>

According to NIklas Haas, drivers are smart enough to rebalance queues
themselves, so I'm thinking of maybe dropping the messy queue selection
code.
But I'll get around to it once I fix the hwcontext.


More information about the ffmpeg-devel mailing list