Hi Karel,
On Friday 05 September 2014 06:09 PM, Mácha, Karel wrote:
> Hello Alaganraj,
>
> thank you very much for your reply and your tips. I tried to improve my
> code as you suggested and also implemented several other things, which
> should improve the result.
>
> I set the cameras to 15fps usi
Hello Alaganraj,
thank you very much for your reply and your tips. I tried to improve my
code as you suggested and also implemented several other things, which
should improve the result.
I set the cameras to 15fps using VIDIOC_S_PARM. This reduces the
frequency of corrupt images.
I zero fill any
Hi Karel,
I suggest you to zero fill v4l2 structures before assign values also
check the return value of all ioctl call.
for example,
struct v4l2_format fmt;
memset(&fmt, 0, sizeof fmt);
fmt.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
fmt.fmt.pix.width = xRes;
ret = ioctl(fd, VIDIOC_
Hello,
I would like to grab images from multiple cameras under using the V4L2
API. I followed the presentation under found on
http://linuxtv.org/downloads/presentations/summit_jun_2010/20100206-fosdem.pdf
used the code and adapted it sightly for my purpose. It works very well
for 1 camera.
Howe