Problem with gst-dsexample plugin when pausing and resuming deepstream

• Hardware Platform (Jetson / GPU): Jetson
• DeepStream Version: 5.1
• JetPack Version (valid for Jetson only): 4.5.1
• Issue Type( questions, new requirements, bugs): Question

Hi,

We are using Deepstream as an image classifier with network-type set to 1 and a modified version of gst-dsexample plugin to get every full frame of the video source (csi camera). At certain times we pause deepstream and after some time we resume it so that it carries on saving images.
To understand each other, lets call “recording” to all images captured from the time the process was resumed until it is paused again. The problem comes when we are making a “recording” of object A, and after pausing deepstream process we change the object A to object B. When we start new “recording” (resume deepstream) to make a “recording” of object B, some frames from previous “recording” cotaining object A are saved. It´s like they are kept in a buffer but we are not sure about that.

We would like to know where they are stored to delete them.
Can you help us?

Thanks in advance.

Gstreamer works in asynchronized mode. There are some bufferring in many modules. When you use “pause” and “resume”, the buffering will not be cleared when “pause”.

It is basic gstreamer coding skills. Please refer to gstreamer resources. GStreamer: open source multimedia framework

Thank you for your response Fiona.

We have not much experience with GStreamer, but we will check the resources you sent and try to do it.

Meanwhile, if there is someone else who could guide us to find a solution to our problem we would appreciate it a lot.

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