[FFmpeg-devel] [PATCH] avcodec: Remove libstagefright

Martin Storsjö martin at martin.st
Sun Jan 3 22:08:25 CET 2016

On Sun, 3 Jan 2016, Derek Buitenhuis wrote:

> It serves absolutely no purpose other than to confuse potentional
> Android developers about how to use hardware acceleration properly
> on the the platform. Both stagefright itself, and MediaCodec, have
> avcodec backends already, and this is the correct way to use it.

No, that's unrelated. Yes, people have written avcodec backends for 
stagefright/MediaCodec, but that's unrelated and only of interest for 
stock Android mediaplayers to extend their codec support.

> MediaCodec as a proper JNI API.

wat? (Yes, using MediaCodec, either via the recent C API, or via JNI, is 
the correct way to do it.)

> Furthermore, stagefright support in avcodec needs a series of
> magic incantations and version-specific stuff, such that
> using it actually provides downsides compared just using the actual
> Android frameworks properly, in that it is a lot more work and confusion
> to get it even running. It also leads to a lot of misinformation, like
> these sorts of comments (in [1]) that are absolutely incorrect.

Spot on, +1.

> [1] http://stackoverflow.com/a/29362353/3115956
> Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
> ---
> I am certain there are many more reasons to remvoe this as well. I know
> its own author despises it, and I know j-b will same things to say.

Not direct author, but co-author/mentor.

// Martin

More information about the ffmpeg-devel mailing list