yum -y groupinstall "Development Tools" git clone git://git.videolan.org/x264.git cd x264 ./configure --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib64 --disable-asm --enable-shared make && make install cd .. git clone https://github.com/mstorsjo/fdk-aac.git cd fdk-aac autoreconf -i ./configure --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib64 --disable-shared make && make install cd .. wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz tar xvzf yasm-1.2.0.tar.gz cd yasm-1.2.0/ ./configure make && make install cd .. wget http://downloads.sourceforge.net/opencore-amr/vo-aacenc-0.1.2.tar.gz tar xzvf vo-aacenc-0.1.2.tar.gz cd vo-aacenc-0.1.2 ./configure --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib64 --disable-shared make && make install cd .. wget http://downloads.sourceforge.net/opencore-amr/fdk-aac/fdk-aac-0.1.4.tar.gz tar xzvf fdk-aac-0.1.4.tar.gz cd fdk-aac-0.1.4 ./configure --prefix=/usr --bindir=/usr/bin --libdir=/usr/lib64 --disable-shared make && make install cd .. git clone git://source.ffmpeg.org/ffmpeg.git cd ffmpeg ./configure --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --enable-libfdk-aac --enable-libx264 --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libvo-aacenc make && make install cd ..