ffmpeg相关

【1】ffmpeg+mingw32编译

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

(1)准备环境

下载

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

下载SDL之后解压到mingw-gcc-4.8(的/bin /include /lib)

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

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

如果需要支持x264需要打开--enable-libx264 --enable-gpl

make

猜你喜欢

转载自www.cnblogs.com/to7str/p/12131000.html