androidmedia encoder problems

stic at free.fr stic at free.fr
Sun Jan 19 16:53:51 PST 2014


does it means that there is no such data provided (sps pps) by the encoder, even at startup ? How is it possible if the client is able to display something when it is connected at startup ?
If I can't use h264parse, I just would like to resend necessary data in pipeline to allow client to display the stream even if it did connect connect at startup.
How could I do that ? Can I do this directly by modifying the gstreamer encoder element ?

Thanks a lot


----- Mail original -----
De: "Sebastian Dröge" <sebastian at centricular.com>
À: "Discussions about GStreamer on Android" <gstreamer-android at lists.freedesktop.org>
Envoyé: Dimanche 19 Janvier 2014 21:41:34
Objet: Re: androidmedia encoder problems

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

_______________________________________________
gstreamer-android mailing list
gstreamer-android at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-android


More information about the gstreamer-android mailing list