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)
Hi Team,
I am using the Deep stream 6.0 sdk in ubuntu machine locally, I am following the example of deepstream -image-meta -test for saving the full frame, instead of obj_meta I am passing the frame_meta Like this NvDsUserMetaList *usrMetaList = frame_meta->frame_user_meta_list but its giving segmentation fault , So I tried with these lines of code in osd _sink_pad_buffer_probe as mentioned below
GstMapInfo inmap;
if (gst_buffer_map (buf, &inmap, GST_MAP_READ)) {
char fileNameString[FILE_NAME_SIZE];
const char *osd_string = “OSD”;
snprintf (fileNameString, FILE_NAME_SIZE, “%s_%d_%d.jpg”,
osd_string, frame_number, frame_meta->source_id);
FILE *file = fopen (fileNameString, “wb”);
if (inmap.data != NULL && inmap.size > 0){
g_print(“\n map.size %ld \n”,inmap.size);
fwrite (inmap.data, sizeof (guint8), inmap.size, file);
}
fclose (file);
gst_buffer_unmap (buf, &inmap);
}
I am getting the output as OSD image, but no data written on it its size is in kb, I am not sure whether it’s a full frame image or not Can anyone help me to resolve this issue and get full frame after inferencing.