ffmpeg

1
apt-get install gcc-mingw-w64

2. sudo apt-get install mingw-w64-tools

3.

 ./configure --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pkg-config --disable-doc
make

./configure --arch=x86 --enable-cross-compile --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-nonfree --disable-static --enable-shared --disable-doc --prefix=/home/tianyu/Projects/ffmpeg_build/opensource/result/ffmpeg --extra-cflags="-I/home/tianyu/Projects/ffmpeg_build/opensource/result/include --extra-ldflags="-L/home/tianyu/Projects/ffmpeg_build/opensource/result/lib

Projects/ffmpeg_build/opensource/result

 ./configure --arch=x86 --enable-cross-compile --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pkg-config --enable-gpl --enable-nonfree --disable-doc --enable-static --prefix=/home/tianyu/Projects/ffmpeg_build/opensource/result/ffmpeg --extra-cflags=-I/home/tianyu/Projects/ffmpeg_build/opensource/result/include --extra-ldflags=-L/home/tianyu/Projects/ffmpeg_build/opensource/result/lib


 ./configure --disable-static --enable-shared --enable-version3 --enable-gpl --enable-nonfree --disable-pthreads --enable-w32threads --enable-runtime-cpudetect --enable-memalign-hack --enable-libfdk-aac --enable-libx264 --enable-zlib --enable-cross-compile --target-os=mingw32 --arch=x86 --prefix=/home/tianyu/Projects/ffmpeg_build/opensdk/ffmpeg --cross-prefix=i686-w64-mingw32- --extra-cflags=-I/home/tianyu/Projects/ffmpeg_build/opensdk/include --extra-ldflags=-L/home/tianyu/Projects/ffmpeg_build/opensdk/lib


4.
./configure --enable-shared --enable-pic --disable-opencl --arch=x86 --enable-cross-compile --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pkg-config
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值