[FFmpeg-user] Android NDK r18b support
Carl Eugen Hoyos
ceffmpeg at gmail.com
Fri Dec 7 00:19:38 EET 2018
2018-12-06 22:38 GMT+01:00, Taner Sener <tanersener at gmail.com>:
> Hello,
>
> I’m trying to compile git master with Android NDK r18b but having the
> following errors. The same method works on the older NDK releases, so it
> looks like something has changed in the new NDK r18b. Do you have any ideas
> how to resolve it? Also I don’t need v4l2 actually, disabling the
> compilation of libavdevice/v4l2.c will also help me but I guess it is not
> possible.
>
> I'm using the following steps to cross-compile ffmpeg:
>
>
>
> cd $ANDROID_NDK_ROOT/build/tools
>
> ./make_standalone_toolchain.py --arch arm --api 21 --stl libc++
> --install-dir $ANDROID_NDK_ROOT/toolchains/test-arm
>
> ./configure
> --cross-prefix=$ANDROID_NDK_ROOT/toolchains/test-arm/bin/arm-linux-androideabi-
> --sysroot=$ANDROID_NDK_ROOT/toolchains/test-arm/sysroot --arch=arm
> --target-os=android
Work-around is to add: --disable-indev=v4l2
Carl Eugen
More information about the ffmpeg-user
mailing list