[FFmpeg-trac] #7130(avcodec:closed): Android compilation broken with FFmpeg 3.4.2
FFmpeg
trac at avcodec.org
Wed Apr 11 19:45:56 EEST 2018
#7130: Android compilation broken with FFmpeg 3.4.2
------------------------------------+--------------------------------------
Reporter: donturner | Owner:
Type: defect | Status: closed
Priority: normal | Component: avcodec
Version: git-master | Resolution: worksforme
Keywords: android | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+--------------------------------------
Changes (by cehoyos):
* keywords: => android
* status: new => closed
* version: unspecified => git-master
* resolution: => worksforme
Comment:
The following succeeds here (for older targets, you have to disable some
features of FFmpeg, `aaccoder.o` compilation also works for Android 16),
assuming you downloaded and extracted NDK r16 and FFmpeg into the same
directory:
{{{
$ android-ndk-r16b/build/tools/make_standalone_toolchain.py --arch arm
--api 21 --install-dir ndk-arm-21
$ cd FFmpeg
$ ./configure --cross-prefix=../ndk-arm-21/bin/arm-linux-androideabi-
--sysroot=../ndk-arm-21/sysroot --arch=arm --target-os=android --disable-
static --enable-shared --enable-small --disable-programs
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7130#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list