Asking for examples of rsonvif
Mathieu Duponchelle
mathieu at centricular.com
Fri Jun 28 15:59:45 UTC 2024
Hello Matias,
Yes, documentation is severely lacking for those elements :| In practice on the receiving side I was running pipelines such as:
```
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
```
On the sender side, you are going to want to produce XML data according to the ONVIF specification, route it through `rtponvifmetadatapay` and send it over, I have not done any sort of authoring as part of my work on this to be honest :)
Wishing you luck!
On Thu, 2024-06-27 at 21:19 +0000, Matias Varela via gstreamer-devel wrote:
> Hi everyone.
>
>
> I'm very new to gstreamer and also to this email list, but I can't find any information on how to use rsonvif ([https://gstreamer.freedesktop.org/documentation/rsonvif](https://gstreamer.freedesktop.org/documentation/rsonvif))
>
>
> 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.
> This is the general idea, so any information to point me in the right direction is appreciated.
>
>
> 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.
>
>
> Thanks!
>
>
> matuu
>
>
> --
> [](https://htmlsig.com/t/089c702b7f9c58b7)
> **Matias Varela** | Backend Engineer
>
> **AI | IoT | Connectivity**
> [www.epicio.com](http://www.epicio.com/)
>
> [](https://htmlsig.com/t/d56b6f74629cfb51) [](https://htmlsig.com/t/00f7f83b81c89d7d) [](https://htmlsig.com/t/f4db9c23c345c90e) [](https://htmlsig.com/t/5136fd08f99f1659) [](https://htmlsig.com/t/580ede04aa380bd8)
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20240628/dcd43391/attachment-0001.htm>
More information about the gstreamer-devel
mailing list