hardware decode on android

921261636 at qq.com 921261636 at qq.com
Thu Aug 6 06:28:44 PDT 2015


Actually,I used the amcviddec-*element on android, according to
mediacodec.xml

<MediaCodec type="video/mp4v-es" name="OMX.MTK.VIDEO.DECODER.MPEG4"/>
<MediaCodec type="video/3gpp" name="OMX.MTK.VIDEO.DECODER.H263"/>

-<MediaCodec type="video/avc" name="OMX.MTK.VIDEO.DECODER.AVC">
<Quirk name="wants-NAL-fragments"/>
</MediaCodec>
……
I used amcviddec-omxmtkivideodecodeavc element in my pipeline,
udpsrc port=5000 ! application/x-rtp, clock-rate=90000,
encoding-name=(string)H264, payload=96 ! rtpjitterbuffer ! queue !
rtph264depay ! h264parse !  amcviddec-omxmtkvideodecoderavc  ! autovideosink
the result is not normal.
<http://gstreamer-devel.966125.n4.nabble.com/file/n4673008/Screenshot_2015-08-06-21-26-39.png> 

i tried to changed the pipeline, videotestsrc ! x264enc !
amcviddec-omxmtkvideodecoderavc ! autovideosink
the error message is "error received from
amcviddec-omxmtkvideodecoderavc:gstreamer encountered a general supporting
library error".

did i need to confige something?
thank in advance.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/hardware-decode-on-android-tp4672999p4673008.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list