终于装上了,把过程记录一下
首先要安装各种解码器
1、lame
[color=red]lame-3.97.tar.gz [/color]
Url:[url]http://sourceforge.net/project/showfiles.php?group_id=290&package_id=309[/url]
安装方法如下:[code]tar -zxvf lame-3.97.tar.gz
cd lame-3.97
./configure --enable-shared --prefix=/usr
make
make install[/code]
2、libogg
[color=red]libogg-1.1.3.tar.gz[/color]
Url:[url]http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz[/url]
安装方法如下:
[code]./configure --prefix=/usr
make
make install[/code]
3、libvorbis
[color=red]libvorbis-1.1.2.tar.gz[/color]
Url:[url]http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz[/url]
安装方法如下:
[code]./configure --prefix=/usr
make
make install[/code]
4、xvid
[color=red]xvidcore-1.1.3.tar.gz[/color]
Url:[url]http://downloads.xvid.org/downloads/xvidcore-1.1.3.tar.gz[/url]
安装方法如下:
[code]tar zvxf xvidcore-1.1.3.tar.gz
cd xvidcore-1.1.3/build/generic
./configure --prefix=/usr
make
make install[/code]
5、x264
[color=red]x264-snapshot-20071107-2245.tar.bz2[/color]
Url:[url]http://www.videolan.org/developers/x264.html[/url]
[url]ftp://ftp.videolan.org/pub/videolan/x264/snapshots/[/url]
安装方法如下:[code]bunzip2 x264-snapshot-20070913-2245.tar.bz2
tar xvf x264-snapshot-20070913-2245.tar
./configure --prefix=/usr --enable-shared
make
make install[/code]
6、libdts
[color=red]libdts-0.0.2.tar.gz[/color]
[url]http://download.videolan.org/pub/videolan/libdca/0.0.2/libdca-0.0.2.tar.gz [/url]
安装方法:[code]tar zxvf libdts-0.0.2.tar.gz
cd libdts-0.0.2
./configure --prefix=/usr
make
make install
[/code]
7、a52
[color=red]a52dec-0.7.4.tar.gz[/color]
[url]http://liba52.sourceforge.net/downloads.html[/url]
安装方法:[code]./configure --prefix=/usr
make
make install[/code]
8、faad2
[color=red]faad2-2.6.1.tar.gz[/color]
[url]http://www.audiocoding.com/downloads.html[/url]
安装方法[code]
autoreconf -vif
./configure --prefix=/usr --with-mp4v2 --enable-shared
make
make install[/code]
9、faac
[color=red]faac-1.26.tar.gz[/color]
[url]http://linux.softpedia.com/progDownload/FAAC-Download-554.html[/url]
安装方法:[code]tar zxvf faac-1.26.tar.gz
cd faac
./bootstrap
./configure --prefix=/usr
make
make install[/code]
10、amr-nb
[color=red]amrnb-6.1.0.4.tar.bz2[/color]
[url]http://ftp.penguin.cz/pub/users/utx/amr/amrnb-6.1.0.4.tar.bz2[/url]
安装方法:[code]./configure --prefix=/usr
make
make install[/code]
11、amr-wb
[color=red]amrwb-7.0.0.1.tar.bz2[/color]
[url]http://ftp.penguin.cz/pub/users/utx/amr/amrwb-7.0.0.1.tar.bz2[/url]
安装方法:[code]./configure --prefix=/usr
make
make install[/code]
12、lib52
[color=red]a52dec-0.7.4.tar.gz[/color]
[url]http://liba52.sourceforge.net/downloads.html[/url]
如果前面的安装一切顺利的话,恭喜你,可以安装ffmpeg了
安装ffmpeg
[code]./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[/code]
首先要安装各种解码器
1、lame
[color=red]lame-3.97.tar.gz [/color]
Url:[url]http://sourceforge.net/project/showfiles.php?group_id=290&package_id=309[/url]
安装方法如下:[code]tar -zxvf lame-3.97.tar.gz
cd lame-3.97
./configure --enable-shared --prefix=/usr
make
make install[/code]
2、libogg
[color=red]libogg-1.1.3.tar.gz[/color]
Url:[url]http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz[/url]
安装方法如下:
[code]./configure --prefix=/usr
make
make install[/code]
3、libvorbis
[color=red]libvorbis-1.1.2.tar.gz[/color]
Url:[url]http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz[/url]
安装方法如下:
[code]./configure --prefix=/usr
make
make install[/code]
4、xvid
[color=red]xvidcore-1.1.3.tar.gz[/color]
Url:[url]http://downloads.xvid.org/downloads/xvidcore-1.1.3.tar.gz[/url]
安装方法如下:
[code]tar zvxf xvidcore-1.1.3.tar.gz
cd xvidcore-1.1.3/build/generic
./configure --prefix=/usr
make
make install[/code]
5、x264
[color=red]x264-snapshot-20071107-2245.tar.bz2[/color]
Url:[url]http://www.videolan.org/developers/x264.html[/url]
[url]ftp://ftp.videolan.org/pub/videolan/x264/snapshots/[/url]
安装方法如下:[code]bunzip2 x264-snapshot-20070913-2245.tar.bz2
tar xvf x264-snapshot-20070913-2245.tar
./configure --prefix=/usr --enable-shared
make
make install[/code]
6、libdts
[color=red]libdts-0.0.2.tar.gz[/color]
[url]http://download.videolan.org/pub/videolan/libdca/0.0.2/libdca-0.0.2.tar.gz [/url]
安装方法:[code]tar zxvf libdts-0.0.2.tar.gz
cd libdts-0.0.2
./configure --prefix=/usr
make
make install
[/code]
7、a52
[color=red]a52dec-0.7.4.tar.gz[/color]
[url]http://liba52.sourceforge.net/downloads.html[/url]
安装方法:[code]./configure --prefix=/usr
make
make install[/code]
8、faad2
[color=red]faad2-2.6.1.tar.gz[/color]
[url]http://www.audiocoding.com/downloads.html[/url]
安装方法[code]
autoreconf -vif
./configure --prefix=/usr --with-mp4v2 --enable-shared
make
make install[/code]
9、faac
[color=red]faac-1.26.tar.gz[/color]
[url]http://linux.softpedia.com/progDownload/FAAC-Download-554.html[/url]
安装方法:[code]tar zxvf faac-1.26.tar.gz
cd faac
./bootstrap
./configure --prefix=/usr
make
make install[/code]
10、amr-nb
[color=red]amrnb-6.1.0.4.tar.bz2[/color]
[url]http://ftp.penguin.cz/pub/users/utx/amr/amrnb-6.1.0.4.tar.bz2[/url]
安装方法:[code]./configure --prefix=/usr
make
make install[/code]
11、amr-wb
[color=red]amrwb-7.0.0.1.tar.bz2[/color]
[url]http://ftp.penguin.cz/pub/users/utx/amr/amrwb-7.0.0.1.tar.bz2[/url]
安装方法:[code]./configure --prefix=/usr
make
make install[/code]
12、lib52
[color=red]a52dec-0.7.4.tar.gz[/color]
[url]http://liba52.sourceforge.net/downloads.html[/url]
如果前面的安装一切顺利的话,恭喜你,可以安装ffmpeg了
安装ffmpeg
[code]./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[/code]