Example for manual saving of video clips using SmartRecord


Is there any example on this? The recording will start on trigger

if (event_is_true) {
NvDsSRStart (…)

However I’m not sure as where to initialize NvDsSRCreate. I’m currently modifying the test5 example.

Any help would be helpful! Thanks!

There is sample codes in deepstream-app codes, the NvDsSRCreate() is initialized with create_rtsp_src_bin().