androidmedia encoder problems

Sebastian Dröge sebastian at centricular.com
Sun Jan 19 12:41:34 PST 2014


On So, 2014-01-19 at 21:35 +0100, stic at free.fr wrote:
> MediaCodec.PARAMETER_KEY_REQUEST_SYNC_FRAME and setParameters are only available since Android 19 api :/
> But if we have the data in first frame, would it be possible to resend it directly from gstreamer encoder element ?
> To me it seems to be data put in codec headers with gst_video_encoder_set_headers.
> I would like this to be resent ... or something similar to allow to get config at any moment during streaming (not only at startup ...)

That's exactly what the config-interval on h264parse and rtph264pay is
doing, yes. Additionally that parameter new since Android 19 will also
send a complete new key frame.


-- 
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/20140119/343416a7/attachment.pgp>


More information about the gstreamer-android mailing list