media-autobuild_suite
media-autobuild_suite copied to clipboard
Configure ffmpeg: ERROR: libplacebo >= 4.192.0 not found using pkg-config
All dependencies and libs are compiled correctly, but in the last step, the configuration of FFmpeg, this message appears:
media-autobuild_suite (64bit): Running configure in ffmpeg-git
ERROR: libplacebo >= 4.192.0 not found using pkg-config
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
[email protected] mailing list or IRC #ffmpeg on irc.libera.chat.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
This is required for other packages, so this script will exit.
I fiddled with a few MABS options in files in the build
subfolder to get it to build: ffmpeg_options.txt mpv_options.txt media-autobuild_suite.ini
It is possible those options may give you some or most of what you desire, take a look in them to see (eg I don't build mpv, for example).
To use those three options files,
- remove any previous MABS folder structure
- download a fresh copy of MABS and extract it into a new folder
- unzip the 3 files into the
build
subfolder in the new MABS folder structure - run MABS as normal
Good luck.
Edit: A thought. If you open a DOS box in the folder containing ffmpeg.exe and do the following, you'll likely get a reasonable indication of the capabilities of that ffmpeg build.
set "log_file=.\ffmpeg_list.log"
del "%log_file%"
echo ffmpeg.exe -version >>"%log_file%" 2>&1
ffmpeg.exe -version >>"%log_file%" 2>&1
echo ffmpeg.exe -hide_banner -codecs >>"%log_file%" 2>&1
ffmpeg.exe -hide_banner -codecs >>"%log_file%" 2>&1
echo ffmpeg.exe -hide_banner -decoders >>"%log_file%" 2>&1
ffmpeg.exe -hide_banner -decoders >>"%log_file%" 2>&1
echo ffmpeg.exe -hide_banner -encoders >>"%log_file%" 2>&1
ffmpeg.exe -hide_banner -encoders >>"%log_file%" 2>&1
echo ffmpeg.exe -hide_banner -hwaccels >>"%log_file%" 2>&1
ffmpeg.exe -hide_banner -hwaccels >>"%log_file%" 2>&1
echo ffmpeg.exe -hide_banner -init_hw_device opencl >>"%log_file%" 2>&1
ffmpeg.exe -hide_banner -init_hw_device opencl >>"%log_file%" 2>&1
echo ffmpeg.exe -hide_banner -h encoder=h264_nvenc >>"%log_file%" 2>&1
ffmpeg.exe -hide_banner -h encoder=h264_nvenc >>"%log_file%" 2>&1
echo ffmpeg.exe -hide_banner -h encoder=hevc_nvenc >>"%log_file%" 2>&1
ffmpeg.exe -hide_banner -h encoder=hevc_nvenc >>"%log_file%" 2>&1
echo ffmpeg.exe -hide_banner -filters >>"%log_file%" 2>&1
ffmpeg.exe -hide_banner -filters >>"%log_file%" 2>&1
echo ffmpeg.exe -hide_banner -bsfs >>"%log_file%" 2>&1
ffmpeg.exe -hide_banner -bsfs >>"%log_file%" 2>&1
notepad.exe "%log_file%"
I fiddled with a few MABS options in files in the
build
subfolder to get it to build: ffmpeg_options.txt mpv_options.txt media-autobuild_suite.ini
Thanks for the tips, but that doesn't solve the problem, it just avoids it.
--disable-libplacebo
Yes, sorry, I should have made that caveat explicit. It allows one to still build an ffmpeg using MABS with most other features ;)
Having the same issue with fresh mabs from two days ago. Still no solution or workaround found by myself.
Should be fixed with https://github.com/m-ab-s/media-autobuild_suite/commit/e9fc1af2098bd3740b5391c658dc01e501b81d68
Yes, it is fixed! Thank you.