carrying metadata through gst-rtsp-server pipeline
Mathieu Duponchelle
mathieu at centricular.com
Wed Dec 11 08:37:28 UTC 2019
One way to do this is to:
* Use gst_buffer_add_meta on buffers you pass to appsrc
* Write a GstElement subclass with caps application/x-rtp -> application/x-rtp,
and append it after the payloader. This element will be in charge of retrieving
your buffer metas and translating them to RTP extension data, an example
for how to set extension data is the rtponviftimestamp[1] element.
Hope that helps,
--
Mathieu Duponchelle · https://www.centricular.com
[1]: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/blob/master/gst/onvif/gstrtponviftimestamp.c
On 12/10/19 10:02 PM, ramoncaldeira wrote:
> Hi,
>
> I have the following pipeline in gst-rtsp-server: appsrc ! videoconvert !
> x264enc ! rtph264pay
>
> I wish to link information related to my synthesized video frames at appsrc
> with custom RTP headers on rtph264pay.
>
> I already tried two things:
>
> 1. Use a GQueue. Was unsuccessful.
> 2. Use gst_buffer_add_meta. Could not retrieve metadata later.
>
> Any ideas on how I can achieve this?
>
> Thanks,
>
> Ramon
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list