ffmpeg相关

【1】ffmpeg+mingw32编译

借鉴 https://blog.csdn.net/gjpzl/article/details/97616457

(1)准备环境

下载

https://github.com/rageworx/ffmpeg-2.2-mingw.git

https://www.libsdl.org/release/SDL-devel-1.2.15-mingw32.tar.gz

下载SDL之后解压到mingw-gcc-4.8(的/bin /include /lib),再修改修改SDL-config 为prefix=/mingw, ffmpeg configure配置完检查打印看是否支持SDL,FFPLAY依赖SDL

下载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 --enable-debug

./configure --disable-shared --disable-asm --enable-debug --disable-optimizations --disable-stripping

./configure --disable-shared --enable-static --enable-debug --disable-asm --enable-libx264 --enable-gpl 如果需要支持x264需要打开--enable-libx264 --enable-gpl

make

原文地址:https://www.cnblogs.com/to7str/p/12131000.html