User talk:Mpatalberta

From LinuxTVWiki
Jump to navigation Jump to search

My name is pat brown. I work for motorola solutions. I am using a 8 megapixel camera and the lib4vl2 library is giving me an error:

libv4l2: error converting / decoding frame data: v4l-convert: error destination buffer too small (16777216 < 23970816) VIDIOC_DQBUF: Bad address

v4l-utils-HEAD-4dea4af/lib/libv4l2/libv4l2-priv.h

I have tracked it down to the following: /lib/libv4l2/libv4l2-priv.h:#define V4L2_FRAME_BUF_SIZE (4096 * 4096)

When I changed the value to : /lib/libv4l2/libv4l2-priv.h:#define V4L2_FRAME_BUF_SIZE (2 * 4096 * 4096)

How can this change be properly integrated. This problem impacts the opencv software package.