I have a question about amlvenc, the Gstreamer encoder

Hello, I am currently using the amlvenc element to encode video in Gstreamer. What I am curious about here is the Bitrate.

When creating a pipeline, I set the Bitrate to 3000kbps and send the video, and the Bitrate is 3000kbps. However, I need to change the Bitrate during the video transmission.

There is no CBR / VBR setting, and even if I change it dynamically with g_object_set(video_encoder, “bitrate”, 2000, NULL);, the Bitrate does not change.

Please help me.

Hello @ysjung

We will check this on our side.

Yes, thank you. I will wait.

Hello @ysjung

Could you share more details about your project? Why must to use the VBR ?

The reason why VBR should be used is to dynamically adjust the bitrate according to the network condition.

And to allow the user to change the bitrate to the desired bitrate while the video is being played.

1 Like

Could you tell us how you check the Bitrate does not change ?

Could you provide more details? We need to check how to check whether the Bitrate change as expected.

Hello @

Could you try to update the gst package and check again?

$ wget https://dl.khadas.com/.test/gstreamer-aml_0.6-202406_arm64.deb
$ sudo dpkg -i gstreamer-aml_0.6-202406_arm64.deb
$ sync

Then try to change the bitrate.