I have created libffmpeg.so using the android build system. Now I’m trying to use in my app. Pls help me with following questions:
- How do I add ffmpeg to my includes directory?
- How do I link to ffmpeg.so?
Thanks,
Nahum
Well I did at written, getting the following error:
1.7.9(0.237/5/3)/cygdrive/c/android2/android-ndk-r6/samples/native-audio
Prebuilt : libffmpeg.so <=
cp: omitting directory
/jni’
make: * [/cygdrive/c/android2/android-ndk-r6/samples/native-audio/obj/local/ar
meabi/libffmpeg.so] Error 1`
Please advice.
Thanks,
Nahum
I was, more or less, following this
http://www.roman10.net/how-to-build-android-applications-based-on-ffmpeg-by-an-example/
and also here on Stack Overflow there’s a lote of similar answers
Basically linking an FFMPEG libs is no different from linking any other SOs. You can read in NDK/docs