1. 程式人生 > >cortex-a9 arm linux install alsa sdl ffmpeg ffplay

cortex-a9 arm linux install alsa sdl ffmpeg ffplay

export PATH=$PATH:/home/fourier/work/toolchain/gcc-linaro-4.9-2015.02-3-x86_64_arm-linux-gnueabihf/bin

ALSA: alsa-1.1.2
./configure --host=arm-linux-gnueabihf --prefix=/home/fourier/work/ffmpeg_arm/out --disable-python
make
make install

SDL: sdl-1.2.15
tar -zxvf SDL-1.2.15.tar.gz && cd SDL-1.2.15 && ./configure --enable-shared --prefix=/home/fourier/work/ffmpeg_arm/out --host=arm-linux-gnueabihf  --disable-video-x11 --disable-input-tslib --disable-esd --disable-arts --disable-nasm  --enable-alsa --enable-alsa-share --disable-pulseaudio  --disable-video-nanox --disable-video-qtopia --disable-video-photon  --disable-video-ggi --disable-video-svga --disable-video-aalib --enable-video-dummy --disable-video-dga --disable-arts  --with-alsa-prefix=/home/fourier/work/ffmpeg_arm/out/lib --with-alsa-inc-prefix=/home/fourier/work/ffmpeg_arm/out/include && make && make install && cd ../


FFMPEG: ffmpeg-2.6
vi configure
修改configure的SDL_CONFIG
3973 SDL_CONFIG="${cross_prefix}sdl-config"

3973 SDL_CONFIG="/home/fourier/work/ffmpeg_arm/out/bin/sdl-config"

./configure --enable-shared --prefix=/home/fourier/work/ffmpeg_arm/out --host=arm-linux-gnueabihf  --disable-video-x11 --disable-input-tslib --disable-esd --disable-arts --disable-nasm  --enable-alsa --enable-alsa-share --disable-pulseaudio  --disable-video-nanox --disable-video-qtopia --disable-video-photon  --disable-video-ggi --disable-video-svga --disable-video-aalib --enable-video-dummy --disable-video-dga --disable-arts
make
sudo make install