OpenCV camera capture resolution error.

Dear all,

I am running angstrom on a beaglebone Rev 6 and I used a Logitech C270 webcam with openCV for a vision application. Although I could capture images with resolution 320 * 240 When I tried with 640 * 480 resolution I get a select timeout error.
Here is my output.

VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
select timeout

Please help me to resolve this problem.
Thanks.

Dinesh,

OpenCV will report the invalid argument warning when something is not supported. Were you trying to change the fps? The Select Timeout is caused by not being able to get an image from the camera quickly enough. Please see my post here
https://groups.google.com/forum/#!topic/beagleboard/2NO62mGcSvA

I have the same issue with C270.
VIDIOC… invalid argument.

I am able however captire images with fswebcam and capture video with ffmpeg.
Only opencv CaptureFromCAM() throws this error.

could someone give a hint?

Thx
Attila

Moon,

OpenCV will report the invalid argument warning when something is not supported, but should not prevent you from capturing video. Are you receiving any other errors?

Hi,

yes i am receiving the famous “select_timeout” error.
But generally it is still not clear what is the correct way with my lgtch c270 camera and opencv?

thx
Attila