----ffmpeg ---sdl在arm上的移植




ffmpeg-0.5.tar.bz2;
SDL-1.2.14.tar.gz


sdl
./configure --prefix=/usr/local --enable-shared --host=arm-linux CC=arm-linux-gcc AR=arm-linux-ar RANLIB=arm-linux-ranlib --disable-arts --disable-nasm --disable-video-x11 --disable-nas --disable-joystick --disable-cdrom --disable-pulseaudio --disable-video-directfb
make ; make install


ffmpeg-0.5
configure20372068            SDL_CONFIG="/usr/local/bin/sdl-config" 
SDL_CONFIG="/usr/local/bin/sdl-config"
sdl_cflags='-I/usr/local/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT'
temp_cflags $sdl_cflags
temp_extralibs '-L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread'
enable sdl
restore_flags
#end
echo "SDL_CFLAFS=-I/usr/lcoal/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT" >>config.mak
echo "SDL_LIBS=-L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread" >>config.mak
#end



./configure --prefix=/opt/ff --cross-prefix=/usr/local/bin/ --enable-shared --enable-gpl --enable-nonfree --enable-pthreads --arch=armv5t --cross-prefix=arm-linux- --enable-cross-compile --target-os=linux --disable-optimizations --cc=arm-linux-gcc --enable-ffplay






ffmpeg-0.6
 configureSDL_CONFIG="/usr/local/bin/sdl-config"

./configure --prefix=/opt/FriendlyARM/toolschain/4.5.1/arm-none-linux-gnueabi --cross-prefix=/usr/local/bin/ --enable-shared --enable-gpl --enable-nonfree --enable-pthreads --arch=armv5t --cross-prefix=arm-linux- --enable-cross-compile --target-os=linux --disable-optimizations --cc=arm-linux-gcc --enable-ffplay
make ;make install 










make;make install




export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/Trolltech/QtEmbedded-4.7.0-arm/lib/pkgconfig






====================http://huangwei431729.blog.163.com/blog/static/78746162010192301171/



你可能感兴趣的:(----ffmpeg ---sdl在arm上的移植)