Here is a simple record of deploying FFmpeg and related class libraries throughout Linux, as follows:
Tar zxvf./yasm-1.3.0.tar.gz
CD yasm-1.3.0
./configure
Make
Make install
Tar xvfj./x264.tar.bz2
CD x264
Make clean
./configure--enable-shared
Make
Make install
Tar zxvf./lame-3.99.5.tar.gz
CD lame-3.99.5
./configure--enable-shared
Make && make install
Tar zxvf./libogg-1.3.2.tar.gz
CD libogg-1.3.2
./configure--enable-shared
./configure
Make && make install
Tar zxvf./libvorbis-1.3.4.tar.gz
CD libvorbis-1.3.4
./configure
Make && make install
Tar zxvf./faac-1.28.tar.gz
CD faac-1.28
./configure
Make
Make install
Tar xvfj./ffmpeg-2.5.1.tar.bz2
CD ffmpeg-2.5.1
./configure--prefix=/usr/local/ffmpeg2--enable-libmp3lame--enable-libvorbis--ENABLE-GPL--enable-version3- Enable-nonfree--enable-pthreads--ENABLE-LIBFAAC--enable-libx264--enable-postproc--enable-ffserver-- Enable-ffplay
Make
Make install
./configure
Make Tools/qt-faststart
Cp-a tools/qt-faststart/usr/bin/
Locate libx264.so.142 #会显示/usr/local/lib/libx264.so.142
Ln-s libx264.so.142 libx264.so
vi/etc/ld.so.conf.d/libx264.conf #写入/usr/local/lib
Ldconfig