自己参考用:
msys2 编译X265的命令
编译用工具安装
pacman -S git make tar automake autoconf libtool pkg-config mingw-w64-x86_64-gcc mingw-w64-x86_64-cmake nasm yasm
配置X264
./configure --extra-cflags="-march=native" --enable-strip --prefix=/mingw64 --enable-static --bit-depth=10
配置X265
cmake -G "MSYS Makefiles" ../../source -DHIGH_BIT_DEPTH=ON -DCMAKE_INSTALL_PREFIX=/usr/local/hogehoge -DSTATIC_LINK_CRT=ON -DENABLE_HDR10_PLUS=ON -DENABLE_SHARED=OFF -DENABLE_TESTS=OFF
配置libvpx
./configure --disable-examples --prefix=/mingw64 --disable-docs --enable-vp9-highbitdepth --enable-better-hw-compatibility --enable-vp8 --enable-vp9 --enable-runtime-cpu-detect --enable-small --enable-libyuv