[FFmpeg-user] How to compile ffmpeg on Android

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Jul 13 21:18:49 EEST 2018


2018-07-13 18:58 GMT+02:00, Mohammed Bey Ahmed Khernache <mohbeyinfo at gmail.com>:
> Another question: why *ffplay* is not produced?
> After ./configure ...
> in the output, I found:
> Programms:
> ffmpeg                            ffprobe
>
> The command I run is:
> PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig"
> ./configure --cross-prefix=../arm64-toolschains/bin/aarch64-linux-android-
> --sysroot=../arm64-toolschains/sysroot/ --arch=arm64 --target-os=android
> --prefix="$HOME/ffmpeg_build" --pkg-config-flags="--static"
> --extra-cflags="-I$HOME/ffmpeg_build/include -pie"
> --extra-ldflags="-L$HOME/ffmpeg_build/lib -pie" --enable-ffplay
> --bindir="$HOME/bin" --enable-gpl  --enable-nonfree

(As said, please do not top-post here.)

Since you are not the first one this week:
Why are you using "--enable-nonfree"?

I know that "pkg-config-flags" can be helpful but I wonder which
difference it makes for the given configure line, same for the
include and lib directories.

Carl Eugen


More information about the ffmpeg-user mailing list