ffmpeg compile
2016-07-09 19:03
459 查看
一
./configure --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libxvid --enable-x11grab --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-version3
--disable-optimizations --disable-asm
ERROR: libfaac not found
ERROR: libmp3lame >= 3.98.3 not found
ERROR: libopencore_amrnb not found
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.
--enable-ffplay -- 编译ffplay
二交叉编译
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
./configure --enable-gpl --enable-nonfree --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-libxvid --enable-x11grab --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-version3
--disable-optimizations --disable-asm
ERROR: libfaac not found
ERROR: libmp3lame >= 3.98.3 not found
ERROR: libopencore_amrnb not found
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solve the problem.
--enable-ffplay -- 编译ffplay
二交叉编译
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
相关文章推荐
- OkHttp源码解析(一)——整体流程(上)
- Cesium(三) 几何图形与外观
- 图片搜索网站大全
- C语言中的static
- tcp 自连接
- Microsoft HoloLens 技术解谜(上)
- ln 命令使用参数详解(ln -s 软链接)
- LeetCode题解:4. Median of Two Sorted Arrays
- JAVA笔记-String笔记(常量池)
- Python 元组 (教程 1)
- C++复习要点总结之——友元
- Lua IDE
- ubuntu 12.04编译全志 SDK——FAQ
- Python学习笔记8:Python条件和循环
- scala基本语法-1
- 史上营销的五大案例思想
- DNS and BIND
- adb连接Android 4.2.2版本手机时出现offline或unauthorized问题的解决方法
- oracle用户与表空间操作
- Nginx搭建反向代理服务器过程详解