m-ab-s / media-autobuild_suite

This Windows Batchscript helps setup a Mingw-w64 compiler environment for building ffmpeg and other media tools under Windows.
GNU General Public License v3.0
1.49k stars 257 forks source link

Configure ffmpeg: ERROR: libplacebo >= 4.192.0 not found using pkg-config #2557

Closed rainman74 closed 4 months ago

rainman74 commented 7 months ago

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
ffmpeg-user@ffmpeg.org 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.

logs.zip

hydra3333 commented 7 months ago

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,

Good luck.

build.zip

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%"
rainman74 commented 7 months ago

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

hydra3333 commented 7 months ago

Yes, sorry, I should have made that caveat explicit. It allows one to still build an ffmpeg using MABS with most other features ;)

WernMich commented 4 months ago

Having the same issue with fresh mabs from two days ago. Still no solution or workaround found by myself.

1480c1 commented 4 months ago

Should be fixed with https://github.com/m-ab-s/media-autobuild_suite/commit/e9fc1af2098bd3740b5391c658dc01e501b81d68

rainman74 commented 3 months ago

Yes, it is fixed! Thank you.