[FFmpeg-user] Use build_libstagefright in ffmpeg to build file .so for android
cherish48624 at gmail.com
Wed Nov 7 15:43:48 CET 2012
You are right, Carl.
This time, I change my OS to Ubuntu, and it's work.
It had built successfully, and produce 5 static library(*.a).
But I still have 2 questions ....
In file of ffmpeg/configure
enabled libstagefright_h264 && require_cpp libstagefright_h264
enabled libstagefright && require_cpp libstagefright_h264
I fix the ffmpeg/configure, and build the ffmpeg source code to static
Is that ok??
when I use gcc command to build share library, like this,
gcc -shared -o libffmpeg.so -W1,--whole-archive
It works, and get a file "libffmpeg.so".
This file only have 47kb, it look like too small.
Is this method right or not??
PS： ffmpeg version is 1.0
PS2: Thanks a lot, Carl
2012/11/7 Carl Eugen Hoyos <cehoyos at ag.or.at>
> hsu tom <cherish48624 <at> gmail.com> writes:
> > my Build Environment is
> > 1. Window 7
> > 2. Cygwin
> > 3. android-NDK-r8b linux version
> I will try again since my first answer seem to have
> been too subtle:
> You claim that you are trying to use the Linux version
> of the Android NDK (that is point 3 of above mail).
> The NDK contains - among other things - a compiler,
> that is an executable that reads c (c++) files and
> compiles them. If this executable was made for Linux
> (and you claim so), it will not work on Windows.
> Carl Eugen
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
More information about the ffmpeg-user