I have a ucv camera connected to the BBB. It’s powered through the 5v and the camera light turns on. I can see it fine in the usb. I’ve tried taking a picture through multiple different avenues and have gotten the following errors. Does anyone have any helpful tips to figuring this out?
- Python OpenCV:
import cv2
capture = cv2.cv.CaptureFromCAM(0)
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
VIDIOC_QUERYMENU: Invalid argument
- FFMPEG just stalls after the following and doesn’t actually record a frame.
ubuntu@arm:~$ ffmpeg -f video4linux2 -i /dev/v4l/by-id/usb-Alcor_Micro__Corp._USB_2.0_PC_Camera-video-index0 -vframes 1 /home/ubuntu/test.jpeg
ffmpeg version 0.8.6-6:0.8.6-1ubuntu2, Copyright (c) 2000-2013 the Libav developers
built on Mar 31 2013 01:04:55 with gcc 4.7.2
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
Note that both methods work on my laptop (mac osx).