Because i don’t know fps of input source, so i want to set fps of input source is constant. I modified deepstream-app to add videorate element for each source (code is below for reproducing):
bin->video_rate = gst_element_factory_make (“videorate”, “video_rate”);
if (!bin->video_rate) {
NVGSTDS_ERR_MSG_V (“Could not create element ‘videorate’”);
goto done;
}
caps = //gst_caps_new_empty_simple (“video/x-raw”);
gst_caps_new_simple (“video/x-raw”,
“format”, G_TYPE_STRING, “RGBA”,
“framerate”, GST_TYPE_FRACTION, 10 , 1,
NULL);
feature = gst_caps_features_new (“memory:NVMM”, NULL);
gst_caps_set_features (caps, 0, feature);
…
NVGSTDS_LINK_ELEMENT (bin->nvvidconv, bin->video_rate);
NVGSTDS_LINK_ELEMENT (bin->video_rate, bin->cap_filter1);
However, pgie is chaotic after that. I think order of frame after pgie is wrong. It’s ok if pgie is disable. Can you help me?
• Hardware Platform (Jetson / GPU) jetson nano
• DeepStream Version 6.0
• JetPack Version (valid for Jetson only)
• TensorRT Version 8.0.3.1
• 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)