[FFmpeg-trac] #10115(avutil:new): ffmpeg fails to build after recent commit in vulkan_headers git et al

FFmpeg trac at avcodec.org
Wed Dec 21 11:06:18 EET 2022


#10115: ffmpeg fails to build after recent commit in vulkan_headers git et al
-----------------------------------+--------------------------------------
             Reporter:  hydra3333  |                     Type:  defect
               Status:  new        |                 Priority:  normal
            Component:  avutil     |                  Version:  git-master
             Keywords:             |               Blocked By:
             Blocking:             |  Reproduced by developer:  0
Analyzed by developer:  0          |
-----------------------------------+--------------------------------------
 Per [https://github.com/m-ab-s/media-autobuild_suite/issues/2345] which
 shows an ffmpeg build failure log and discussion relating to
 vulkan_headers and the latest ffmpeg git head.
 The cross-compile used to work.

 Post [https://github.com/m-ab-s/media-
 autobuild_suite/issues/2345#issuecomment-1359555300] says
 {{{
 The VK_EXT_VIDEO_DECODE_H264_EXTENSION_NAME was removed from vulkan
 headers (include/vulkan/vulkan_beta.h) in this commit KhronosGroup/Vulkan-
 Headers at 00671c6#diff-
 b1e4e7ea6a31d516e9a13c9e08028fb3959058081965270ac94d587d9ec1758dL90

 I am not sure if this should be reported to ffmpeg. But one can try.
 }}}

 The vulkan_headers git is [https://github.com/KhronosGroup/Vulkan-Headers]

 Build log showing error:
 {{{
 05:21:10 ├ Running make...
 Likely error (tail of the failed operation logfile):
 CC      libavutil/hwcontext_vulkan.o
 C:/Download/Media-Autobuild/build/ffmpeg-
 git/libavutil/hwcontext_vulkan.c:367:7: error:
 'VK_EXT_VIDEO_DECODE_H264_EXTENSION_NAME' undeclared here (not in a
 function); did you mean 'VK_EXT_VIDEO_ENCODE_H264_EXTENSION_NAME'?
   367 |     { VK_EXT_VIDEO_DECODE_H264_EXTENSION_NAME,
 FF_VK_EXT_NO_FLAG                },
       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       |       VK_EXT_VIDEO_ENCODE_H264_EXTENSION_NAME
 C:/Download/Media-Autobuild/build/ffmpeg-
 git/libavutil/hwcontext_vulkan.c:368:7: error:
 'VK_EXT_VIDEO_DECODE_H265_EXTENSION_NAME' undeclared here (not in a
 function); did you mean 'VK_EXT_VIDEO_ENCODE_H265_EXTENSION_NAME'?
   368 |     { VK_EXT_VIDEO_DECODE_H265_EXTENSION_NAME,
 FF_VK_EXT_NO_FLAG                },
       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       |       VK_EXT_VIDEO_ENCODE_H265_EXTENSION_NAM
 [logs.zip](https://github.com/m-ab-s/media-
 autobuild_suite/files/10265276/logs.zip)
 E
 make: *** [/build/ffmpeg-git/ffbuild/common.mak:81:
 libavutil/hwcontext_vulkan.o] Error 1
 make failed.
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10115>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list