ffmpeg编译常规大全
来源:互联网 发布:苏沉船知乎 编辑:程序博客网 时间:2024/06/05 20:39
其中有需要CMake的,可以直接sudo apt-get install cmake
wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
$./configure
$make
$sudo make install
编译AMR
wget http://downloads.sourceforge.net/project/opencore-amr/opencore-amr/opencore-amr-0.1.3.tar.gz
$./configure
$make
$sudo make install
编译libvpx(google发明的那个高清编码格式)
wget https://github.com/webmproject/libvpx/archive/v1.5.0.tar.gz
$ ./configure --disable-unit-tests
$make
$sudo make install
编译lame(mp3)
wget http://kent.dl.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz
$./configure --disable-shared --enable-static
$make
$sudo make install
编译xvidcore
wget http://downloads.xvid.org/downloads/xvidcore-1.3.3.tar.gz
$./configure
$make
$sudo make install
编译x264
wget ftp://ftp.videolan.org/pub/x264/snapshots/last_x264.tar.bz2
$./configure --enable-static
$make
$sudo make install
--enable-shared不写,就没有.so
编译OGG音频
$./configure --disable-shared --enable-static
$make
$sudo make install
编译libvorbis
$ make -j 4
$ make install
编译libtheora
=======================
wget http://downloads.xiph.org/releases/theora/libtheora-1.1.1.tar.gz
$ ./configure --enable-static --disable-shared --disable-oggtest --disable-vorbistest --disable-examples
$ make -j 4
$ make install
编译pkg-config
wget http://pkgconfig.freedesktop.org/releases/pkg-config-0.29.1.tar.gz
$ ./configure --silent --with-pc-path=/usr/local/lib/pkgconfig --with-internal-glib
$ make -j 4
$ make install
编译cmake
=======================
wget https://cmake.org/files/v3.5/cmake-3.5.0.tar.gz
$ ./configure
$ make -j 4
$ make install
编译vid_stab(option)
wget https://codeload.github.com/georgmartius/vid.stab/legacy.tar.gz/release-0.98b
... Done
$ cmake
$ make -s install
编译x265(option)
wget https://bitbucket.org/multicoreware/x265/downloads/x265_1.9.tar.gz
$cd x265_1.9/source
$ cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local -DENABLE_SHARED:bool=off
$ make -j 4
$ make install
编译fdk_aac
wget http://downloads.sourceforge.net/project/opencore-amr/fdk-aac/fdk-aac-0.1.4.tar.gz
$ ./configure --disable-shared --enable-static
$ make -j 4
$ make install
编译ffmpeg
$ ./configure --extra-version=static --disable-debug --disable-shared --enable-static --extra-cflags=--static --disable-ffplay --disable-ffserver --disable-doc --enable-version3 --enable-libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-gpl --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-nonfree --enable-filters --enable-libx265 --enable-runtime-cpudetect --enable-libfdk-aac
$ make -j 4
$ make install
备注: 其中--enable-libx265会报 "x265 not found using pkg-config" , 用不到可以暂时删除
0 0
- ffmpeg编译常规大全
- FFmpeg编译大全
- ffmpeg的编译大全
- ffmpeg的编译大全
- ffmpeg的编译大全
- ffmpeg的编译大全
- ffmpeg的编译大全
- ffmpeg的编译大全
- ffmpeg的编译大全
- [转]ffmpeg的编译大全
- ffmpeg的编译大全【转载】
- [转]ffmpeg的编译大全
- ffmpeg的编译大全(包括 ffmpeg for android)
- Oracle常规函数大全
- 【FFMPEG】VS2015编译FFMPEG
- 【FFMPEG】VS2013编译ffmpeg
- ffmpeg编译
- FFmpeg编译
- Android 实现ListView的滑动删除效果(转)
- meta http-equiv属性
- Android Studio com.android.dex.DexException: Multiple dex files define(重复引用包)
- UICollectionView添加headerview/footerView
- Unity3D中脚本的执行顺序和编译顺序
- ffmpeg编译常规大全
- Java 并发工具包 java.util.concurrent 用户指南
- C#读取XML文档实例
- Java向下转型的意义
- hdu2159 完全背包
- 3299 (入门水题 套公式)
- 深度学习在健康医疗领域的应用综述
- ConcurrentHashMap中并发级别,桶内hash表的长度,扩容门槛的确定
- String中Comparable的compareTo使用及释义