[FFmpeg-user] How to compile ffmpeg on Android

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Jul 13 22:33:31 EEST 2018

2018-07-13 21:10 GMT+02:00, Mohammed Bey Ahmed Khernache:
> > Could you elaborate?
>> The compiler by default generates binaries that do not run
>> on Android?
> Yes, by default the compiler does not generate binaries that run
> on Android. That's why I added in  --cross-prefix=.. . I gave the
> path of the Android compiler, using Android NDK.

I have sent a patch, thank you.

>>  --enable-nonfree
> I cannot use --enable-gpl option without --enable-nonfree.
> Sincerely, I don't know why.

I don't understand: Why can't you use --enable-gpl without
You typically want to avoid building with --enable-nonfree as
it you are not allowed to distribute the resulting binary.

>>  As said, please do not top-post here
> Could you explain to me? I am not really a good english speaker.

You don't have to send the message you are answering twice.

Carl Eugen

More information about the ffmpeg-user mailing list