Is there any way to change v4l2vp8enc bitrate

May I ask if there is any way to adjust the bitrate of v4l2vp8enc in gstreamer on DragonBoard 820c? It seems over-compressing by default. Or what factors determine the bitrate it v4l2vp8enc uses?

Many thanks for any help.

What is your pipeline? you should be able to specify the target bitrate (e.g. video_bitrate=1000000) as an extra-ctrls. In the same way as for h264, e.g. Video recording issue in APQ8096 Open Embedded with latest kernel 4.14.96 release

Hi Loic,

Thank you for the reply. it has extra-controls property indeed. However, when i use gst-inspect-1.0 i cannot see what can be set with extra-controls. Could you please advice where I can find more detailed explanation of what extra-controls can set?

Many thanks

extra-controls is a passthrough, the controls are directly sent via ioctl to the video device, so gstreamer is not really aware about them.

List of available controls can be retrieved with v4l2-ctl:

v4l2-ctl --all -d /dev/v4l/by-path/

or for more details

v4l2-ctl -L -d /dev/v4l/by-path/