Smart Record with nvdsanalytics elements

Please provide complete information as applicable to your setup.

**• Hardware Platform (Jetson / GPU):jetson nano
**• DeepStream Version:5.1
**• JetPack Version (valid for Jetson only): 4.5.1

Hi,
We are using the deepstream occupancy analytics app and we are looking for a solution to be able to smart record videos from an RTSP source that shows the bounding boxes an the lines/detection zone, etc from the config_nvds file. So far we are only able to record raw videos when we configure smart recording from the source group, and we add the smart record parameters to the sink group as recommended here in this link: [Deepstream 5.0 Smart Record - #19 by jasonpgf2a] , it doesn’t recognize the paramaters.

In the link above it is also mentioned that we can use a tee source pad after the osd element, but we are not sure how that works.

Could you please provide some information on how we can do this?

Thanks

Do you need to smart record the analytics output to a video file while display the result on screen at the same time?

The smart recording interface Smart Video Record — DeepStream 6.0 Release documentation. There is already smart recording interface sample codes in deepstream SDK. /opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-testsr

Hey @Fiona.Chen

yes, we need to smart record the output video of test5 with the detection lines and bounding boxes. I read the deepstream-testsr app and I have a few questions:
1-How do you recommend we merge the already built deepstream occupancy analytics app based on test5 app so that we can use the peoplenet model and request recordings through cloud through a message consumer
2-When we run the deepstream-testsr we get a frame that is very zoomed in and not th regular frame we get from the camera. What could that be due to?

Thanks

You need to modify the source code. All our deepstream sample apps are open source.

deepstream-testsr only supports rtsp stream. Current nvstreammux set width=1920, height=1080 in /opt/nvidia/deepstream/deepstream/sources/apps/sample_apps/deepstream-testsr/deepstream_test_sr_app.c, you can modify to any resolution you like.

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