rsonvif: How to render metadata using onvifmetadataoverlay?
Mathieu Duponchelle
mathieu at centricular.com
Fri Sep 8 11:21:08 UTC 2023
Hey, here's a sample from my bash history:
gst-launch-1.0 onvifmetadatacombiner latency=500000000 name=omc !
videoconvert ! onvifmetadataoverlay ! videoconvert ! autovideosink
rtspsrc latency=500 add-reference-timestamp-meta=true location="XXX"
name=src src. ! application/x-rtp, encoding-name=H264 ! rtph264depay !
h264parse ! avdec_h264 ! omc.media src. ! rtponvifmetadatadepay !
onvifmetadataparse ! omc.meta
Cheers,
Mathieu
On Tue, 2023-09-05 at 15:57 +0200, Daria Łach via gstreamer-devel
wrote:
> Hello,
>
> I am creating an RTSP client which is going to display video and
> metadata (as bounding boxes and some other text information) from an
> IP camera supporting ONVIF profile M. I would like to use rsonvif
> plugins.
> I am able to display video as well as display/save metadata as XML
> using for example:
> gst-launch-1.0 rtspsrc location=rtsp:// user:password at ip/rtsp/xxxx
> name=t t. ! queue ! application/x-rtp, media=video, clock-
> rate=90000,encoding-name=H264 ! rtph264depay ! avdec_h264 !
> videoconvert ! glimagesink sync=false t. ! queue ! application/x-rtp,
> media=application ! filesink location=data.txt
> I would like to use onvifmetadataoverlay to display metadata over
> video but I don't know how to do it. Do you have any examples of
> working pipelines with onvifmetadataoverlay?
>
> Many thanks!
More information about the gstreamer-devel
mailing list