• Hardware Platform Jetson
• DeepStream Version 6.3
• JetPack Version 5.1
• TensorRT Version 5.1
I want to restart pipeline once FPS reaches 0, here’s my previous question about this.
I’m restarting pipeline by changing states:
pipeline.set_state(Gst.State.NULL)
pipeline.set_state(Gst.State.READY)
pipeline.set_state(Gst.State.PLAYING)
The problem I have now is that when application starts the FPS of one stream will be 0, for example:
2024-07-23 06:19:02.420 | INFO | utils.FPS:perf_print_callback:106 - ***PERF: {'stream0': 35.05, 'stream1': 0.0}***
2024-07-23 06:19:07.425 | INFO | utils.FPS:perf_print_callback:106 - ***PERF: {'stream0': 28.37, 'stream1': 0.0}***
2024-07-23 06:19:12.427 | INFO | utils.FPS:perf_print_callback:106 - ***PERF: {'stream0': 28.19, 'stream1': 0.0}***
After restart I also get this warning message:
nvinfer gstnvinfer.cpp:1728:gst_nvinfer_process_objects:<secondary1-nvinference-engine> Source info not found for source 1. Maybe the GST_NVEVENT_PAD_ADDED event was never generated for the source.
nvinfer gstnvinfer.cpp:1728:gst_nvinfer_process_objects:<secondary1-nvinference-engine> Source info not found for source 1. Maybe the GST_NVEVENT_PAD_ADDED event was never generated for the source.
nvinfer gstnvinfer.cpp:1728:gst_nvinfer_process_objects:<secondary1-nvinference-engine> Source info not found for source 1. Maybe the GST_NVEVENT_PAD_ADDED event was never generated for the source.
The pipeline looks like this now:
streammux → pgie → tracker → sgie → tiler → nvvidconv → nvosd → sink
I had to switch from nvurisrcbin to uridecodebin since nvurisrcbin will fail when I try to restart pipeline.
How can I make the nvinfer process multiple streams and how do I remove the GST_NVEVENT_PAD_ADDED warning?