[FFmpeg-user] AAC decoding on Android

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Jul 20 17:46:26 CEST 2012

Ali Shaheen <ali.shaheen <at> popcatcher.com> writes:

> I am using 0.8.11  and i have build for armv6.

This is old, please test current git head.

> I was wondering if there is some optimization flag 
> or something..

> which can enhance performance by multithreading.

There is no multithreading for audio decoding 
(and I would be surprised if a device that is too slow 
to decode AAC provides multiple cores).

> in build script i have used these flags.
> OPTIMIZE_CFLAGS="-marm -march=$CPU"
> --extra-cflags=" -O3 -fpic -DANDROID -DHAVE_SYS_UIO_H=1
> -Dipv6mr_interface=ipv6mr_ifindex -fasm -Wno-psabi -fno-short-enums
> -fno-strict-aliasing -finline-limit=300 $OPTIMIZE_CFLAGS "

Do you know that any of these flags have a positive effect 
on performance?

Carl Eugen

More information about the ffmpeg-user mailing list