Nvstreammux logs a warning every 5 milliseconds

• Hardware Platform: GPU
• DeepStream Version: 6.3
• TensorRT Version:
• NVIDIA GPU Driver Version: 530.41.03
• Issue Type: Bug
• How to reproduce the issue ? See below

When the pipeline is in state PLAYING with no sources active the new nvstreammux logs the following warning every 5 milliseconds:

nvstreammux gstnvstreammux.cpp:1392:gst_nvstreammux_src_push_loop: warning: No Sources found at the input of muxer [videomux]

In our application sources are added on request. The nvstreammux option drop-pipeline-eos is enabled to make it possible to keep the pipeline running continuously. As soon as there are no sources the above message is logged every 5 milliseconds from nvstreammux. This makes it difficult to use GST_DEBUG=2 and above, which is otherwise useful to get a log of any real problems.

We did not see this behaviour with DeepStream 6.2, so we think it was introduced in DeepStream 6.3. Ideally this log message should be at a lower GST_DEBUG level such as TRACE instead.

Thanks for the suggestion. Since the nvstreammux is open source now. You can try
to modify that in the opt\nvidia\deepstream\deepstream\sources\gst-plugins\gst-nvmultistream2\gstnvstreammux.cpp.

Thanks for the quick reply! Yes, we have tested changing the code and rebuilding the nvstreammux. That works well as far as we can tell, but it still feels slightly risky to have a custom built nvstreammux, so we will evaluate if the benefit is worth the risk in this case. It is very good that the nvstreammux is now open source and that there are build instructions and Makefiles included!