mirror of
https://github.com/yuzu-emu/ext-android-bin.git
synced 2024-11-22 03:55:39 +01:00
ffmpeg: Add new 5.1 archives for Android arm64 and x86_64
This commit is contained in:
parent
03c4026b9b
commit
01cfdd1a8e
21
ffmpeg/build.sh
Normal file
21
ffmpeg/build.sh
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# ANDROID_NDK_ROOT and ANDROID_SDK_ROOT need to be set (possibly to ~/Android/Sdk/ndk/##.#.#######/ and ~/Android/Sdk respectively)
|
||||||
|
|
||||||
|
ARCH=x86_64
|
||||||
|
VERSION=v5.1.LTS
|
||||||
|
|
||||||
|
git clone --depth 1 --branch $VERSION https://github.com/arthenica/ffmpeg-kit.git
|
||||||
|
cd ffmpeg-kit
|
||||||
|
|
||||||
|
./android.sh --enable-x264 --enable-libvpx --enable-gpl --disable-arm-v7a{,-neon} --disable-arm64-v8a --disable-x86 --no-archive
|
||||||
|
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
OUT_DIRECTORY=ffmpeg-android-$VERSION-$ARCH
|
||||||
|
mkdir $OUT_DIRECTORY
|
||||||
|
cp -r ffmpeg-kit/prebuilt/android-x86_64/{ffmpeg,libvpx,x264}/* $OUT_DIRECTORY/
|
||||||
|
cp $0 $OUT_DIRECTORY
|
||||||
|
tar c $OUT_DIRECTORY | xz -T0 > $OUT_DIRECTORY.tar.xz
|
||||||
|
|
BIN
ffmpeg/ffmpeg-android-v4.4.LTS.tar.xz
Normal file
BIN
ffmpeg/ffmpeg-android-v4.4.LTS.tar.xz
Normal file
Binary file not shown.
BIN
ffmpeg/ffmpeg-android-v5.1.LTS-aarch64.tar.xz
Normal file
BIN
ffmpeg/ffmpeg-android-v5.1.LTS-aarch64.tar.xz
Normal file
Binary file not shown.
BIN
ffmpeg/ffmpeg-android-v5.1.LTS-x86_64.tar.xz
Normal file
BIN
ffmpeg/ffmpeg-android-v5.1.LTS-x86_64.tar.xz
Normal file
Binary file not shown.
BIN
ffmpeg/ffmpeg-android-v5.1.LTS.tar.xz
Normal file
BIN
ffmpeg/ffmpeg-android-v5.1.LTS.tar.xz
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user