Latency using Deepstream / Python

Hi,
If your source is RTSP source, you can use

For achieving best performance:

  1. Run sudo nvpmodel -m 0 and sudo jetson_clocks
  2. Enable the property in nvv4l2decoder:
  disable-dpb         : Set to disable DPB buffer for low latency
                        flags: readable, writable
                        Boolean. Default: false
  enable-max-performance: Set to enable max performance
                        flags: readable, writable
                        Boolean. Default: false

  1. Enable the property in nvv4l2h264enc(or nvv4l2h265enc):
  maxperf-enable      : Enable or Disable Max Performance mode
                        flags: readable, writable, changeable only in NULL or READY state
                        Boolean. Default: false