(1)sudo apt-get update
(2)sudo apt-get install build-essential checkinstall git cmake libfaac-dev libjack-jackd2-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libsdl1.2-dev libtheora-dev libva-dev libvdpau-dev libvorbis-dev libx11-dev libxfixes-dev libxvidcore-dev texi2html yasm zlib1g-dev
(3)
sudo apt-get install libgstreamer0.10-0 libgstreamer0.10-dev gstreamer0.10-tools gstreamer0.10-plugins-base libgstreamer-plugins-base0.10-dev gstreamer0.10-plugins-good gstreamer0.10-plugins-ugly gstreamer0.10-plugins-bad
sudo add-apt-repository ppa:mc3man/gstffmpeg-keep
sudo apt-get update
sudo apt-get install gstreamer0.10-ffmpeg
(4)
sudo apt-get install libgtk2.0-0 libgtk2.0-dev
sudo apt-get install libjpeg8 libjpeg8-dev
(5)nasm
wget http://www.nasm.us/pub/nasm/releasebuilds/2.13.01/nasm-2.13.01.tar.bz2
tar xvf,configure,make,make install
(6)
参考https://trac.ffmpeg.org/wiki/CompilationGuide/Centos
wget ftp://ftp.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20120528-2245-stable.tar.bz2
tar xvf ; cd
./configure –enable-shared –enable-pic
sudo apt-get install autoconf
git clone –depth 1 https://github.com/mstorsjo/fdk-aac
apt-get install libfdk-aac-dev
(7)
wget http://ffmpeg.org/releases/ffmpeg-3.3.tar.bz2
tar xvf,
./configure –enable-gpl –enable-libfdk_aac –enable-libfreetype –enable-libmp3lame –enable-libopus –enable-libvorbis –enable-libx264 –enable-nonfree
make make install
(8)
$ curl “https://bootstrap.pypa.io/get-pip.py” -o “get-pip.py” $ sudo python get-pip.py