How optimize the custom logic in Deepstream python SDK

• Hardware Platform (Jetson / GPU) : Jetson Nano
• DeepStream Version: 5.1
• JetPack Version (valid for Jetson only) : 4.5.1
• TensorRT Version :

Hello there,

I am using now I want to add some custom logic in this script.

I have already tried it but as soon as I add something fps drops drastically.
I am trying to change tiler_sink_pad_buffer_probe, changing anything in this function it increases the processing time and fps drops.

Is there any optimized way or method to do it?

Naresh Mungpara


Could you share the custom logic with us to check?
Since it is a multistream pipeline, please make sure your logic can support number_sources concurrently.



While I was going through the code I have worked on num_source. Currently I am working object tracking and for that I have Implemented tracker part in the code for different num_source. Right now it’s working fine. But as it in tiler_sink_pad_buffer_probe function. And that’s why I need more optimized way to intergrate it.

Thank you,
Naresh Mungapara

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.


Would you mind sharing the source of your customized tiler_sink_pad_buffer_probe function?
So we can check the performance issue directly?


This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.