How to read GstNavigationEvent from "osd_sink_pad_buffer_probe"?

• Hardware Platform (Jetson / GPU)
• DeepStream 6.0 python

Hello, I am trying to read GstNavigationEvents (Mouse Click Locations) from osd_sink_pad_buffer_probe. This Mouse clicks are generated by gstreamer’s XvImageSink which are then pushed upstream. I couldnot find any way to read such events inside osd_sink_pad_buffer_probe.

I tried printing “info.type” inside osd_sink_pad_buffer_probe like below:

print("GST EVENT TYPE: {}".format(info.type))

I get the following :

GST EVENT TYPE: <flags GST_PAD_PROBE_TYPE_BUFFER | GST_PAD_PROBE_TYPE_PUSH of type Gst.PadProbeType>

I want to read mouseclicks from osd_sink_pad_buffer_probe so that I can modify the osd based on the mouseclicks from user.
Please help. Thank you.

This is not deepstream specified. Please google by yourself.

E.G. Adding buffer probe from within event probe callback and a query (github.com)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.