[Libav-user] Libav for android
Davood Falahati
falahati.davood at gmail.com
Fri Nov 10 21:40:40 EET 2017
Dear all,
I have compiled FFMPEG for android using android ndk and toolchains. This
is the script I used:
SYSROOT="${NDK}/platforms/android-15/arch-arm/"
ECFLAGS="-march=armv7-a -mfloat-abi=softfp"
ELDFLAGS="-Wl,--fix-cortex-a8"
ARCH_SPECIFIC="--arch=arm --cpu=armv7-a
--cross-prefix=arm-linux-androideabi-"
FFMPEG_ROOT=$("pwd")
echo "FFMPEG ROOT : " $FFMPEG_ROOT
./configure ${ARCH_SPECIFIC} \
--target-os=android \
--sysroot="$SYSROOT" \
--extra-cflags="$ECFLAGS" \
--extra-ldflags="$ELDFLAGS" \
--enable-shared \
--disable-symver \
--prefix=$FFMPEG_ROOT/build
I run it and I get the following folders under build folder:
--- bin
--- lib
--- include
--- share
Now, what should I do with them? How can I add them in the android studio.
FYI, I am using cmake to do the stuff for me.
Cheers,
-Davood Falahati
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20171110/1247f140/attachment.html>
More information about the Libav-user
mailing list