[FFmpeg-user] Compiling ffmpeg, Optimize for size

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Jun 17 23:04:07 CEST 2015


Conor Mac Aoidh <conormacaoidh <at> gmail.com> writes:

> I've built ffmpeg for ARM but I would like to 
> also optimize the binary for size

Please use --enable-small to optimize for size.

> //--extra-cflags="-Os -Wno-deprecated-declarations -I../x264 
> -mfloat-abi=softfp -mfpu=neon -fPIE -DANDROID -pie"/

Except for the -I flag, please drop the 
extra-cflags. Or is there a bug in our 
build system that we don't know about?

Carl Eugen



More information about the ffmpeg-user mailing list