下载ffmpeg 代码合x264代码,

ffmpeg 代码:

x264代码:

cd x264

make

make install

make tools/qt-faststart

cp -ra tools /usr/local/ffmpeg

ln -s /usr/local/ffmpeg/bin/ffmpeg /usr/bin/ffmpeg

ln -s /usr/local/ffmpeg/tools/qt-faststart /usr/bin/qt-faststart