Smart recorder taking too long to start recording

Please provide complete information as applicable to your setup.

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

I start recording based on events, and sometimes it takes too long to start a recording (can get up to 60+ seconds after the signal was emitted). Here’s what I use for smart recorder:

nvurisrcbin.set_property("smart-record", 2)
nvurisrcbin.set_property("smart-rec-cache", 120)
nvurisrcbin.set_property("smart-rec-container", 0)
nvurisrcbin.set_property("smart-rec-mode", 1)
nvurisrcbin.set_property("smart-rec-default-duration", 30)

For starting a recording I use:
element.emit('start-sr', sessionid, 10, 10, sr_user_context_buf)

I’ve read on forums that it could be waiting for a I-frame to arrive, but I checked and my RTSP source delivers an I-frame every second. Is there any parameter I could try tweaking or any more information needed to investigate further?

  1. could you print the timestamp of calling element.emit(start-sr)? then compare with the filename, which include timestamp like “With_BBox_00001_20240903-145433_532370.mp4”.
  2. from the code, the time length of each recording file should be 20 seconds. could you check if the time length?

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

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