Deepstream 6.4 and very low FPS

I have a pipeline with multiple rtspsrc input bins muxed by nvstreammux → nvinfer → nvdsosd → nvstreamdemux → fakesink. nvstreammux have live-source enabled.

The strange thing is that if i am running 2 inputs, FPS seems to be normal. But if running with a single stream, the FPS drops a lot. The same drop for 3 streams.

I am very confused. Do anyone had the same experience ?

Thanks in advance!

Looks like the main issue in the element nvstreammux. I changed batched-push-timeout=20000 and the problem were reduced.

Here is a lot of details to be tuned for nvstreammux to get this consistent, hopefully: Gst-nvstreammux New — DeepStream documentation 6.4 documentation.

Very sad that this core element is so fragile. FPS is the weakness there.

Please keep in mind that most of the elements you mentioned are not provided by the GStreamer project but by a 3rd party. They are definitely not “core”.

1 Like