Deepstream Decode Acceleration

Hello! Is there a way to accelerate the Deepstream decode? I’m currently seeing ~40ms latency. Thanks for your help!

1 Like

Hi,
One enhancement in low latency is to disable DPB buffers.

  disable-dpb         : Set to disable DPB buffer for low latency
                        flags: readable, writable
                        Boolean. Default: false

Please configure the property in nvv4l2decoder.

2 Likes

hello @ab604u, How could I do export the chart measure performance like you?
hello @DaneLLL about nvv4l2decoder element, Why I check it out by gst-inspect-1.0 nvv4l2decoder on DS version 5.0 preview and but do not have the disable-dpb field?

1 Like

@ab604u I also really want to know how you created the latency chart. ;-)

2 Likes

Hi @trild-vietnam
I can see it on Xavier/r32.4.2. Do you use Jetson platforms?

fyi. I am using jetson nano with DS5.0p and the disable-dpb is there when i run gst-inspect-1.0 nvv4l2decoder.

What is the DPB buffer for? What are the downsides to disabling it?

hello @DaneLLL I checked on P4, 1080i and T4. all of them don’t have

Hi,
On desktop GPUs, nvv4l2decoder is implemented on the basis of NVIDIA VIDEO CODEC SDK. The function is not supported. The property disable-dpb is specific to Jetson platforms.

For detail about the implementation, you may check the source code of gst-v4l2 in
https://developer.nvidia.com/embedded/L4T/r32_Release_v4.2/Sources/T186/public_sources.tbz2

1 Like