

extra-ldflags="-lx264 -Wl,-rpath-link=$PLATFORM/usr/lib -L$PLATFORM/usr/lib -nostdlib -lc -lm -ldl -llog" \

cross-prefix=$PREBUILT/bin/aarch64-linux-android- \ cc=$PREBUILT/bin/aarch64-linux-android-gcc \ PLATFORM=$NDK/platforms/android-21/arch-arm64/ Than move each one of 'named'.sh files to the named ffmpeg folders according to their architecture names.Į.g build_android_x86.sh => ffmpeg3.3.4-x86īuild_android_arm64.sh example #!/bin/bash Created build_(architecture-name).sh for each platforms of android.Named them with android architectures names. I created 4 copies of ffmpeg3.3.4 folder.e.g android/arm android/arm64 android/x86 android/x86_64 in x264 folder. Then i got android folder in x264 folder. Created and run build_all.sh script (in x264 folder) for creating libs for (almost) all android platforms.I downloaded latest version of libx264 from.First of all let me explain step by step how i built. I built ffmpeg libraries for all android architecture.
