How to enhance decoder performance on T4?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) T4
• DeepStream Version 6.2
• JetPack Version (valid for Jetson only)
• TensorRT Version 8.0
• NVIDIA GPU Driver Version (valid for GPU only) 440
• Issue Type( questions, new requirements, bugs) questions
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

I test the decoder performance on jetson with command
“gst-launch-1.0 rtspsrc location=rtsp://admin:Aa111111@192.168.1.10:554/h264/ch1/main/av_stream latency=0 ! rtph264depay ! h264parse ! nvv4l2decoder disable-pdb=true ! nvvideoconvert ! video/x-raw,width=1280,height=720,format=BGRx ! videoconvert ! ximagesink”,
and the latency is around 100ms.
But when I test the decoder performance on T4 with similar command
“gst-launch-1.0 rtspsrc location=rtsp://admin:Aa111111@192.168.1.10:554/h264/ch1/main/av_stream latency=0 ! rtph264depay ! h264parse ! nvv4l2decoder ! nvvideoconvert ! video/x-raw,width=1280,height=720,format=BGRx ! videoconvert ! ximagesink”,
and the latency is 200-800ms because of without property disable-pdb=true

So how to enhance the decoder performance on T4?

How did you measure the latency of the pipeline?

I compare the timestamp in the command and this record in the picture.

Do you mean you measure the latency between the RTSP server and the display on screen?

not the RTSP server. It is timestamp printed on command line and I record it with camera.
I compare the timestamp when I get the image and the timestamp record in the image.

What kind of timestamp? PTS of the GstBuffer?

the timestamp like this:

#!/bin/bash
while true
do
timestamp=$(date +%s%3N)

echo “$timestamp”
done

It is the local time, where did you print the time?

the command line.

What command line? Can you elaborate the exact methods you calculate the latency?

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

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