FW: problems with larger raw video images

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Hans,
 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.
 Pat,
 631 880 1188
________________________________________
From: Hans Verkuil <hansverk@xxxxxxxxx>
Sent: Thursday, December 12, 2013 1:42 AM
To: Brown Patrick-PMH786
Cc: Seiter Paul-VNJW48; Clayton Mark-AMC036; Super Boaz-SUPER1
Subject: Re: problems with larger raw video images

Hi Pat!

The best approach is to post it to the linux-media mailinglist
(linux-media@xxxxxxxxxxxxxxx, no need to subscribe but make sure your
email is normal ascii and not HTML since those are rejected AFAIK)
and Cc Hans de Goede (hdegoede@xxxxxxxxxx) since he maintains
that code.

Regards,

        Hans

On 12/11/13 21:29, Brown Patrick-PMH786 wrote:
> Hans,
> 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.
> Pat,
> 631 880 1188





--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux