Hi,
There are two questions:
1、I found a BUG,I turned on CSI Sensor in my app using ioctl.If I have used nvgstcapture or the gst-launch-1.0 plugin to turn the camera on and off.And then when I start my app, it blocks in the command forever:ioctl(this->fd, VIDIOC_DQBUF, &buf);
When I reboot the device,without using any gst-launch-1.0 commands or nvgstcapture before running my app, it works fine.
Is there any way to solve this problem?In addition to restarting the device.
2、My camera has a 1080 x 1280 resolution,But the BYTES PER LINE from the command (v4l2-ctl --all)is 2304.Although there is no impact when using nvgstcapture or gst-launch-1.0 plugin to display the image,
However, using ioctl to capture the frame image does not get the correct image,So I want to know how the BYTES PER LINE argument is computed and how it can be modified to be equal to 1080*2;
thank you.
Hi,
This is expected. Please check information in
Jetson 'v4l2-ctrl' Raw Aquisition and bypass_mode = 0 : Framos
Thank you for your reply,I got what’s your means,could you please tell me how to implement in app source code.
Questions2 don’t need care,I fixed it.thank you.
I see,Thank you.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.