[FFmpeg-devel] FFmpeg 6.1.2 about vulkan h264 video decode

Wonskuis Yu(SH-RD) WonskuisYu at glenfly.com
Wed Sep 25 10:43:09 EEST 2024


Hi£¬

       When I use ffmpeg 6.1.2 to do transcode as flow cmd: ffmpeg.exe ¨Chwaccel vulkan ¨CI H264-4k.mp4 output.mp4

The assert of null pointer occur, after debug source code, I found the pointer of layered_frame is null, because it doesn¡¯t created.

Further, I found it only be created when dec->dedicated_dpb && dec->layered_dpb are all true.
But the driver report caps only include VK_VIDEO_DECODE_CAPABILITY_DPB_AND_OUTPUT_COINCIDE_BIT_KHR,
not include VK_VIDEO_CAPABILITY_SEPARATE_REFERENCE_IMAGES_BIT_KHR, it leads the layered_frame can¡¯t be created.
For this combination of driver caps, I think it means the reference frame and output use the same image resource , the ffmpeg should create layered_frame as array?
I¡¯m confused whether It¡¯s the driver issue or not?

Thanks,
WonskuisYu



±£ÃÜÉùÃ÷£º
±¾Óʼþº¬Óб£ÃÜ»òרÓÐÐÅÏ¢£¬½ö¹©Ö¸¶¨ÊÕ¼þÈËʹÓá£ÑϽû¶Ô±¾Óʼþ»òÆäÄÚÈÝ×öÈκÎδ¾­ÊÚȨµÄ²éÔÄ¡¢Ê¹Óᢸ´ÖÆ»òת·¢¡£
CONFIDENTIAL NOTE:
This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited.


More information about the ffmpeg-devel mailing list