android h264 hardware encoding

Sebastian Dröge slomo at circular-chaos.org
Fri Oct 11 10:10:18 CEST 2013


On Do, 2013-10-10 at 23:26 -0700, yoyosuper8 wrote:
> So, I'm trying to understand how h264 hardware encoding works. I need to do
> h264 hardware encoding on Android. I'm not too familiar with this topic and
> what I've read online hasn't really answer some of my questions and some
> topics are not clear.
> 
> Here are some questions that I'd like to get answer if possible please:
> 
> 1. In order to be able to perform h264 hw encoding, my android device has to
> have the capability for h264 hw encoding, correct?
> 
> 2. How do I specify the hardware available on my android device into the
> pipeline?
> 
> 3. What plugins are able to do this? Or does x264enc plugin automatically
> looks to see if it can do hardware encoding and if not then to software
> encoding? How does that work?
> 
> Any help on this would be appreciated.

It's currently not supported yet for encoding but a patch is available
here: https://bugzilla.gnome.org/show_bug.cgi?id=705129

Alternatively you could target a specific device and use the API
available for that specific device (e.g. OpenMAX IL and use gst-omx).
That's not going to work on all Android device then and you'll need
configuration very specific for you device.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131011/f8416e75/attachment.pgp>


More information about the gstreamer-devel mailing list