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

Chen, Wenbin wenbin.chen at intel.com
Tue Jun 8 08:38:11 EEST 2021


> 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.


More information about the ffmpeg-devel mailing list