How to run deepstream-test5 with smart record

I have followed the documentation but am unable to get deepstream-test5 to write any smart record files.

Here is the config that I have added to the source0 group:

smart-record=1
smart-rec-dir-path=/home/jason/dev/test
smart-rec-file-prefix=camera101
smart-rec-start-time=3
smart-rec-duration=15
smart-rec-interval=60

I run deepstream-test5 and after ten minutes no smart record files are in /home/jason/dev/test ? My understanding is that it should be writing a new video file every 60 seconds.

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) Jetson Nano
• DeepStream Version 5.0
• Issue Type( questions, new requirements, bugs) Question

Currently, deepstream-app(including deepstream-test5) can only support smart recording with rtsp source. So the above configurations should be the rtsp source configurations in deepstream-app config file.

If you want to run smart recording locally, you need to set ‘smart-record=2’.
If you want to use smart recording with cloud, you need to set ‘smart-record=1’ and enable nvmsgbroker to receive control message from the server.
https://docs.nvidia.com/metropolis/deepstream/dev-guide/text/DS_Smart_video.html