Missing bitrate documentation for nvv4l2h264enc


I’m currently working in an AGX Xavier, and I’m trying to develop a method for adaptive bitrate in a video pipeline. First, I checked the element nvv4l2h264enc for encoding, using the next command:

gst-inspect-1.0 nvv4l2h264enc

And checked the bitrate property of the element that says the following:

bitrate : Set bitrate for v4l2 encode
flags: readable, writable, changeable only in NULL or READY state
Unsigned Integer. Range: 0 - 4294967295 Default: 4000000

First, I was worried since it says in can only be changed in NULL or READY state, but I tested it with the GstD Tool from RidgeRun. With this tool, I was able to make changes to the bitrate property in PLAYING state and it worked. So I wanted to share about this missing information in the documentation of the nvv4l2h264enc element.

Thank you!

Edson Murillo,
Embedded SW Engineer at RidgeRun
Contact us: support@ridgerun.com
Developers wiki: https://developer.ridgerun.com/
Website: www.ridgerun.com

You are correct. Bitrate can be changed in runtime. We will check this and fix the description.

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