I have built a simple media player using ffmpeg
on Android 2.2. Hardware is an arm cortex-a8 based 1GHz processor, 512 MB RAM. I am getting low performance, around 15 FPS for 800x600 mp4 video. I have a couple of questions on how I can improve the performance
How can I use the hardware codecs available on my target device. How can I configure ffmpeg to use the available hardware decoders? Does the GPU or graphics driver have to expose some standard API like OpenMax IL in order to this?
What are the options that should be enabled when building ffmpeg so that it can be optimized for my target hardware? Something like:
--cpu=cortex=a8 --extra-cflags="-mfpu=neon" ...
I have already looked around the net but I couldn't find the answers that I am looking for. I hope someone can advice me on this.
Thanks in advance!