编译安装FFmpeg 要支持xvid、x264、mp3、ogg、amr、faac
libfaac faac格式的编解码包
libmp3lame mp3格式编解码包
libopencore-amrwb libopencore-amrnb amr格式编解码包
libx264 x264格式编解码包
libvorbis ogg格式编解码包
libxvid xvid格式编解码包
开始安装(有些包下载可能需要FQ)
faac
wget http://softlayer-dal.dl.sourceforge.net/project/faac/faac-src/faac-1.28/faac-1.28.tar.gz
tar zxf faac-1.28.tar.gz
cd faac-1.28
./configure prefix=/usr/local/
make && make install
lame
wget http://colocrossing.dl.sourceforge.net/project/lame/lame/3.98.4/lame-3.98.4.tar.gz
tar zxf lame-3.98.4.tar.gz
cd lame-3.98.4
./configure prefix=/usr/local/
make && make install
opencore-amr
wget http://iweb.dl.sourceforge.net/project/opencore-amr/opencore-amr/opencore-amr-0.1.3.tar.gz
tar zxf opencore-amr-0.1.3.tar.gz
cd opencore-amr
./configure prefix=/usr/local/
make && make install
yasm(x264 configure need)
wget http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
tar zxf yasm-1.3.0.tar.gz
cd yasm-1.3.0
./configure prefix=/usr/local/
make && make install
x264
wget ftp://ftp.videolan.org/pub/x264/snapshots/last_x264.tar.bz2
tar jxf last_x264.tar.bz2
cd x264-snapshot-20141124-2245
./configure prefix=/usr/local/
make && make install
ogg
wget http://downloads.xiph.org/releases/ogg/libogg-1.3.2.tar.xz
xz -d libogg-1.3.2.tar.xz
tar xf libogg-1.3.2.tar
cd libogg-1.3.2
./configure prefix=/usr/local/
make && make install
xvid
wget http://downloads.xvid.org/downloads/xvidcore-1.3.3.tar.gz
tar zxf xvidcore-1.3.3.tar.gz
cd xvidcore/build/generic/
./configure prefix=/usr/local/
make && make install
ffmpeg
wget http://ffmpeg.org/releases/ffmpeg-2.4.3.tar.bz2
tar jxf ffmpeg-2.4.3.tar.bz2
cd ffmpeg-2.4.3
./configure --enable-libxvid --enable-libx264 --enable-libmp3lame --enable-libvorbis --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libfaac --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-zlib --enable-bzlib --enable-libvorbis
make#wait about 10 minutes
make install
OVER!
Linux下编译FFmpeg之下载源文件并编译 http://www.linuxidc.com/Linux/2012-02/54565.htm
Linux 编译升级 FFmpeg 步骤 http://www.linuxidc.com/Linux/2013-08/88190.htm
CentOS 5.6 上安装 FFMPEG http://www.linuxidc.com/Linux/2011-09/42793.htm
在Ubuntu下安装FFmpeg http://www.linuxidc.com/Linux/2012-12/75408.htm
Ubuntu 12.04下编译ffmpeg http://www.linuxidc.com/Linux/2013-02/78857.htm
Ubuntu 14.04下PPA安装FFmpeg 2.2.2 http://www.linuxidc.com/Linux/2014-05/101322.htm
FFmpeg 的详细介绍:请点这里
FFmpeg 的下载地址:请点这里
本文永久更新链接地址:http://www.linuxidc.com/Linux/2015-02/112693.htm