[FFmpeg-user] Use build_libstagefright in ffmpeg to build file .so for android

hsu tom cherish48624 at gmail.com
Tue Nov 6 10:19:49 CET 2012


In order to use ffmpeg in android , I tried to build ffmpeg by using
build_libstagefright in

ffmpeg/tools/lib_stagefright

but it alwalys appear a error which i coundn't solve it.

the message in the bottom of ffmpeg/config.log is

arm-linux-androideabi-g++ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC
-I../android-source/frameworks/base/include
-I../android-source/system/core/include
-I../android-source/frameworks/base/media/libstagefright
-I../android-source/frameworks/base/include/media/stagefright/openmax
-I/home/user/android-ndk/sources/cxx-stl/gnu-libstdc++/include
-I/home/user/android-ndk/sources/cxx-stl/gnu-libstdc++/libs/armeabi-v7a/include
-march=armv7-a -mfloat-abi=softfp -mfpu=neon -march=armv7-a -std=c99
-fomit-frame-pointer -fPIC -marm -Wno-multichar -fno-exceptions -fno-rtti
-D__STDC_CONSTANT_MACROS -c -o /tmp/ffconf.6ZzEMs87.o
/tmp/ffconf.5jbfvJxK.cpp

./configure: line 701:
/home/user/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-g++:
cannot execute binary file

ERROR: libstagefright_h264 not found

my Build Environment is

   1. Window 7
   2. Cygwin
   3. android-NDK-r8b linux version


Tom


More information about the ffmpeg-user mailing list