Smart Video Record錄影疑問

**• Hardware Platform (GPU) RTX 3060
**• DeepStream Version 6.0
• TensorRT Version
**• NVIDIA GPU Driver Version (valid for GPU only) CUDA11.7
• Issue Type (questions)

您好,想請問一下使用 Smart Video Record錄影的時候,當下的串流影像是不是就不會繼續存在smart-rec-cache裡面?
因為我發現我在進行連續錄影的時候,剛剛錄過的影像就沒辦法被smart-rec-start-time所設定的時間錄到。
當我設定smart-rec-start-time=60時
假設我第一次錄影的時段為8:00:00-8:30:00
第二次錄影的時段為8:30:00開始
連續錄影的狀態下我只能錄到8:30:00開始的影像
而無法錄影到8:29:00開始的影像
類似於以下網站的問題,請問現在有改善或有辦法修改嗎?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)

• DeepStream Version

• JetPack Version (valid for Jetson only)

• TensorRT Version

• NVIDIA GPU Driver Version (valid for GPU only)

• Issue Type( questions, new requirements, bugs)

• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)

• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

**• Hardware Platform (GPU) RTX 3060
**• DeepStream Version 6.0
• TensorRT Version
**• NVIDIA GPU Driver Version (valid for GPU only) CUDA11.7
• Issue Type (questions)

could you share the parameters when calling NvDsSRStart? could you use deepstream-testsr to reproduce this issue?

[source0]
smart-record=1
smart-rec-dir-path=/testconfig_output/
#smart-rec-file-prefix=smart_record
smart-rec-cache=120
smart-rec-container=0
smart-rec-start-time=60
smart-rec-default-duration=60
smart-rec-duration=60
smart-rec-interval=10
code:
NvDsSRSessionId sessId = 0;
guint startTime = 60;
guint duration = 100;
const char *str2 = “car”;
//= TimeUtils::currentTimeInMillis();
// std::cout << "1…>>>>>>>------------------->smart_rec_cache_size: " << src_bin->config->smart_rec_cache_size << “\n”;
int64 smartRecord_timestamp = TimeUtils::currentTimeInMillis();
if (src_bin->config->smart_rec_duration >= 0)
duration = src_bin->config->smart_rec_duration;

if (src_bin->config->smart_rec_start_time >= 0)
startTime = src_bin->config->smart_rec_start_time;
NvDsSRStart(ctx, &sessId, startTime, duration, NULL);

透過deepstream-testsr
假使我第一次錄影為09:00開始錄
錄影的容容為8:59到9:01
第二次的錄影的時間為09:01開始
內容卻只有9:01-9:02,理論上應該要是9:00到9:02

thanks for your report, this overlapped smart record requirement is under development.

1 Like

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