SpotiFlyer/ffmpeg/copy-ffmpeg-executables.sh

12 lines
376 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
# CD to script location
cd "$(dirname "$0")" || echo "cd to $(dirname "$0") Failed"
# Copy ffmpeg executables for all targets
for target in arm64-v8a armeabi-v7a x86 x86_64
do
2021-09-03 20:58:13 +02:00
mkdir -p ./android-ffmpeg/src/main/jniLibs/$target/
2021-09-05 19:38:19 +02:00
cp ./ffmpeg-android-maker/build/ffmpeg/$target/bin/ffmpeg ./android-ffmpeg/src/main/jniLibs/$target/lib..ffmpeg..so
done