Hello,
I am running
**• 2080ti **
• DeepStream 5.1
• TensorRT 7.2.3
• 460.91.03
• questions
Hello,
I want to implement a custom pipeline for smart recording. I will use the same hierarchy as in gst-nvdssr.h
and I have some questions to make sure I am doing it the right way. I need to implement creating and linking the plugins in the function NvDsSRStatus NvDsSRCreate (NvDsSRContext **ctx, NvDsSRInitParams *params);
then I will need to implement the
NvDsSRStatus NvDsSRStart (NvDsSRContext *ctx, NvDsSRSessionId *sessionId,
guint startTime, guint duration, gpointer userData);
in this function I will query and seek the queue element to start recording from the position that I want according to the start time.
then I will need to implement the
NvDsSRStatus NvDsSRStop (NvDsSRContext *ctx, NvDsSRSessionId sessionId);
in this function I will need to send FLUSH_START wait for some time and send a FLUSH_STOP then send an EOS event
and in the destroy I will unref the elements.
Is this right or I am missing something ?
Any help would be appreciated.
Thank you in advance.