Using hardware codec element in Android

Sebastian Dröge sebastian at
Sat Apr 26 00:17:55 PDT 2014

On Fr, 2014-04-25 at 17:05 -0700, JYbob wrote:
> Thank you for reply, it's really help for me.
> Then, if I want hardware codec in binary executable file, do I have to use
> gst-omx??
> or it that other way to use androidmedia plugin in binary executable file?

With binary executable file you mean a normal executable, not an Android
app? Then it really depends on what you want to do.

If this is a custom Android system anyway, you can as well initialise
the codecs yourself properly and remove this check from the androidmedia
plugin. If it's a custom Android system you should know how to do that.

Otherwise if you only have to support a limited set of devices, and on
all of them OpenMAX IL is available, you can also just use gst-omx.
You'll need to write a configuration file for every different SoC
though. And keep in mind that OpenMAX IL is not public API on Android.

Sebastian Dröge, Centricular Ltd -
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the gstreamer-devel mailing list