Closed Commandcracker closed 2 months ago
Can anyone confirm, that the issue is FFmpeg 7.0.1 ?
> [youcube sanjuuni 3/3] RUN set -eux; ./configure; make: 0.256 + ./configure 0.274 checking for gcc... gcc 0.283 checking whether the C compiler works... yes 0.299 checking for C compiler default output file name... a.out 0.299 checking for suffix of executables... 0.314 checking whether we are cross compiling... no 0.328 checking for suffix of object files... o 0.338 checking whether the compiler supports GNU C... yes 0.348 checking whether gcc accepts -g... yes 0.359 checking for gcc option to enable C11 features... none needed 0.392 checking for g++... g++ 0.401 checking whether the compiler supports GNU C++... yes 0.411 checking whether g++ accepts -g... yes 0.421 checking for g++ option to enable C++11 features... none needed 0.456 checking whether C++ compiler accepts -std=c++17... yes 0.466 checking for stdio.h... yes 0.474 checking for stdlib.h... yes 0.483 checking for string.h... yes 0.492 checking for inttypes.h... yes 0.502 checking for stdint.h... yes 0.513 checking for strings.h... yes 0.525 checking for sys/stat.h... yes 0.536 checking for sys/types.h... yes 0.546 checking for unistd.h... yes 0.559 checking for libavformat/avformat.h... yes 0.633 checking for libavcodec/avcodec.h... yes 0.705 checking for libavdevice/avdevice.h... yes 0.776 checking for libavfilter/avfilter.h... yes 0.845 checking for libswscale/swscale.h... yes 0.913 checking for libswresample/swresample.h... yes 0.985 checking for zlib.h... yes 0.998 checking for Poco/Base64Encoder.h... yes 1.127 checking for Poco/Util/OptionProcessor.h... yes 1.239 checking for Poco/Net/HTTPServer.h... yes 1.497 checking for Poco/Net/HTTPSClientSession.h... yes 1.828 checking for Poco/Crypto/X509Certificate.h... yes 2.119 checking for CL/opencl.hpp... no 2.129 checking for library containing pthread_create... none required 2.147 checking for library containing avcodec_find_decoder... -lavcodec 2.204 checking for library containing avdevice_register_all... -lavdevice 2.271 checking for library containing avfilter_version... -lavfilter 2.337 checking for library containing avformat_open_input... -lavformat 2.398 checking for library containing av_frame_alloc... -lavutil 2.446 checking for library containing sws_getContext... -lswscale 2.494 checking for library containing swr_alloc_set_opts... no 2.530 configure: error: Could not find libswresample library.
You can mitigate this in the release tarball with:
# Fix for FFmpeg 7.0 sed 's/swr_alloc_set_opts/swr_alloc_set_opts2/' configure > configure.new mv configure.new configure
Can anyone confirm, that the issue is FFmpeg 7.0.1 ?