下载源码
- librtmp http://rtmpdump.mplayerhq.hu/ 我采用的是rtmpdump-2.4
- libx264 http://download.videolan.org/x264/snapshots/ 我采用的是最新版
- libfaac 由于是ubuntu,我当时直接apt-get install libfaac-dev了
- yasm http://yasm.tortall.net/Download.html 版本为yasm-1.3.0
- ffmpeg http://www.ffmpeg.org/download.html 版本为ffmpge-2.6.3
编译
1. librtmp
cd rtmpdump
make
make install
2. yasm
cd yasm
./configure --prefix=/usr/local/yasm