Hardware decoding on Android: "No element decodebin"

Sebastian Dröge sebastian at centricular.com
Mon Aug 4 05:35:47 PDT 2014


On Mo, 2014-08-04 at 05:30 -0700, darvin wrote:
> Hi, 
> 
> I'm writing an Android app using gstreamer1.0. I'm trying to make use of the
> hardware accelerated decoding functionality and read somewhere in this forum
> that decodebin is the recommended decoder to use. 
> 
> Unfortunately my pipeline initialization returns the error message: "no
> element "decodebin"". I've tried decodebin2 as well with the same result. 
> 
> My pipeline looks like this: "udpsrc port=5000 !
> application/x-rtp,clockrate=90000,payload=96 ! rtpjitterbuffer !
> rtph264depay ! avdec_h264 ! decodebin ! autovideosink sync=false". 
> 
> Replacing decodebin by avdec_h264 works fine, but is to slow and not
> hardware accelerated afaik. 

Yes, avdec_h264 will decode in software.

> Any ideas how to fix this error? Thanks in advance. 

What's the content of your Android.mk?

-- 
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
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: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140804/ccc46ee1/attachment-0001.sig>


More information about the gstreamer-devel mailing list