Android hardware vp8 decoder

Sérgio Agostinho sergio.r.agostinho at gmail.com
Tue Feb 10 09:08:54 PST 2015


Hello everyone,

I'm trying to decode vp8 using the hardware accelerated decoder in android
media but I'm having issues linking the elements. I got the software
decoder to work on android with a pipeline similar to this

udpsrc ! rtpjitterbuffer ! rtpvp8depay ! queue ! vp8dec ! videoconvert !
jpegenc ! multipartmux ! multisocketsink

but once I replace vp8dec with amcviddec-omxgooglevp8decoder I can no
longer start my pipeline. I'm able to link the hardware plugin but when I
try setting the pipeline to play it fails with

W/GStreamer+basesrc﹕ 0:00:11.056178641 0x78bfbac0
gstbasesrc.c:2943:gst_base_src_loop:<video_rtp_in_udpsrc> error: Internal
data flow error.
W/GStreamer+basesrc﹕ 0:00:11.056285412 0x78bfbac0
gstbasesrc.c:2943:gst_base_src_loop:<video_rtp_in_udpsrc> error: streaming
task paused, reason not-negotiated (-4)

I've set the debug level to 9 on the amcviddec-omxgooglevp8decoder, using

gst_debug_set_threshold_from_string("amcviddec-omxgooglevp8decoder:9",
TRUE);

and got these additional messages,

W/GStreamer+amc﹕ 0:00:01.349565625 0x75f13980
gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0x7f000789
W/GStreamer+amc﹕ 0:00:01.349880104 0x75f13980
gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0xb8ce62a8
W/GStreamer+amc﹕ 0:00:01.351246146 0x75f13980
gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0x7f000789
W/GStreamer+amc﹕ 0:00:01.351538854 0x75f13980
gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0xb8d02638
W/GStreamer+amc﹕ 0:00:01.352554479 0x75f13980
gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0x7f000789
W/GStreamer+amc﹕ 0:00:01.352833021 0x75f13980
gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0xb8cfe660
W/GStreamer+amc﹕ 0:00:01.354522083 0x75f13980
gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0x7f000789
W/GStreamer+amc﹕ 0:00:01.354810469 0x75f13980
gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0xb8cfc068
W/GStreamer+amc﹕ 0:00:01.355642448 0x75f13980
gstamc.c:3886:gst_amc_codec_info_to_caps Unknown color format 0x7f000789
W/GStreamer+amc﹕ 0:00:01.356632604 0x75f13980
gstamc.c:3872:gst_amc_codec_info_to_caps Unsupported mimetype 'audio/gsm'
W/GStreamer+amc﹕ 0:00:01.363979219 0x75f13980
gstamc.c:4135:gst_amc_codec_info_to_caps Unsupported mimetype
'video/x-vnd.on2.vp9'

Not sure if this is relevant or not but I'm using the
amcviddec-omxgooglevp8encoder simultaneosly, payloading using rtpvp8pay and
that's what is being fed into the udpsrc.

Need some additional ideas to debug this problem. Any feedback is
appreciated.

Cheers
Sérgio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150210/d54ba5b5/attachment-0001.html>


More information about the gstreamer-devel mailing list