Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)
Jetson
• DeepStream Version
6.0
Hi, I am working on deepstream-app (deepstream_app_main.c in the deepstream-nvdsanalytics-test app). My requirement is to trigger smart recording based on object detections and write the directions of the detected objects while smart record is writing to a video.
I can trigger the smart recording based on object detections from the callback function all_bbox_generated
and get the directions from the nvdsanalytics_src_pad_buffer_probe
separately. However, for my use case, I need to trigger smart record from the nvdsanalytics_src_pad_buffer_probe
So, my question is how do I access the bin to trigger smart record from this probe as the callback function has the AppCtx element form which I could access the bin, but there is no AppCtx element in the probe.