I'm running Python2.7 on Arch Linux. I installed OpenCV via Pacman.
The Python code I'm using is:
import cv
capture = cv.CaptureFromCAM(0)
Very simple. All I'm trying to do, for now, is get Python access to my webcam. But that above code outputs:
[user@host python]$ python2.7 webcam.py
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
My webcam works fine with Cheese (linux webcam program). So, presumable, there shouldn't be any driver/module issues...
Any ideas?