mirror of
https://github.com/sudachi-emu/android-binaries.git
synced 2024-10-30 01:55:32 +01:00
Added initial source code
This commit is contained in:
parent
4122bd24b3
commit
601d717514
5 changed files with 21 additions and 0 deletions
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 a new issue