Build ffmpeg using command line like this:
vcpkg install ffmpeg - Builds debug and release versions vcpkg install ffmpeg:x64-windows-rel - Builds release only version vcpkg install vcpkg install ffmpeg[core,ffmpeg,swresample,swscale,avdevice]:x64-windows-rel - Using 'core' overrides features <Default-Features> list, after which you can list features which you want. As feature list I have added ffmpeg with resize, scale / etc features - other features can be found from CONTROL file. Please note that adding new feature reflects to for example ffmpeg compilation options, so better to figure out full feature list right away - no need to rebuild same libraries later on.
If you wish to build only windows release build, no debug - then copy x64-windows.cmake to x64-windows-rel.cmake, and add there following text:
set(VCPKG_TARGET_ARCHITECTURE x64) set(VCPKG_CRT_LINKAGE dynamic) set(VCPKG_LIBRARY_LINKAGE dynamic) set(VCPKG_BUILD_TYPE release)
Clone following git repository using command line like this:
git clone https://github.com/microsoft/vcpkg cd vcpkg
You can use also --dry-run to determine that you're making right thing:
>vcpkg install ffmpeg[core,ffmpeg,swresample,swscale,avdevice]:x64-windows-rel --dry-run Computing installation plan... The following packages are already installed: ffmpeg[avcodec,avdevice,avfilter,avformat,core,ffmpeg,swresample,swscale]:x64-windows-rel