android h264 hardware encoding

cee1 fykcee1 at gmail.com
Tue Oct 22 03:16:03 CEST 2013


Hi,

2013/10/22 yoyosuper8 <yoyosuper8 at yahoo.com>:
> Actually, that is the whole log. That is all I get besides the other logs for
> other stuff on the phone, but as far as the log for the app goes, that is
> it.
> Now in the log there is a portion where it shows that its registering the
> ducati encoder and right after that a warning log shows saying that
> gst_amc_codec_info_to_caps Unknown color format 0x7f000789 and by doing a
> google search on it I came up with this: OMX_COLOR_FormatAndroidOpaque =
> 0x7F000789
> Now, my understanding is that the ducati hw encoder uses color format 21 and
> NV21 is what represents that color format value.
> How do I find out if the encoder element is accepting that NV21 caps?

It seems the hw not support COLOR_FormatYUV420SemiPlanar(its value is
21, i.e. NV12), at least the media codec reported so:
10-21 09:10:09.609: I/GStreamer+amc(32195): 0:00:00.623413086 0x522690e0
gstamc.c:1669:scan_codecs Checking codec 'OMX.TI.DUCATI1.VIDEO.H264E'
10-21 09:10:09.609: I/GStreamer+amc(32195): 0:00:00.623596192 0x522690e0
gstamc.c:1741:scan_codecs Codec 'OMX.TI.DUCATI1.VIDEO.H264E' has 1 supported
types
10-21 09:10:09.609: I/GStreamer+amc(32195): 0:00:00.623962403 0x522690e0
gstamc.c:1784:scan_codecs Supported type 'video/avc'
10-21 09:10:09.609: I/OMXClient(32195): Using client-side OMX mux.
10-21 09:10:09.624: I/GStreamer+amc(32195): 0:00:00.638702393 0x522690e0
gstamc.c:1852:scan_codecs Color format 0: 2130706688
10-21 09:10:09.624: I/GStreamer+amc(32195): 0:00:00.638793946 0x522690e0
gstamc.c:1852:scan_codecs Color format 1: 2130708361

It reported two supported color formats:
* 2130706688: that is COLOR_TI_FormatYUV420PackedSemiPlanar
* 7f000789: that is COLOR_FormatAndroidOpaque

Non of them is supported by gstamcvideoencoder yet.



-- 
Regards,

- cee1


More information about the gstreamer-devel mailing list