I saw several articles on how to compile and use FFmpeg for Android.
Thess is a good example - example1 and example2
Unfortunately, not for them, or for others that I found helped me. In these two examples, build_android.sh is created and the FFmpeg configuration file is configured and called to create it. Each time I run the script, I get the following error:
c:\android\development\android-ndk-r9\sources\ffmpeg>sh build_android.sh c:/android/development/android-ndk-r9/toolchains/arm-linux-androideabi-4.8/prebu ilt/windows-x86_64/arm-linux-androideabi/bin/bin/arm-linux-androideabi-gcc is un able to create an executable file. C compiler test failed. If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user@ffmpeg.org mailing list or IRC
If someone encounters and solves this problem, it will be very helpful!
After trying the proposed script, I came across a new problem that I could not solve, this is the output of the script:
.... List of included components ....
At the end of the list, I got the following:
Included indevs: dv1394 v4l2i fbdev
Outdevs Included: fbdev v4l2
License: LGPL version 2.1 or later Creation of config.mak, config.h and doc / config.texi ...
WARNING: C: / android / development / android-ndk-r9 / toolchains / arm-linux-androideabi- 4.8 / prebuilt / windows-x86_64 / bin / arm-linux-androideabi-pkg-config was not found, libr may fail. make: * There is no rule to make the target libavfilter/libavfilter.so', needed by all-ye s'. Stop. make: * There is no rule for creating the install-libavfilter-shared', needed by target install-libavfilter-shared', needed by instal l-LIBS-yes. Stop.
ffmpeg android-ndk
Nativ
source share