ffmpeg 中添加264支持

下载ffmpeg 代码合x264代码,

ffmpeg 代码:http://ffmpeg.org/

x264代码:http://www.videolan.org/developers/x264.html


cd x264

./configure --enable-static

make

make install



cd ffmpeg

./configure --prefix=/usr/local/ffmpeg --enable-libx264  --enable-gpl --disable-yasm --enable-shared

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

你可能感兴趣的:(ffmpeg,264支持)