<p>Hello Matias,</p>
<p>Yes, documentation is severely lacking for those elements :| In practice on the receiving side I was running pipelines such as:</p>
<pre><code>gst-launch-1.0 onvifmetadatacombiner latency=500000000 name=omc ! videoconvert ! onvifmetadataoverlay ! videoconvert ! autovideosink rtspsrc latency=500 add-reference-timestamp-meta=true location="redacted" name=src src. ! application/x-rtp, encoding-name=H264 ! rtph264depay ! h264parse ! avdec_h264 ! omc.media src. ! rtponvifmetadatadepay ! onvifmetadataparse ! omc.meta
</code></pre>
<p>On the sender side, you are going to want to produce XML data according to the ONVIF specification, route it through <code>rtponvifmetadatapay</code> and send it over, I have not done any sort of authoring as part of my work on this to be honest :)</p>
<p>Wishing you luck!</p>
<p>On Thu, 2024-06-27 at 21:19 +0000, Matias Varela via gstreamer-devel wrote:</p>
<blockquote type="cite">
<p>Hi everyone. </p>
<p>I'm very new to gstreamer and also to this email list, but I can't find any information on how to use rsonvif (<a href="https://gstreamer.freedesktop.org/documentation/rsonvif">https://gstreamer.freedesktop.org/documentation/rsonvif</a>)</p>
<p>I'm building an application to take a rtsp stream, detect and track some objects, and then place this metadata according to the ONVIF Profile M specification (using rtponvifmetadatapay). In the end, I need to use onvifmetadataoverlay to see both things together  in the player.<br />
This is the general idea, so any information to point me in the right direction is appreciated.</p>
<p>I saw the code https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/tree/main/net/onvif/src?ref_type=heads, and, beyond a relative new with rust, the code do not have comments or readme to know how I can use it.</p>
<p>Thanks!</p>
<p>matuu</p>
<p>--
<a href="https://htmlsig.com/t/089c702b7f9c58b7"></a>
<strong>Matias Varela</strong> |  Backend Engineer</p>
<p><strong>AI | IoT | Connectivity</strong><br />
<a href="http://www.epicio.com/">www.epicio.com</a></p>
<p><a href="https://htmlsig.com/t/d56b6f74629cfb51"></a>  <a href="https://htmlsig.com/t/00f7f83b81c89d7d"></a>  <a href="https://htmlsig.com/t/f4db9c23c345c90e"></a>  <a href="https://htmlsig.com/t/5136fd08f99f1659"></a>  <a href="https://htmlsig.com/t/580ede04aa380bd8"></a> </p>
</blockquote>