Hardware Platform (Jetson / GPU): GPU
DeepStream Version: 7.0
TensorRT Version: 8.6.1.6
NVIDIA GPU Driver Version (valid for GPU only): 535.183.01
Issue Type: Question / Debugging assistance
Description:
I am running deepstream-app
with a multistream setup (8 streams) and attempting to print the source_id
of each frame inside the process_meta
function in deepstream_app.c
. My main goal is to separate detections for each stream by checking the stream_id
.
I am currently using the following code snippet:
NvDsFrameMeta *frame_meta = (NvDsFrameMeta *) l_frame->data;
stream_id = frame_meta->source_id;
printf("Processing detections for Stream ID: %d\n", stream_id);
However, the output always shows Stream ID
as 0 for all frames:
Processing detections for Stream ID: 0
Processing detections for Stream ID: 0
Processing detections for Stream ID: 0
I have attached the relevant deepstream_app.c
file.
deepstream_app.txt (72.8 KB)