How to make smartrecord work for local events in deepstream 5.0?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
Aorus Xtreme 2080Ti
• DeepStream Version
Deepstream 5.0
• TensorRT Version
7.2
• NVIDIA GPU Driver Version (valid for GPU only)
440

I’ve only seen it being mentioned here and there in the official manual and some blog posts but I haven’t seen anywhere how to make smart record work for local events. Any help in this regard would be appreciated.

Have you checked deepstream-test5?

Hi yes, over the past few days I’ve been using dstest5 to send a receive messages to my cloud server. Instead of trying smartrecord with local events, I thought I’d trigger it with cloud messages. I’m using AWS but I don’t think the aws shared library has the ability to subscribe to messages. If I add [message-consumer] line in my config, the code throws this error.

Let me know if there is anything I can do. I’m not sure how to trigger smart record with local events the way I want. I think by default the application triggers start and stop events every 10 seconds.

Please check this section https://docs.nvidia.com/metropolis/deepstream/dev-guide/index.html#page/DeepStream_Development_Guide/deepstream_smart_video_record.html# for how to use the smart record.