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

hsu tom cherish48624 at gmail.com
Wed Nov 7 03:35:50 CET 2012


To James

home/user/android-ndk/**toolchains/arm-linux-**androideabi-4.4.3/prebuilt/**
linux-x86/bin/arm-linux-**androideabi-g++

This File is indeed exist.

To Carl

One of us is very seriously misunderstand
something: Are you really trying to
execute a linux binary on Windows?

Yes, I'm still make use of Cygwin to build ffmpeg.

------------------------------------------------------------------------------------------

I found a method ,let me cross this error.

In file of ffmpeg/configure

origin : enabled libstagefright_h264  && require_cpp libstagefright_h264
"binder/ProcessState.h media/stagefright/MetaData.h

fixed : enabled libstagefright  && require_cpp libstagefright_h264
"binder/ProcessState.h media/stagefright/MetaData.h
            ^^^^^^^^^^^^^^^^^^^^

When I fix  libstagefright_h264 to  libstagefright here, it seems be normal
until the next error.


CC      libavcodec/lagarithrac.o
CC      libavcodec/latm_parser.o
CXX     libavcodec/libstagefright.o
/bin/sh:
/home/user/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-g++:
cannot execute binary file
CC      libavcodec/lcldec.o
common.mak:51: recipe for target `libavcodec/libstagefright.o' failed
make: *** [libavcodec/libstagefright.o] Error 126
make: *** Waiting for unfinished jobs....

PS: ffmpeg version is 1.0




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
>                         ^^^^^
>
> One of us is very seriously misunderstand
> something: Are you really trying to
> execute a linux binary on Windows?
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>



-- 

Best regards

from Tom


More information about the ffmpeg-user mailing list