[digiKam-users] Error building digikam sources with ffmpeg 5
Steven Robbins
steve at sumost.ca
Mon Jul 4 04:32:06 BST 2022
I'm attempting to build the head of Digikam git/master. If I *disable* the
video player (ENABLE_MEDIAPLAYER=false), the sources build successfully.
When the mediaplayer is ENABLED, I cannot configure; cmake displays
CMake Error at /usr/share/cmake-3.23/Modules/
FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find FFmpeg (missing: SWRESAMPLE_LIBRARIES
SWRESAMPLE_INCLUDE_DIRS)
Call Stack (most recent call first):
/usr/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:594
(_FPHSA_FAILURE_MESSAGE)
core/cmake/modules/FindFFmpeg.cmake:190 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
core/cmake/rules/RulesMediaPlayer.cmake:14 (find_package)
core/CMakeLists.txt:112 (include)
Is this error familiar to anyone? Any thoughts?
I'm using Debian linux (sid), with ffmpeg v 5.0.1 installed. I believe I have
all the Debian component packages. For sure I have libswresample-dev:
$ dpkg --list|grep -i ffmpeg
ii ffcvt 1.7.6-1+b1
amd64 ffmpeg convert wrapper tool
ii ffmpeg 7:5.0.1-3+b1
amd64 Tools for transcoding, streaming and playing of multimedia files
ii ffmpeg-doc 7:5.0.1-3
all Documentation of the FFmpeg multimedia framework
ii ffmpeg2theora 0.30-2
amd64 Theora video encoder using ffmpeg
ii ffmpegfs 2.11-1+b1
amd64 Fuse Multi Media Filesystem
ii ffmpegthumbnailer
2.2.2+git20220218+dfsg-1+b1 amd64 fast and lightweight
video thumbnailer
ii ffmpegthumbs 4:22.04.2-1
amd64 video thumbnail generator using ffmpeg
ii gstreamer1.0-libav:amd64 1.20.3-1+b1
amd64 ffmpeg plugin for GStreamer
ii libavcodec-dev:amd64 7:5.0.1-3+b1
amd64 FFmpeg library with de/encoders for audio/video codecs -
development files
ii libavcodec58:amd64 7:4.4.2-1+b3
amd64 FFmpeg library with de/encoders for audio/video codecs - runtime
files
ii libavcodec59:amd64 7:5.0.1-3+b1
amd64 FFmpeg library with de/encoders for audio/video codecs - runtime
files
ii libavdevice-dev:amd64 7:5.0.1-3+b1
amd64 FFmpeg library for handling input and output devices -
development files
ii libavdevice58:amd64 7:4.4.2-1+b3
amd64 FFmpeg library for handling input and output devices - runtime
files
ii libavdevice59:amd64 7:5.0.1-3+b1
amd64 FFmpeg library for handling input and output devices - runtime
files
ii libavfilter-dev:amd64 7:5.0.1-3+b1
amd64 FFmpeg library containing media filters - development files
ii libavfilter7:amd64 7:4.4.2-1+b3
amd64 FFmpeg library containing media filters - runtime files
ii libavfilter8:amd64 7:5.0.1-3+b1
amd64 FFmpeg library containing media filters - runtime files
ii libavformat-dev:amd64 7:5.0.1-3+b1
amd64 FFmpeg library with (de)muxers for multimedia containers -
development files
ii libavformat58:amd64 7:4.4.2-1+b3
amd64 FFmpeg library with (de)muxers for multimedia containers -
runtime files
ii libavformat59:amd64 7:5.0.1-3+b1
amd64 FFmpeg library with (de)muxers for multimedia containers -
runtime files
ii libavutil-dev:amd64 7:5.0.1-3+b1
amd64 FFmpeg library with functions for simplifying programming -
development files
ii libavutil56:amd64 7:4.4.2-1+b3
amd64 FFmpeg library with functions for simplifying programming -
runtime files
ii libavutil57:amd64 7:5.0.1-3+b1
amd64 FFmpeg library with functions for simplifying programming -
runtime files
ii libffmpegthumbnailer4v5:amd64
2.2.2+git20220218+dfsg-1+b1 amd64 shared library for
ffmpegthumbnailer
ii libffms2-5:amd64
2.40+git20211209-2+b1 amd64 Cross platform ffmpeg
wrapper library
ii libpostproc-dev:amd64 7:5.0.1-3+b1
amd64 FFmpeg library for post processing - development files
ii libpostproc55:amd64 7:4.4.2-1+b3
amd64 FFmpeg library for post processing - runtime files
ii libpostproc56:amd64 7:5.0.1-3+b1
amd64 FFmpeg library for post processing - runtime files
ii libswresample-dev:amd64 7:5.0.1-3+b1
amd64 FFmpeg library for audio resampling, rematrixing etc. -
development files
ii libswresample3:amd64 7:4.4.2-1+b3
amd64 FFmpeg library for audio resampling, rematrixing etc. - runtime
files
ii libswresample4:amd64 7:5.0.1-3+b1
amd64 FFmpeg library for audio resampling, rematrixing etc. - runtime
files
ii libswscale-dev:amd64 7:5.0.1-3+b1
amd64 FFmpeg library for image scaling and various conversions -
development files
ii libswscale5:amd64 7:4.4.2-1+b3
amd64 FFmpeg library for image scaling and various conversions -
runtime files
ii libswscale6:amd64 7:5.0.1-3+b1
amd64 FFmpeg library for image scaling and various conversions -
runtime files
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/digikam-users/attachments/20220703/13bb565b/attachment.sig>
More information about the Digikam-users
mailing list