Android HW acceleration pipeline

Nicolas Dufresne nicolas.dufresne at
Wed Dec 10 08:20:55 PST 2014

Le 12/09/2014 03:48 PM, Forzaferrarileo a écrit :
> I'm new to gstreamer , and I was playing with the android SDK .
> I can run the simple pipeline " videotestsrc ! videoconvert ! glimagesink "
> from the ndk , but I don't know how the pipeline should be to create an h264
> videotestsrc stream , and decode it with amc .( my testing device has the
> following h264 decoder: amcviddec-omxgoogleh264decoder and
> amcviddec-omxnvidiah264decode ) 
> Could you help me ?

All the omxgoogle decoder are Android standard SW decoder. These are
shipped on all platforms. In GStreamer, we set a rank on each element,
normally the amcviddec-omxnvidiah264decode should have higher rank. If
you want to not care about these, I would recommend using decodebin (or
playbin for playback). It will pick for you the highest ranked decoder
that match he input stream.


More information about the gstreamer-devel mailing list