OpenCV camera capture resolution error.

1,027 views
Skip to first unread message

Dinesh Madusanke

unread,
Aug 25, 2013, 1:18:56 PM8/25/13
to beagl...@googlegroups.com
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.

Matthew Witherwax

unread,
Aug 27, 2013, 2:36:54 PM8/27/13
to beagl...@googlegroups.com
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

Moon Walker

unread,
Feb 12, 2014, 8:17:52 AM2/12/14
to beagl...@googlegroups.com
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

Matthew Witherwax

unread,
Feb 13, 2014, 8:12:33 AM2/13/14
to beagl...@googlegroups.com
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?


--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/VUtMH7g5q38/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Moon Walker

unread,
Feb 13, 2014, 8:22:20 AM2/13/14
to beagl...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages