[FFmpeg-devel] [PATCH 1/2] hwcontext_vulkan: dynamically load functions

Lynne dev at lynne.ee
Wed Jun 9 11:57:57 EEST 2021


Jun 8, 2021, 07:38 by wenbin.chen at intel.com:

>> Apr 29, 2021, 03:52 by dev at lynne.ee:
>>
>> > This patch allows for alternative loader implementations.
>> >
>> > Patch attached.
>> >
>>
>> Forgot to fix a flag, v2 attached.
>>
>
> Hi Lynne:
> I tried the following command:
> "ffmpeg -init_hw_device vulkan=vul:0 -filter_hw_device vul -i 1080p.264 -vf "hwupload=extra_hw_frames=16,scale_vulkan=w=1920:h1080" -f null"
> It report a segmentation fault at https://github.com/FFmpeg/FFmpeg/blob/282b9f4cba7ca361c43ac9f94031a43109df0a4f/libavutil/hwcontext_vulkan.c#L1018
> The function pointer vk->CreateCommandPool is NULL.
> I build on ffmpeg master.
>

Weird. What Vulkan drivers and what OS was used?
If CreateCommandPool is NULL then initialization probably
wouldn't even happen.


More information about the ffmpeg-devel mailing list