安装msys2
更新源使下载速度更快
进入msys64/etc/pacman.d/目录中,分别在三个文件中增加
mirrorlist.mingw32
Server = http://mirrors.ustc.edu.cn/msys2/mingw/i686
mirrorlist.mingw64
Server = http://mirrors.ustc.edu.cn/msys2/mingw/x86_64
mirrorlist.msys
Server = http://mirrors.ustc.edu.cn/msys2/msys/$arc
打开msys2,输入 pacman -Syuu更新
---------------------------------------------------------------------------------------
pacman -S --needed base-devel mingw-w64-x86_64-toolchain
打开msys2下的mingw64.exe
cd /h/software/GUI/ffmpeg
./configure --prefix=H:\software\GUI\ffmpeg\ffmpeg_build
make && make install