Changing h264 bitrate on the fly at the run time with driveworks serialization api

Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.8.1
DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
1.9.3.10904
other

Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other

Hello Nvidia Team,
i am using drivework serialization api to encode the official nvidia support gmsl2 camera into h264 stream.
Using the rig file, i can set the bitrate for the encoder at the inititialization of the serializer.
Here is how i define the properties for the encode:

newParams +=,type=user,format=h264,bitrate=800000,gop-length=1,quality=24,fifo-size=4,encoder-instance=0

My question is that how can i adjust the bitrate on the fly while the camera_sample application is running without having to restart the application?

thank you in advance!

Dear @buva5871,
It is not possible to change serializer parameters on the fly as they were set at the time of sensor Serializer initialization and a sensorSerializer handle is created with those parameters.

Is it like you want to pass serializer parameters via an interactive session and change the serializer behaviour?

Hi SivaRamaKrishnaNV,

“Is it like you want to pass serializer parameters via an interactive session and change the serializer behaviour?”
exactly, it would be great we can pass the serializer parameters interactively. For example, you run the application, give serializer parameters and initialize the serializer. You want to adjust the bitrate of the serializer while the serializer is running. The serializer will encoder the raw image with a different bitrate as defined. Do you think if it is possible to some how do that?

Dear @buva5871,
No. That’s not possible…

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