[libav-api] libav for Android?

Ronald S. Bultje rsbultje at gmail.com
Mon Oct 24 22:22:37 CEST 2011


Hi,

On Mon, Oct 24, 2011 at 1:17 PM, amscopub-forum at yahoo.com
<amscopub-forum at yahoo.com> wrote:
> Hi. I compiled an older version of libav (I believe 0.6.X) for Android. I'm
> using libav to decode and scale frames then passing the result to OpenGL.
> Unfortunately, performance is somewhat limited as libav is using software
> scaling (and probably also for decoding).

Why do you scale? Doesn't the GL shader handle that?

> Does the latest version of libav have hardware acceleration for the Android
> platform? Unless I'm mistaken most of these phones have ARM chips.
> My second question is am I on the right track? The goal is to play
> high-definition video at 24+ fps using libav on phones that can handle that
> frame rate using the built-in Android media player.

There are neon optimizations, yes. We don't support stagefright (yet).
There's a patch floating around that adds support for it.

Ronald


More information about the libav-api mailing list