Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)
GPU
• DeepStream Version
6.1.1
• JetPack Version (valid for Jetson only)
• TensorRT Version
8.4
• NVIDIA GPU Driver Version (valid for GPU only)
515.86.01
• Issue Type( questions, new requirements, bugs)
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)
I use deepstream to connect multiple channels of rtsp monitoring (about 100 channels), and only capture key frames are set in the code. The monitored i frame is 50, and the fps is 25. According to expectations, deepstream should capture an image in 2 seconds , but after running it for a few hours, I observed the log of the console and found that (every time I capture a picture, I will output the counter corresponding to the monitoring), the number of pictures captured by most monitoring is not much different, maybe more than a dozen Dozens of pictures, but there is one monitor that has 2000 more pictures than other monitors. This monitor reads an image almost every second. Why? The following is the code for setting key frames:
def decodebin_child_added(child_proxy, Object, name, user_data):
logging.info(f"Decodebin child added: {name}")
if name.find("decodebin") != -1:
Object.connect("child-added", decodebin_child_added, user_data)
if "source" in name:
source_element = child_proxy.get_by_name("source")
if source_element.find_property('drop-on-latency') is not None:
Object.set_property("drop-on-latency", True)
if "nvv4l2decoder" in name:
decoder_elem = child_proxy.get_by_name(name)
if decoder_elem.find_property('skip-frames') is not None:
logging.info(f"only decode key frame")
Object.set_property('skip-frames', 2)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)