microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.24k stars 6.41k forks source link

[ffmpeg] build failed with x264 and x265 #39087

Open 291598912 opened 5 months ago

291598912 commented 5 months ago

Operating system

windows11 64

Compiler

msvc

Steps to reproduce the behavior

>.\vcpkg install ffmpeg[x264]:x86-windows-static
>.\vcpkg install ffmpeg[x265]:x86-windows-static

Failure logs

image [build-x86-windows-static-md-rel-config.log](https://github.com/user-attachments/files/15524655/build-x86-windows-static-md-rel-config.log) build-x86-windows-static-md-rel-err.log build-x86-windows-static-md-rel-out.log

Additional context

No response

Cheney-W commented 5 months ago

I can't reproduce this issue in my side with the latest vcpkg and VS2022 17.9.7. I could install ffmpeg[x264]:x86-windows-static and ffmpeg[x265]:x86-windows-static successfully. Based on the name of the log you provided, is the triplet you installed x86-windows-static-md?

github-actions[bot] commented 4 months ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

greenozon commented 3 months ago

@291598912 as a general recommendation -please to install English language support into your copy of VS as of today the issue can't be reproduced

x264 Details

c:\Dev\vcpkg>vcpkg install ffmpeg[x264]:x86-windows-static Computing installation plan... The following packages will be built and installed: ffmpeg[avcodec,avdevice,avfilter,avformat,core,gpl,swresample,swscale,x264]:x86-windows-static@7.0 * x264[asm,core,gpl]:x86-windows-static@0.164.3108 Additional packages (*) will be modified to complete this operation. Detecting compiler hash for triplet x86-windows-static... Compiler found: C:/Dev/VS2019/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x86/cl.exe Restored 0 package(s) from C:\Users\TATO\AppData\Local\vcpkg\archives in 186 us. Use --debug to see more details. Installing 1/2 x264[asm,core,gpl]:x86-windows-static@0.164.3108... Building x264[asm,core,gpl]:x86-windows-static@0.164.3108... C:\Dev\vcpkg\triplets\community\x86-windows-static.cmake: info: loaded community triplet from here. Community triplets are not built in the curated registry and are thus less likely to succeed. -- Downloading https://code.videolan.org//videolan/x264/-/archive/31e19f92f00c7003fa115047ce50978bc98c3a0d/x264-31e19f92f00c7003fa115047ce50978bc98c3a0d.tar.gz -> videolan-x264-31e19f92f00c7003fa11504 7ce50978bc98c3a0d.tar.gz... -- Extracting source C:/Dev/vcpkg/downloads/videolan-x264-31e19f92f00c7003fa115047ce50978bc98c3a0d.tar.gz -- Applying patch C:/Dev/vcpkg/buildtrees/x264/src/version-0.164.3108.diff -- Applying patch uwp-cflags.patch -- Applying patch parallel-install.patch -- Applying patch allow-clang-cl.patch -- Applying patch configure.patch -- Using source at C:/Dev/vcpkg/buildtrees/x264/src/8bc98c3a0d-e0375f55ce.clean -- Getting CMake variables for x86-windows-static -- Getting CMake variables for x86-windows-static -- Using cached msys2-autoconf-wrapper-20221207-1-any.pkg.tar.zst. -- Using cached msys2-automake-wrapper-20221207-2-any.pkg.tar.zst. -- Using cached msys2-binutils-2.42-1-x86_64.pkg.tar.zst. -- Using cached msys2-libtool-2.4.7-3-x86_64.pkg.tar.zst. -- Using cached msys2-make-4.4.1-2-x86_64.pkg.tar.zst. -- Using cached msys2-pkgconf-2.1.1-1-x86_64.pkg.tar.zst. -- Using cached msys2-which-2.21-4-x86_64.pkg.tar.zst. -- Using cached msys2-bash-5.2.026-1-x86_64.pkg.tar.zst. -- Using cached msys2-coreutils-8.32-5-x86_64.pkg.tar.zst. -- Using cached msys2-file-5.45-1-x86_64.pkg.tar.zst. -- Using cached msys2-gawk-5.3.0-1-x86_64.pkg.tar.zst. -- Using cached msys2-grep-1~3.0-6-x86_64.pkg.tar.zst. -- Using cached msys2-gzip-1.13-1-x86_64.pkg.tar.zst. -- Using cached msys2-diffutils-3.10-1-x86_64.pkg.tar.zst. -- Using cached msys2-sed-4.9-1-x86_64.pkg.tar.zst. -- Using cached msys2-msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst. -- Using cached msys2-autoconf2.71-2.71-3-any.pkg.tar.zst. -- Using cached msys2-automake1.16-1.16.5-1-any.pkg.tar.zst. -- Using cached msys2-libiconv-1.17-1-x86_64.pkg.tar.zst. -- Using cached msys2-libintl-0.22.4-1-x86_64.pkg.tar.zst. -- Using cached msys2-zlib-1.3.1-1-x86_64.pkg.tar.zst. -- Using cached msys2-tar-1.35-2-x86_64.pkg.tar.zst. -- Using cached msys2-findutils-4.10.0-2-x86_64.pkg.tar.zst. -- Using cached msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst. -- Using cached msys2-gcc-libs-13.3.0-1-x86_64.pkg.tar.zst. -- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst. -- Using cached msys2-liblzma-5.6.2-1-x86_64.pkg.tar.zst. -- Using cached msys2-libzstd-1.5.6-1-x86_64.pkg.tar.zst. -- Using cached msys2-libreadline-8.2.010-1-x86_64.pkg.tar.zst. -- Using cached msys2-mpfr-4.2.1-1-x86_64.pkg.tar.zst. -- Using cached msys2-libpcre-8.45-4-x86_64.pkg.tar.zst. -- Using cached msys2-m4-1.4.19-2-x86_64.pkg.tar.zst. -- Using cached msys2-perl-5.38.2-2-x86_64.pkg.tar.zst. -- Using cached msys2-ncurses-6.5-1-x86_64.pkg.tar.zst. -- Using cached msys2-libxcrypt-4.4.36-1-x86_64.pkg.tar.zst. -- Using msys root at C:/Dev/vcpkg/downloads/tools/msys2/212eb2bc95cd8a82 -- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.2.0-1-any.pkg.tar.zst. -- Using cached msys2-msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst. -- Using msys root at C:/Dev/vcpkg/downloads/tools/msys2/1e74ca60daa10104 -- Configuring x86-windows-static-dbg -- Configuring x86-windows-static-rel -- Building x86-windows-static-dbg -- Installing x86-windows-static-dbg -- Building x86-windows-static-rel -- Installing x86-windows-static-rel -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/x264_x86-windows-static/lib/pkgconfig/x264.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/x264_x86-windows-static/debug/lib/pkgconfig/x264.pc -- Installing: C:/Dev/vcpkg/packages/x264_x86-windows-static/share/x264/copyright -- Performing post-build validation Stored binaries in 1 destinations in 1.9 s. Elapsed time to handle x264:x86-windows-static: 3.2 min x264:x86-windows-static package ABI: b004023aeed425a63bc63b00b0a0c1aaf9fac4ae038bddb92f30ebdbd5f17b0d Installing 2/2 ffmpeg[avcodec,avdevice,avfilter,avformat,core,gpl,swresample,swscale,x264]:x86-windows-static@7.0... Building ffmpeg[avcodec,avdevice,avfilter,avformat,core,gpl,swresample,swscale,x264]:x86-windows-static@7.0... C:\Dev\vcpkg\triplets\community\x86-windows-static.cmake: info: loaded community triplet from here. Community triplets are not built in the curated registry and are thus less likely to succeed. -- Using cached ffmpeg-ffmpeg-n7.0.tar.gz. -- Cleaning sources at C:/Dev/vcpkg/buildtrees/ffmpeg/src/n7.0-0112236629.clean. Use --editable to skip cleaning for the packages you specify. -- Extracting source C:/Dev/vcpkg/downloads/ffmpeg-ffmpeg-n7.0.tar.gz -- Applying patch 0001-create-lib-libraries.patch -- Applying patch 0002-fix-msvc-link.patch -- Applying patch 0003-fix-windowsinclude.patch -- Applying patch 0004-dependencies.patch -- Applying patch 0005-fix-nasm.patch -- Applying patch 0007-fix-lib-naming.patch -- Applying patch 0012-Fix-ssl-110-detection.patch -- Applying patch 0013-define-WINVER.patch -- Applying patch 0020-fix-aarch64-libswscale.patch -- Applying patch 0024-fix-osx-host-c11.patch -- Applying patch 0040-ffmpeg-add-av_stream_get_first_dts-for-chromium.patch -- Applying patch 0041-add-const-for-opengl-definition.patch -- Applying patch 0042-fix-arm64-linux.patch -- Using source at C:/Dev/vcpkg/buildtrees/ffmpeg/src/n7.0-0112236629.clean -- Using cached msys2-automake1.16-1.16.5-1-any.pkg.tar.zst. -- Using cached msys2-bash-5.2.026-1-x86_64.pkg.tar.zst. -- Using cached msys2-coreutils-8.32-5-x86_64.pkg.tar.zst. -- Using cached msys2-file-5.45-1-x86_64.pkg.tar.zst. -- Using cached msys2-gawk-5.3.0-1-x86_64.pkg.tar.zst. -- Using cached msys2-grep-1~3.0-6-x86_64.pkg.tar.zst. -- Using cached msys2-gzip-1.13-1-x86_64.pkg.tar.zst. -- Using cached msys2-diffutils-3.10-1-x86_64.pkg.tar.zst. -- Using cached msys2-make-4.4.1-2-x86_64.pkg.tar.zst. -- Using cached msys2-pkgconf-2.1.1-1-x86_64.pkg.tar.zst. -- Using cached msys2-sed-4.9-1-x86_64.pkg.tar.zst. -- Using cached msys2-msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst. -- Using cached msys2-perl-5.38.2-2-x86_64.pkg.tar.zst. -- Using cached msys2-libiconv-1.17-1-x86_64.pkg.tar.zst. -- Using cached msys2-libintl-0.22.4-1-x86_64.pkg.tar.zst. -- Using cached msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst. -- Using cached msys2-gcc-libs-13.3.0-1-x86_64.pkg.tar.zst. -- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst. -- Using cached msys2-liblzma-5.6.2-1-x86_64.pkg.tar.zst. -- Using cached msys2-libzstd-1.5.6-1-x86_64.pkg.tar.zst. -- Using cached msys2-zlib-1.3.1-1-x86_64.pkg.tar.zst. -- Using cached msys2-libreadline-8.2.010-1-x86_64.pkg.tar.zst. -- Using cached msys2-mpfr-4.2.1-1-x86_64.pkg.tar.zst. -- Using cached msys2-libpcre-8.45-4-x86_64.pkg.tar.zst. -- Using cached msys2-libxcrypt-4.4.36-1-x86_64.pkg.tar.zst. -- Using cached msys2-ncurses-6.5-1-x86_64.pkg.tar.zst. -- Using msys root at C:/Dev/vcpkg/downloads/tools/msys2/0f89fce739d5829e -- Getting CMake variables for x86-windows-static -- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.2.0-1-any.pkg.tar.zst. -- Using cached msys2-msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst. -- Using msys root at C:/Dev/vcpkg/downloads/tools/msys2/1e74ca60daa10104 -- Building Options: --toolchain=msvc --enable-pic --disable-doc --enable-debug --enable-runtime-cpudetect --disable-autodetect --pkg-config=C:/Dev/vcpkg/installed/x64-windows/tools/pkgconf/pkgconf.ex e --target-os=win32 --enable-w32threads --enable-d3d11va --enable-d3d12va --enable-dxva2 --enable-mediafoundation --disable-inline-asm --cc=cl.exe --host_cc=cl.exe --cxx=cl.exe --windres=rc.exe --ld=l ink.exe --ar='ar-lib lib.exe' --ranlib=: --enable-gpl --disable-ffmpeg --disable-ffplay --disable-ffprobe --enable-avcodec --enable-avdevice --enable-avformat --enable-avfilter --disable-postproc --en able-swresample --enable-swscale --disable-alsa --disable-amf --disable-libaom --disable-libass --disable-avisynth --disable-bzlib --disable-libdav1d --disable-libfdk-aac --disable-libfontconfig --dis able-libfreetype --disable-libfribidi --disable-iconv --disable-libilbc --disable-lzma --disable-libmp3lame --disable-libmodplug --disable-cuda --disable-nvenc --disable-nvdec --disable-cuvid --disab le-ffnvcodec --disable-opencl --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --disable-openssl --enable-schannel --disable-libopus --disable-sdl2 --disable-libsnappy --disable-libsoxr --disable-libspeex --disable-libssh --disable-libtensorflow --disable-libtesseract --disable-libtheora --disable-libvorbis --disable-libvpx --disable-libwebp --enable-libx264 --disa ble-libx265 --disable-libxml2 --disable-zlib --disable-libsrt --disable-libmfx --enable-cross-compile --extra-cflags=-DHAVE_UNISTD_H=0 --pkg-config=C:/Dev/vcpkg/downloads/tools/msys2/1e74ca60daa10104/ mingw64/bin/pkg-config.exe --pkg-config-flags=--static -- Building Release Options: --enable-optimizations --extra-ldflags=-libpath:"C:/Dev/vcpkg/installed/x86-windows-static/lib" -- Building ffmpeg for Release -- Building Debug Options: --disable-optimizations --extra-ldflags=-libpath:"C:/Dev/vcpkg/installed/x86-windows-static/debug/lib" -- Building ffmpeg for Debug -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/lib/pkgconfig/libavcodec.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/lib/pkgconfig/libavdevice.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/lib/pkgconfig/libavfilter.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/lib/pkgconfig/libavformat.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/lib/pkgconfig/libavutil.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/lib/pkgconfig/libswresample.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/lib/pkgconfig/libswscale.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/debug/lib/pkgconfig/libavcodec.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/debug/lib/pkgconfig/libavdevice.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/debug/lib/pkgconfig/libavfilter.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/debug/lib/pkgconfig/libavformat.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/debug/lib/pkgconfig/libavutil.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/debug/lib/pkgconfig/libswresample.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/debug/lib/pkgconfig/libswscale.pc -- Dependencies (release): psapi;uuid;oleaut32;shlwapi;gdi32;vfw32;secur32;ws2_32;libx264;mfuuid;strmiids;ole32;user32;bcrypt -- Dependencies (debug): psapi;uuid;oleaut32;shlwapi;gdi32;vfw32;secur32;ws2_32;libx264;mfuuid;strmiids;ole32;user32;bcrypt -- Installing: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/share/ffmpeg/usage -- Installing: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/share/ffmpeg/copyright -- Performing post-build validation Stored binaries in 1 destinations in 22 s. Elapsed time to handle ffmpeg:x86-windows-static: 22 min ffmpeg:x86-windows-static package ABI: 385be16e8d43f6ecf3ab38ca53230f546001131ce8b1ca47dded4b72978da4f6 Total install time: 25 min To use ffmpeg add the following to your CMake project: find_package(FFMPEG REQUIRED) target_include_directories(main PRIVATE ${FFMPEG_INCLUDE_DIRS}) target_link_directories(main PRIVATE ${FFMPEG_LIBRARY_DIRS}) target_link_libraries(main PRIVATE ${FFMPEG_LIBRARIES}) c:\Dev\vcpkg>vcpkg install ffmpeg[x264]:x86-windows-static Computing installation plan... The following packages are already installed: ffmpeg[core,x264,swscale,swresample,gpl,avformat,avfilter,avdevice,avcodec]:x86-windows-static@7.0 ffmpeg:x86-windows-static is already installed Total install time: 1.96 ms To use ffmpeg add the following to your CMake project: find_package(FFMPEG REQUIRED) target_include_directories(main PRIVATE ${FFMPEG_INCLUDE_DIRS}) target_link_directories(main PRIVATE ${FFMPEG_LIBRARY_DIRS}) target_link_libraries(main PRIVATE ${FFMPEG_LIBRARIES})

as well as x265

x265 Details

c:\Dev\vcpkg>vcpkg install ffmpeg[x265]:x86-windows-static --recurse Computing installation plan... The following packages will be rebuilt: ffmpeg[avcodec,avdevice,avfilter,avformat,core,gpl,swresample,swscale,x264,x265]:x86-windows-static@7.0 The following packages will be built and installed: * x265:x86-windows-static@3.6 Additional packages (*) will be modified to complete this operation. Detecting compiler hash for triplet x86-windows-static... Compiler found: C:/Dev/VS2019/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x86/cl.exe Restored 0 package(s) from C:\Users\TATO\AppData\Local\vcpkg\archives in 191 us. Use --debug to see more details. Removing 1/3 ffmpeg:x86-windows-static Elapsed time to handle ffmpeg:x86-windows-static: 73.5 ms Installing 2/3 x265:x86-windows-static@3.6... Building x265:x86-windows-static@3.6... C:\Dev\vcpkg\triplets\community\x86-windows-static.cmake: info: loaded community triplet from here. Community triplets are not built in the curated registry and are thus less likely to succeed. -- Downloading https://bitbucket.com/multicoreware/x265_git/get/3.6.tar.gz -> multicoreware-x265_git-3.6.tar.gz... -- Extracting source C:/Dev/vcpkg/downloads/multicoreware-x265_git-3.6.tar.gz -- Applying patch disable-install-pdb.patch -- Applying patch version.patch -- Applying patch linkage.diff -- Applying patch pkgconfig.diff -- Applying patch pthread.diff -- Applying patch compiler-target.diff -- Applying patch neon.diff -- Using source at C:/Dev/vcpkg/buildtrees/x265/src/3.6-bbb722deb0.clean -- Configuring x86-windows-static -- Building x86-windows-static-dbg -- Building x86-windows-static-rel -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/x265_x86-windows-static/lib/pkgconfig/x265.pc -- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.2.0-1-any.pkg.tar.zst. -- Using cached msys2-msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst. -- Using msys root at C:/Dev/vcpkg/downloads/tools/msys2/1e74ca60daa10104 -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/x265_x86-windows-static/debug/lib/pkgconfig/x265.pc -- Installing: C:/Dev/vcpkg/packages/x265_x86-windows-static/share/x265/copyright -- Performing post-build validation Stored binaries in 1 destinations in 2.1 s. Elapsed time to handle x265:x86-windows-static: 2.3 min x265:x86-windows-static package ABI: 70674f8a761fde87b028beb4781201d6ab7ed21b2d3d3d1b1166b32691491125 Installing 3/3 ffmpeg[avcodec,avdevice,avfilter,avformat,core,gpl,swresample,swscale,x264,x265]:x86-windows-static@7.0... Building ffmpeg[avcodec,avdevice,avfilter,avformat,core,gpl,swresample,swscale,x264,x265]:x86-windows-static@7.0... C:\Dev\vcpkg\triplets\community\x86-windows-static.cmake: info: loaded community triplet from here. Community triplets are not built in the curated registry and are thus less likely to succeed. -- Using cached ffmpeg-ffmpeg-n7.0.tar.gz. -- Cleaning sources at C:/Dev/vcpkg/buildtrees/ffmpeg/src/n7.0-0112236629.clean. Use --editable to skip cleaning for the packages you specify. -- Extracting source C:/Dev/vcpkg/downloads/ffmpeg-ffmpeg-n7.0.tar.gz -- Applying patch 0001-create-lib-libraries.patch -- Applying patch 0002-fix-msvc-link.patch -- Applying patch 0003-fix-windowsinclude.patch -- Applying patch 0004-dependencies.patch -- Applying patch 0005-fix-nasm.patch -- Applying patch 0007-fix-lib-naming.patch -- Applying patch 0012-Fix-ssl-110-detection.patch -- Applying patch 0013-define-WINVER.patch -- Applying patch 0020-fix-aarch64-libswscale.patch -- Applying patch 0024-fix-osx-host-c11.patch -- Applying patch 0040-ffmpeg-add-av_stream_get_first_dts-for-chromium.patch -- Applying patch 0041-add-const-for-opengl-definition.patch -- Applying patch 0042-fix-arm64-linux.patch -- Using source at C:/Dev/vcpkg/buildtrees/ffmpeg/src/n7.0-0112236629.clean -- Using cached msys2-automake1.16-1.16.5-1-any.pkg.tar.zst. -- Using cached msys2-bash-5.2.026-1-x86_64.pkg.tar.zst. -- Using cached msys2-coreutils-8.32-5-x86_64.pkg.tar.zst. -- Using cached msys2-file-5.45-1-x86_64.pkg.tar.zst. -- Using cached msys2-gawk-5.3.0-1-x86_64.pkg.tar.zst. -- Using cached msys2-grep-1~3.0-6-x86_64.pkg.tar.zst. -- Using cached msys2-gzip-1.13-1-x86_64.pkg.tar.zst. -- Using cached msys2-diffutils-3.10-1-x86_64.pkg.tar.zst. -- Using cached msys2-make-4.4.1-2-x86_64.pkg.tar.zst. -- Using cached msys2-pkgconf-2.1.1-1-x86_64.pkg.tar.zst. -- Using cached msys2-sed-4.9-1-x86_64.pkg.tar.zst. -- Using cached msys2-msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst. -- Using cached msys2-perl-5.38.2-2-x86_64.pkg.tar.zst. -- Using cached msys2-libiconv-1.17-1-x86_64.pkg.tar.zst. -- Using cached msys2-libintl-0.22.4-1-x86_64.pkg.tar.zst. -- Using cached msys2-gmp-6.3.0-1-x86_64.pkg.tar.zst. -- Using cached msys2-gcc-libs-13.3.0-1-x86_64.pkg.tar.zst. -- Using cached msys2-libbz2-1.0.8-4-x86_64.pkg.tar.zst. -- Using cached msys2-liblzma-5.6.2-1-x86_64.pkg.tar.zst. -- Using cached msys2-libzstd-1.5.6-1-x86_64.pkg.tar.zst. -- Using cached msys2-zlib-1.3.1-1-x86_64.pkg.tar.zst. -- Using cached msys2-libreadline-8.2.010-1-x86_64.pkg.tar.zst. -- Using cached msys2-mpfr-4.2.1-1-x86_64.pkg.tar.zst. -- Using cached msys2-libpcre-8.45-4-x86_64.pkg.tar.zst. -- Using cached msys2-libxcrypt-4.4.36-1-x86_64.pkg.tar.zst. -- Using cached msys2-ncurses-6.5-1-x86_64.pkg.tar.zst. -- Using msys root at C:/Dev/vcpkg/downloads/tools/msys2/0f89fce739d5829e -- Getting CMake variables for x86-windows-static -- Using cached msys2-mingw-w64-x86_64-pkgconf-1~2.2.0-1-any.pkg.tar.zst. -- Using cached msys2-msys2-runtime-3.5.3-3-x86_64.pkg.tar.zst. -- Using msys root at C:/Dev/vcpkg/downloads/tools/msys2/1e74ca60daa10104 -- Building Options: --toolchain=msvc --enable-pic --disable-doc --enable-debug --enable-runtime-cpudetect --disable-autodetect --pkg-config=C:/Dev/vcpkg/installed/x64-windows/tools/pkgconf/pkgconf.e e --target-os=win32 --enable-w32threads --enable-d3d11va --enable-d3d12va --enable-dxva2 --enable-mediafoundation --disable-inline-asm --cc=cl.exe --host_cc=cl.exe --cxx=cl.exe --windres=rc.exe --ld= ink.exe --ar='ar-lib lib.exe' --ranlib=: --enable-gpl --disable-ffmpeg --disable-ffplay --disable-ffprobe --enable-avcodec --enable-avdevice --enable-avformat --enable-avfilter --disable-postproc --e able-swresample --enable-swscale --disable-alsa --disable-amf --disable-libaom --disable-libass --disable-avisynth --disable-bzlib --disable-libdav1d --disable-libfdk-aac --disable-libfontconfig --di able-libfreetype --disable-libfribidi --disable-iconv --disable-libilbc --disable-lzma --disable-libmp3lame --disable-libmodplug --disable-cuda --disable-nvenc --disable-nvdec --disable-cuvid --disa le-ffnvcodec --disable-opencl --disable-opengl --disable-libopenh264 --disable-libopenjpeg --disable-libopenmpt --disable-openssl --enable-schannel --disable-libopus --disable-sdl2 --disable-libsnapp --disable-libsoxr --disable-libspeex --disable-libssh --disable-libtensorflow --disable-libtesseract --disable-libtheora --disable-libvorbis --disable-libvpx --disable-libwebp --enable-libx264 --ena le-libx265 --disable-libxml2 --disable-zlib --disable-libsrt --disable-libmfx --enable-cross-compile --extra-cflags=-DHAVE_UNISTD_H=0 --pkg-config=C:/Dev/vcpkg/downloads/tools/msys2/1e74ca60daa10104/ ingw64/bin/pkg-config.exe --pkg-config-flags=--static -- Building Release Options: --enable-optimizations --extra-ldflags=-libpath:"C:/Dev/vcpkg/installed/x86-windows-static/lib" -- Building ffmpeg for Release -- Building Debug Options: --disable-optimizations --extra-ldflags=-libpath:"C:/Dev/vcpkg/installed/x86-windows-static/debug/lib" -- Building ffmpeg for Debug -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/lib/pkgconfig/libavcodec.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/lib/pkgconfig/libavdevice.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/lib/pkgconfig/libavfilter.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/lib/pkgconfig/libavformat.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/lib/pkgconfig/libavutil.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/lib/pkgconfig/libswresample.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/lib/pkgconfig/libswscale.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/debug/lib/pkgconfig/libavcodec.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/debug/lib/pkgconfig/libavdevice.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/debug/lib/pkgconfig/libavfilter.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/debug/lib/pkgconfig/libavformat.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/debug/lib/pkgconfig/libavutil.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/debug/lib/pkgconfig/libswresample.pc -- Fixing pkgconfig file: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/debug/lib/pkgconfig/libswscale.pc -- Dependencies (release): psapi;uuid;oleaut32;shlwapi;gdi32;vfw32;secur32;ws2_32;libx264;x265-static;mfuuid;strmiids;ole32;user32;bcrypt -- Dependencies (debug): psapi;uuid;oleaut32;shlwapi;gdi32;vfw32;secur32;ws2_32;libx264;x265-static;mfuuid;strmiids;ole32;user32;bcrypt -- Installing: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/share/ffmpeg/usage -- Installing: C:/Dev/vcpkg/packages/ffmpeg_x86-windows-static/share/ffmpeg/copyright -- Performing post-build validation Stored binaries in 1 destinations in 22 s. Elapsed time to handle ffmpeg:x86-windows-static: 23 min ffmpeg:x86-windows-static package ABI: b662b8bd0fff8a4e0a65a24f5786a4b94650a03455d6c90b8fdb6a2d4d6e4233 Total install time: 26 min To use ffmpeg add the following to your CMake project: find_package(FFMPEG REQUIRED) target_include_directories(main PRIVATE ${FFMPEG_INCLUDE_DIRS}) target_link_directories(main PRIVATE ${FFMPEG_LIBRARY_DIRS}) target_link_libraries(main PRIVATE ${FFMPEG_LIBRARIES}) c:\Dev\vcpkg>git pull Already up to date.