很久没在blogspot里写blog了,剩下的几篇都搬过来吧
/home/gstreamer/gst-ffmpeg-0.10.6
./configure
--host=arm-linux --prefix=/home/gstreamer/install --enable-shared
CFLAGS=-I/home/gstreamer/install/include/
LDFLAGS="-L/home/gstreamer/install/lib -lbz2 -lamrwb -lamrnb"
--with-ffmpeg-extra-configure="--prefix=/home/gstreamer/install
--enable-cross-compile --enable-gpl --disable-network --disable-ipv6
--disable-vhook --disable-mpegaudio-hp --enable-pthreads
--disable-parsers --arch=armv4l --disable-muxers --disable-encoders
--disable-stripping --host-cc=arm-linux-gcc --disable-armv6
--disable-armv5te --disable-armvfp --disable-ffmpeg --enable-static
--enable-shared --cross-prefix=/usr/local/arm/3.4.1/bin/arm-linux-
ARCH_ARMV4L=y --enable-libamr-nb --enable-libamr-wb --enable-libxvid
--enable-nonfree"
/home/gstreamer/amrnb-7.0.0.2
echo ac_cv_func_malloc_0_nonnull=yes >> arm.cache
echo ac_cv_file__bin_bash=yes >> arm.cache
./configure --host=arm-linux --prefix=/home/gstreamer/amrnb-7.0.0.2/../install --cache-file=arm.cache
/home/gstreamer/amrwb-7.0.0.3
echo ac_cv_func_malloc_0_nonnull=yes >> arm.cache
echo ac_cv_file__bin_bash=yes >> arm.cache
./configure --host=arm-linux --prefix=/home/gstreamer/amrwb-7.0.0.3/../install --cache-file=arm.cache
/home/gstreamer/xvidcore/build/generic
./configure --host=arm-linux --prefix=/home/gstreamer/install
How to install FFmpeg with MP3 and AMR support
http://www.mattiouz.com/blog/2007/07/02/how-to-install-ffmpeg-with-mp3-and-amr-support/