Add gst-dsexample pipeline in deepstream-test3

Dear team,

Specs-
• Hardware - Jetson nano
• DeepStream Version4.0.2
• JetPack Version 4.3
• TensorRT Version 6

I am referring back-to-back detector for two simultaneous detection with deepstream.
The anomaly detection seems does not work on jetson nano. So i was using deepstream-test3 app for the same.
I added “dsdirection = gst_element_factory_make (“dsdirection”, “dsdirection”);” and neccessary changes done like in anamoly detector… But it throws error-
Elements could not be linked. Exiting.

Please suggest steps to add gst-dsexample plugin with deepstream-test apps.
Thanks.

Hi,
There are sample code about linking dsexample in

deepstream-5.0/sources/apps/apps-common/src/deepstream_dsexample.c
deepstream-5.0/sources/apps/sample_apps/deepstream-opencv-test/deepstream_opencv_test.c

Please take a look.

Hi DaneLLL,
thanks for the reply.

One more question is can i store the output result as “output.mp4” in these deepstream-test apps? or back-to-back-detector?

Currently there is an issue with my display.

Hi,
For saving to a file, you can configure type=3 in sink group. Please refer to development guide.

Hi,
Thanks for the point…I know that.

I am asking in one of deepstream-test3 app or back-to-back detector. Here the the config file does not have sink group.

Hi,
Yo would need to customize test3 to run like: