*****Prerequisites for Building*******
yum --enablerepo=remi -y install gcc gcc-c++ automake autoconf libtool git svn
SDL
yum --enablerepo=remi -y install SDL.x86_64 SDL-devel.x86_64 SDL_p_w_picpath.x86_64 SDL_net.x86_64 SDL_ttf.x86_64
nasm
yum --enablerepo=remi -y install nasm.x86_64 yasm.x86_64 nasm-rdoff.x86_64 yasm-devel.x86_64
x264
http://www.videolan.org/developers/x264.html
#
yum erase ffmpeg x264 faad
yum install zlib-devel libmad-devel libvorbis-devel libtheora-devel freetype-devel
git clone git://git.videolan.org/x264.git
cd x264
./configure --enable-shared
#
#
libopencore-amrnb
http://sourceforge.net/projects/opencore-amr/
configure && make && make install
mpeg4ip
-----编译安装-----
yum -y install libmp4v2.x86_64 libmp4v2-devel.x86_64
http://mpeg4ip.sourceforge.net/documentation/index.php#windoze
./bootstrap
make
-----rpm安装-------
#wget http://ftp.belnet.be/packages/dries.ulyssis.org/fedora/fc4/i386/RPMS.dries/mpeg4ip-1.5.0.1-1.fc4.rf.i386.rpm
#rpm -ivh --nodeps --force mpeg4ip-1.5.0.1-1.fc4.rf.i386.rpm
ffmpeg
svn export svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
http://ffmpeg.org/index.html
http://ffmpeg.org/releases/ffmpeg-0.6.1.tar.bz2
#
./configure --prefix=/usr/local/ffmpeg --enable-memalign-hack \
--enable-libmp3lame \
--enable-shared \
--enable-zlib \
--enable-gpl \
--enable-libxvid \
--enable-libopencore-amrnb \
--enable-version3 \
--enable-libx264 \
--enable-libfaac \
--enable-nonfree
***********FFmpeg x264 encoding guide***************
http://rob.opendot.cl/index.php/useful-stuff/ffmpeg-x264-encoding-guide/
ffmpeg -y -i 26.wmv -an -pass 1 -vcodec libx264 -vpre slow_firstpass -threads 3.3gp
FFmpeg-php 的安装
http://ffmpeg-php.sourceforge.net
svn co https://ffmpeg-php.svn.sourceforge.net/svnroot/ffmpeg-php ffmpeg-php
cd ffmpeg-php/trunk/ffmpeg-php
./configure --enable-shared --with-php-config=/usr/local/php5/bin/php-config --with-ffmpeg=/usr/local/ffmpeg/
-------------+++++++++++++++-----------------------------
# ffmpeg -codecs | grep amr
FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers
built on Dec 17 2010 15:07:09 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
configuration: --prefix=/usr/local --enable-memalign-hack --enable-libmp3lame --enable-shared --enable-zlib --enable-gpl --enable-libxvid --enable-libopencore-amrnb --enable-version3 --enable-libx264 --enable-libfaac --enable-nonfree
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.11. 0 / 0.11. 0
D A amrnb Adaptive Multi-Rate NarrowBand
DEA libopencore_amrnb OpenCORE Adaptive Multi-Rate (AMR) Narrow-Band