V4L2_CID_ARGUS_METADATA freeze video

Hi

We want to read metadata with (V4L2_CID_ARGUS_METADATA) after a dqbuf but the video freeze, and ioctl return no error
the code is

ret_val = v4l2_ioctl (VideoCapProcess_var.fd, VIDIOC_DQBUF, &v4l2_buf);
struct v4l2_ext_controls extCtrls;

struct v4l2_ext_control control;                                                   

v4l2_argus_ctrl_metadata metadata;                                                                                         

memset (&control, 0, sizeof (control));                                                                                    

memset (&extCtrls, 0, sizeof (extCtrls));                                                                                                                                                                                                                         

control.id = V4L2_CID_ARGUS_METADATA;                                                                                  

control.string = (char *)&metadata;                                                                                       

metadata.BufferIndex = v4l2_buf.index;     



 extCtrls.controls = &control;                                      

 extCtrls.count = 1;                                                                                                        

 // extCtrls.ctrl_class = V4L2_CTRL_CLASS_CAMERA; with  or thanks

 ret=v4l2_ioctl(VideoCapProcess_var.fd, VIDIOC_G_EXT_CTRLS, &extCtrls);                                      

dmesg return
[62054.381997] misc tegra_camera_ctrl: tegra_camera_update_isobw: Warning, Requested ISO BW 1500000 has been capped to VI’s max BW 1500000
[62080.117826] misc tegra_camera_ctrl: tegra_camera_update_isobw: Warning, Requested ISO BW 18446744073707910991 has been capped to VI’s max BW 1500000

Thanks for your help

Best Regard

Mathieu

Does any others V4L2_CID_ARGUS_* work?

Yes the others V4L2_CID_ARGUS_* work when called after set_output_plane, and before VIDIOC_REQBUFS
My design is based on /usr/src/jetson_multimedia_api/samples/unittest_samples/camera_unit_sample/ and the jetpack version is 4.5.1

Mathieu

Did you run on J4.5.1?
Could you attached the sample code include your modification here.

camera_unit_sample.cpp (40.7 KB)

Yes i run on J4.5.1