Opened 5 months ago

Closed 5 months ago

#10760 closed defect (fixed)

Disabling h264 and hevc decoders needs disabling av1_vulkan hwaccel as well

Reported by: bbhtt Owned by:
Priority: normal Component: undetermined
Version: 6.1 Keywords:
Cc: bbhtt Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by bbhtt)

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.

Change History (3)

comment:1 by bbhtt, 5 months ago

Description: modified (diff)

comment:3 by bbhtt, 5 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.