Re: rsonvif: How to render metadata using onvifmetadataoverlay?

Mathieu Duponchelle via gstreamer-devel <[email protected]>
Newsgroups gmane.comp.video.gstreamer.devel
Message-ID <[email protected]>
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@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!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.