Skip to content Skip to sidebar Skip to footer

Android Ndk W/ Ffmpeg Library - Error Running Project

Using this guide, http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9/, I successfully compiled ffmpeg-2.4.2 with Android NDK 10, but now I'm having issues using it in my eclips

Solution 1:

ffmpeg 2.4.2 uses newer libraries:

libavcodec-56.so, libavformat-56.so, libswscale-3.so, libavutil-54.so, libavfilter-5.so, libswresample-1.so

UPDATE: and i think you've got a typo in android-ndk/sources/ffmpeg-2.4.2/android/arm/Android.mk. 4th line from the end - it should be LOCAL_MODULE:= libswresample

Solution 2:

Your project structure and build commands seem fine to me. I would suggest some points to try: 1. Try adding an Application.mk file in jni. 2. Try building the VideoTest.so in linux environment with linux ndk and maybe with a lower and stable version of ndk.

Post a Comment for "Android Ndk W/ Ffmpeg Library - Error Running Project"