-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building #17
Comments
The JNI folder should be inside app/src/main |
Thanks Madhavan for the clarification. It helped me get past the error I was seeing. However, I am seeing this error now. I googled it and found a mention about specifying abiFilters (https://stackoverflow.com/questions/37508876/android-ndk-ffmpeg-unknown-mnemonic-error). But doing this did not help with the error. Do you happen to know what the problem here is? Thanks.
|
Can you give me the following information :
|
I am working with ffmpeg v 2.8.13 and ndk r12b. The build file ` function build_one CPU=arm |
Hi Madhavan,
I tried specifying vcodec libx264 and it caused a crash. I realized that I might have to
do a custom build with this codec. I am trying to do that using the instructions
in your blog (https://medium.com/madhavanmalolan/ffmpeg-for-android-b307f2613c82).
I am getting an error (shown below) when I do the ndk-build.
Before I start debugging it, I wanted clarification on something in the build instructions.
In the section titled "Compiling source" you say "Copy the following files from
/path/to/ffmpeg to the jni/ directory". Where should the "jni" directory be created?
I tried creating it in the android project directory at the same level as the 'app' directory (based
on what you say further down in the instructions to cd /path/to/app/jni).
I also tried placing it in the app/src/main directory.
I am using ffmpeg 2.8.13 and android-ndk-r12b
Thanks for putting this out for everybody!
Did I miss something that is causing this error?
Bcs-MacBook-Pro:jni bc$ /Users/bc/projects/android/android-ndk-r12b/ndk-build Android NDK: WARNING: Ignoring unknown import directory: /Users/bc/tmp/android/MediaCodecTest/app/src/main/jni Android NDK: /Users/bc/tmp/android/MediaCodecTest/app/src/jni/Android.mk: Cannot find module with tag '../../../../../../../projects/android/ffmpeg-2.8.13/android/arm' in import path Android NDK: Are you sure your NDK_MODULE_PATH variable is properly defined ? Android NDK: The following directories were searched: Android NDK: /Users/bc/tmp/android/MediaCodecTest/app/src/jni/Android.mk:14: *** Android NDK: Aborting. . Stop.
The text was updated successfully, but these errors were encountered: