Ubuntu + MinGW编译ffmpeg
2014-07-23 14:47
417 查看
1. sudo apt-get install pax cvs flex bison texinfo
2. wget http://zeranoe.com/scripts/mingw_w64_build/mingw-w64-build-3.6.0
3. ./mingw-w64-build-3.6.0
4. generate set_compiler.sh, content is
#!/bin/sh
PREFIX=i686-w64-mingw32
export CC=$PREFIX-gcc
export CXX=$PREFIX-g++
export CPP=$PREFIX-cpp
export RANLIB=$PREFIX-ranlib
export PATH="/home/alex/ffmpeg_windows/mingw-w64-i686/bin:$PATH"
exec "$@"
5. wget http://www.ffmpeg.org/releases/ffmpeg-2.2.3.tar.bz2
6. tar zxvf ffmpeg-2.2.3.tar.bz2 && cd ffmpeg-2.2.3
7. ./configure --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pkg-config --enable-static --enable-shared --enable-gpl --enable-nonfree
2. wget http://zeranoe.com/scripts/mingw_w64_build/mingw-w64-build-3.6.0
3. ./mingw-w64-build-3.6.0
4. generate set_compiler.sh, content is
#!/bin/sh
PREFIX=i686-w64-mingw32
export CC=$PREFIX-gcc
export CXX=$PREFIX-g++
export CPP=$PREFIX-cpp
export RANLIB=$PREFIX-ranlib
export PATH="/home/alex/ffmpeg_windows/mingw-w64-i686/bin:$PATH"
exec "$@"
5. wget http://www.ffmpeg.org/releases/ffmpeg-2.2.3.tar.bz2
6. tar zxvf ffmpeg-2.2.3.tar.bz2 && cd ffmpeg-2.2.3
7. ./configure --enable-memalign-hack --arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- --pkg-config=pkg-config --enable-static --enable-shared --enable-gpl --enable-nonfree
相关文章推荐
- 用MinGW编译ffmpeg
- 使用mingw编译ffmpeg 0.5
- 【zz】Ubuntu10.04编译FFmpeg
- 在Ubuntu中用Android NDK编译FFmpeg
- ubuntu10.10 下(交叉编译)编译安装 libvpx和ffmpeg——webm的编译安装
- vm+ubuntu+ffmpeg编译
- 在MinGW下编译ffmpeg
- mingw安装及编译ffmpeg
- mingw + msys 上编译 ffmpeg
- 在Ubuntu中用Android NDK编译FFmpeg
- Ubuntu 下编译ffmpeg和x264解编码器(翻译的一篇文章:)
- ubuntu 10.04 编译ffmpeg
- Windows系统使用minGW+msys 编译ffmpeg 0.5的全过程详述
- 在 Ubuntu 下使用 Android NDK r4b 编译 FFmpeg 0.6.3
- FFmpeg在windows下的编译,搭建mingw+msys环境,含mingw+msys下载
- (MSys+MinGW )FFmpeg工程编译 FFplay
- Windows 系统下使用 MinGW + MSYS + GCC 编译 FFMPEG
- Mingw下gcc4.5.0编译新版ffmpeg的问题
- 使用MinGW编译FFmpeg
- MinGW下简单编译FFmpeg