androidmedia encoder problems

Sebastian Dröge sebastian at centricular.com
Tue Jan 21 00:40:01 PST 2014


On Mo, 2014-01-20 at 13:45 +0100, stic at free.fr wrote:
> h264parse log file is attached.
> Thanks.

Can you file a bug with a dump of that stream?

Also I think MediaCodec provides h264 in AVC format, that is you have to
get the csd-0 and csd-1 fields from the MediaFormat on the output side
of the codec... transform both together to a real AVCC structure and put
that into codec_data in the caps. And only after that output buffers.

This codec_data will contain the SPS/PPS, however it seems like they are
also included inside the stream... but for some reason h264parse does
not like to use them.

-- 
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-android/attachments/20140121/cd098b94/attachment.pgp>


More information about the gstreamer-android mailing list