Read frame

Hi,

I try to run my app on DeepStream-4.0 (deepstream-app sample). Where is the frame readed? (before inference)

Thanks.

That depends on your configuration. If the local file source is configured, it is read by the gstreamer filesrc plugin. If the RTSP source is configured, the stream is received with gstreamer rtspsrc plugin.
What is your requirement?

Hi Chen,

Yes, I know that. I see on deepstream-app folder (/opt/nvidia/deepstream/deepstream-4.0/sources/apps/sample_apps) have 3 .c file. And I checked it, but I can not see where is frame readed for inference. (before inference processing)

Thanks.

Since Deepstream is a Gstreamer based implementation, all frame data is transfered between plugins as GstBuffer. You can refer to the /opt/nvidia/deepstream/deepstream-4.0/sources/gst-plugins/gst-nvinfer/ for how the inference component read and process the frame data.

For Gstreamer mechanism, please refer to https://gstreamer.freedesktop.org/

Hi Chen,

I will try, Thanks you.