amcviddec-omxgoogleh264decoder: OMX.google.h264.decoder] ERROR(0x80001001)

cxphong caoxuanphong.khtn at gmail.com
Wed Apr 23 03:00:45 PDT 2014


Error:
====
Hello, I streamed 1280x720 video to android. I used *ffdec_h264* but It's to
slow to decode video. I read at 
http://docs.gstreamer.com/display/GstSDK/Basic+tutorial+16%3A+Platform-specific+elements
<http://docs.gstreamer.com/display/GstSDK/Basic+tutorial+16%3A+Platform-specific+elements>  
and used *amcviddec-omxgoogleh264decoder* insteads of ffdec_h264.

My pipeline:
data->pipeline = gst_parse_launch("udpsrc port=5000
caps=\"application/x-rtp, media=video, clock-rate=90000, encoding-name=H264,
sprop-parameter-sets=\\\"J2QAFKwrQLj/LwDxImo\\\\=\\\\,KO4fLA\\\\=\\\\=\\\"\",
payload=96\" ! queue ! rtph264depay  ! queue !
amcviddec-omxgoogleh264decoder ! autovideosink sync=false", &error);

But I got errors:
//////////////////////////////////////////////////////////////////////////////////////////////
04-23 16:48:55.181: I/OMX(17146): width (0), height (0), fps (0)
04-23 16:48:55.201: E/SoftAVC(17146): Decoder failed: -2
04-23 16:48:55.201: E/ACodec(17146): [OMX.google.h264.decoder]
ERROR(0x80001001)
04-23 16:48:55.206: E/MediaCodec(17146): Codec reported an error. (omx error
0x80001001, internalError -2147483648)
....

04-23 16:48:56.136: I/tutorial-3(17146): gstamcvideodec.c(1104):
gst_amc_video_dec_loop ():
/GstPipeline:test-pipeline/GstAmcVideoDec-OmxGoogleH264Decoder:amcvideodec-omxgoogleh264decoder0:
04-23 16:48:56.136: I/tutorial-3(17146): Failed to dequeue input buffer 
04-23 16:48:56.136: I/tutorial-3(17146):  Error received from element
amcvideodec-omxgoogleh264decoder0: GStreamer encountered a general
supporting library error.

.......

04-23 16:48:56.136: I/tutorial-3(17146): gstamcvideodec.c(1104):
gst_amc_video_dec_loop ():
/GstPipeline:test-pipeline/GstAmcVideoDec-OmxGoogleH264Decoder:amcvideodec-omxgoogleh264decoder0:
04-23 16:48:56.136: I/tutorial-3(17146): Failed to dequeue output buffer 
04-23 16:48:56.136: I/tutorial-3(17146):  Error received from element
amcvideodec-omxgoogleh264decoder0: GStreamer encountered a general
supporting library error.
//////////////////////////////////////////////////////////////////////////////////////////////

Has anybody had any success using *amcviddec-omxgoogleh264decoder* element
on Android? Thank you.



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/amcviddec-omxgoogleh264decoder-OMX-google-h264-decoder-ERROR-0x80001001-tp4666567.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list