终于装上了,把过程记录一下
首先要安装各种解码器
1、lame
lame-3.97.tar.gz Url:
安装方法如下:
- tar -zxvf lame-3.97.tar.gz
- cd lame-3.97
- ./configure --enable-shared --prefix=/usr
- make
- make install
tar -zxvf lame-3.97.tar.gz
cd lame-3.97
./configure --enable-shared --prefix=/usr
make
make install
2、libogg
libogg-1.1.3.tar.gz Url:
安装方法如下:
- ./configure --prefix=/usr
- make
- make install
./configure --prefix=/usr
make
make install
3、libvorbis
libvorbis-1.1.2.tar.gz Url:
安装方法如下:
- ./configure --prefix=/usr
- make
- make install
./configure --prefix=/usr
make
make install
4、xvid
xvidcore-1.1.3.tar.gz Url:
安装方法如下:
- tar zvxf xvidcore-1.1.3.tar.gz
- cd xvidcore-1.1.3/build/generic
- ./configure --prefix=/usr
- make
- make install
tar zvxf xvidcore-1.1.3.tar.gz
cd xvidcore-1.1.3/build/generic
./configure --prefix=/usr
make
make install
5、x264
x264-snapshot-20071107-2245.tar.bz2 Url:
http://www.videolan.org/developers/x264.html 安装方法如下:
- bunzip2 x264-snapshot-20070913-2245.tar.bz2
- tar xvf x264-snapshot-20070913-2245.tar
- ./configure --prefix=/usr --enable-shared
- make
- make install
bunzip2 x264-snapshot-20070913-2245.tar.bz2
tar xvf x264-snapshot-20070913-2245.tar
./configure --prefix=/usr --enable-shared
make
make install
6、libdts
libdts-0.0.2.tar.gz [url] [/url]
安装方法:
- tar zxvf libdts-0.0.2.tar.gz
- cd libdts-0.0.2
- ./configure --prefix=/usr
- make
- make install
tar zxvf libdts-0.0.2.tar.gz
cd libdts-0.0.2
./configure --prefix=/usr
make
make install
7、a52
a52dec-0.7.4.tar.gz 安装方法:
- ./configure --prefix=/usr
- make
- make install
./configure --prefix=/usr
make
make install
8、faad2
faad2-2.6.1.tar.gz 安装方法
- autoreconf -vif
- ./configure --prefix=/usr --with-mp4v2 --enable-shared
- make
- make install
autoreconf -vif
./configure --prefix=/usr --with-mp4v2 --enable-shared
make
make install
9、faac
faac-1.26.tar.gz 安装方法:
- tar zxvf faac-1.26.tar.gz
- cd faac
- ./bootstrap
- ./configure --prefix=/usr
- make
- make install
tar zxvf faac-1.26.tar.gz
cd faac
./bootstrap
./configure --prefix=/usr
make
make install
10、amr-nb
amrnb-6.1.0.4.tar.bz2 安装方法:
- ./configure --prefix=/usr
- make
- make install
./configure --prefix=/usr
make
make install
11、amr-wb
amrwb-7.0.0.1.tar.bz2 安装方法:
- ./configure --prefix=/usr
- make
- make install
./configure --prefix=/usr
make
make install
12、lib52
a52dec-0.7.4.tar.gz 如果前面的安装一切顺利的话,恭喜你,可以安装
ffmpeg了
安装
ffmpeg
- ./configure --prefix=/usr --enable-gpl --enable-shared --enable-libmp3lame --enable-libogg --enable-libvorbis --enable-libamr-nb --enable-libamr-wb --enable-libxvid --enable-libx264 --enable-liba52 --enable-liba52bin --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-pp --enable-pthreads --disable-ffserver --disable-ffplay
- make
- make install
./configure --prefix=/usr --enable-gpl --enable-shared --enable-libmp3lame --enable-libogg --enable-libvorbis --enable-libamr-nb --enable-libamr-wb --enable-libxvid --enable-libx264 --enable-liba52 --enable-liba52bin --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-pp --enable-pthreads --disable-ffserver --disable-ffplay
make
make install
评论
不知道为什么