[FFmpeg-trac] #10760(undetermined:new): Disabling h264 and hevc decoders needs disabling av1_vulkan hwaccel as well

FFmpeg trac at avcodec.org
Tue Dec 26 06:14:18 EET 2023


#10760: Disabling h264 and hevc decoders needs disabling av1_vulkan hwaccel as well
--------------------------------------+----------------------------------
             Reporter:  bbhtt         |                     Type:  defect
               Status:  new           |                 Priority:  normal
            Component:  undetermined  |                  Version:  6.1
             Keywords:                |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+----------------------------------
 Summary of the bug:

 For patent reasons, h264 and hevc is usually disabled for free builds. But
 with 6.1 that seems to need disabling the av1_vulkan hwaccel capability
 too. This seems like a bug because av1 decoder is not being disabled.

 How to reproduce:

 With 6.1 tarball

 `./configure --disable-decoder="h264,hevc" --disable-static --enable-
 shared --disable-hwaccel="h264_vulkan,hevc_vulkan"`

 https://gist.github.com/bbhtt/17d9bc3c5e6b7cd21f09cfc3074e8910

 ```
 /usr/bin/ld: libavcodec/libavcodec.so: undefined reference to
 `ff_vk_frame_params'
 /usr/bin/ld: libavcodec/libavcodec.so: undefined reference to
 `ff_vk_decode_add_slice'
 /usr/bin/ld: libavcodec/libavcodec.so: undefined reference to
 `ff_vk_decode_frame'
 /usr/bin/ld: libavcodec/libavcodec.so: undefined reference to
 `ff_vk_update_thread_context'
 /usr/bin/ld: libavcodec/libavcodec.so: undefined reference to
 `ff_vk_decode_prepare_frame'
 /usr/bin/ld: libavcodec/libavcodec.so: undefined reference to
 `ff_vk_decode_init'
 /usr/bin/ld: libavcodec/libavcodec.so: undefined reference to
 `ff_vk_decode_free_frame'
 /usr/bin/ld: libavcodec/libavcodec.so: undefined reference to
 `ff_vk_decode_uninit'
 /usr/bin/ld: libavcodec/libavcodec.so: undefined reference to
 `ff_vk_params_invalidate'
 /usr/bin/ld: libavcodec/libavcodec.so: undefined reference to
 `ff_vk_decode_create_params'
 /usr/bin/ld: libavcodec/libavcodec.so: undefined reference to
 `ff_vk_decode_flush'
 ```

 What works is disabling `av1_vulkan` as well, i.e. completely, since those
 3 are only supported for now.

 {{{
 built on Linux fedora 6.6.7-200.fc39.x86_64
 }}}
 Patches should be submitted to the ffmpeg-devel mailing list and not this
 bug tracker.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10760>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list