• Hardware Platform (Jetson / GPU) : NVIDIA Jetson AGX Orin
• DeepStream Version : 7.1
• JetPack Version (valid for Jetson only) : 6.0
• TensorRT Version : 8.6.2.3
• Issue Type( questions, new requirements, bugs) : question
Hello,
In my pipeline I am using such 2 encoders with the following properties:
...
# Create H265 encoder element
h265_encoder = create_pipeline_element(
"nvv4l2h265enc", "h265-encoder", "H265 Encoder", logger
)
h265_encoder.set_property("iframeinterval", 60)
h265_encoder.set_property("idrinterval", 60)
pipeline_elements.append(h265_encoder)
...
...
# Create H264 encoder element
h264_encoder = create_pipeline_element(
"nvv4l2h264enc", "h264-encoder", "H264 Encoder", logger
)
h264_encoder.set_property("iframeinterval", 1)
h264_encoder.set_property("insert-sps-pps", True)
h264_encoder.set_property("idrinterval", 1)
pipeline_elements.append(h264_encoder)
...
I would like to configure those encoders to use constant quality mode on both of them instead of bitrate-based settings to maintain consistent video quality. After reviewing possible settings I found:
- control-rate which might be set to 0 (variable_bitrate), 1 (constant_bitrate), 2
However except this one i cannot find any other settings that might be set on those elements to ensure constant quality.
Question
How can i configure those 2 encoders so that they work in constant quality mode? Are there any other properties that should be set to enable it?