How to select the right bitrate for my video stream

• Hardware Platform (Jetson / GPU)
Jetson Orin
• JetPack Version (valid for Jetson only)
5.0.2
• TensorRT Version
8.4.1-1+cuda11.4

The default value for bitrate in the RTSP out demo application (deepstream_imagedata-multistream_redaction.py) is 4000000.

I noticed the output stream from my detector is not the same quality as the video from the camera.
Also, I have another project in which I have a GStreamer pipeline that creates a stream and had the same problem (the resolution of the video is not the same as my application).
I learned I had to match the pipeline 264 encoding bitrate with the video bitrate. I was able to get the video bitrate by just looking at the video properties.

For my Deepstream application, How do I calculate the right bitrate from the IP camera?
The camera settings do not show the current bitrate, It is set to “variable”. I can set a maximum bitrate however when I do that and restart my Deepstream application with the same bitrate I don’t see any changes in the quality of the stream.

The bitrate is set to video encoder, not to camera or RTSP. It is a result of comprehensive consideration of your video’s resolution, fps and video encoder.

1 Like

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