[1] compiled ffmpeg + mingw32
Learn https://blog.csdn.net/gjpzl/article/details/97616457
(1) Preparing the environment
download
https://github.com/rageworx/ffmpeg-2.2-mingw.git
After unzipping the SDL to download mingw-gcc-4.8 (a / bin / include / lib)
https://www.libsdl.org/release/SDL-devel-1.2.15-mingw32.tar.gz
Download x264
https://www.videolan.org/developers/x264.html
./configure --enable-static --enable-shared --disable-asm --disable-avs --prefix=/mingw/
make && make install
(2)
./configure --disable-shared --disable-asm
./configure --disable-shared --enable-static --disable-asm --enable-libx264 --enable-gpl --enable-debug
If you need support x264 need to open --enable-libx264 --enable-gpl
make