首先要安装各种解码器
1、lame
lame-3.99.5.tar.gz
Url:http://sourceforge.net/project/showfiles.php?group_id=290&package_id=309
安装方法如下:
1 tar -zxvf lame-3.99.5.tar.gz
2 cd lame-3.99.5
3 ./configure --enable-shared
4 make
5 make install
2、libogg
libogg-1.3.1.tar.gz
Url:http://www.xiph.org/downloads/
安装方法如下:
1 tar xf libogg-1.3.1.tar.gz
2 cd libogg-1.3.1
3 ./configure
4 make && make install
3、libvorbis
libvorbis-1.3.3.tar.gz
Url:http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.3.tar.gz
(libvorbis依赖于libogg, 所以libogg必须先于libvorbis安装)
安装方法如下:
1 tar xf libvorbis-1.3.3.tar.gz
2 cd libvorbis-1.3.3
3 ./configure
4 make
5 make install
4、xvid
xvidcore-1.3.2.tar.gz
Url:http://downloads.xvid.org/downloads/xvidcore-1.3.2.tar.gz
安装方法如下:
1 tar xf xvidcore-1.3.2.tar.gz
2 cd xvidcore-1.3.2
3 ./configure
4 make && make install
5、x264
latest_x264.tar.bz2 (其中包含的目录是 x264-snapshot-20131023-2245)
Url:http://www.videolan.org/developers/x264.html
ftp://ftp.videolan.org/pub/videolan/x264/snapshots/
安装方法如下:
先安装:yasm,
下载yasm http://yasm.tortall.net/Download.html
1 tar xf yasm.tar.gz
2 cd yasm
3 ./configure
4 make && make install latest安装方法如下:
1 tar xf latest_x264.tar.bz2
2 cd latest_x264
3 ./configure
4 make && make install
6、libdts
libdca-0.0.5.tar.bz2
Url: http://www.videolan.org/developers/libdca.html
安装方法
1 ./configure
2 make && make install
7、a52
a52dec-0.7.4.tar.gz (这个库从2002年就没有更新过了)
http://liba52.sourceforge.net/downloads.html
安装方法:
1 ./configure
2 make && make install
8、faad2
faad2-2.7.tar.gz
http://www.audiocoding.com/downloads.html
安装方法
1 ./configure
2 make && make install