Hey all-
I'm currently using the debian OS on my pi. For my application I installed Python 2.7.3 and pygame 1.9.1. When I try to start the camera object:
self.camera.start()
I get the following error:
EnvironmentError: ioctl(VIDIOC_STREAMON) failure : 4008, Unknown error 4008
When I run my program, I can see the small green led on the camera light up, but then it quickly turns off and I see the error above on my terminal.
I used Rpi-Update to install the video driver for my quickcam pro 5000, and the device appears as /dev/video0.
Really at a loss here...anyone get there webcam working in debian with pygame?
pygame + webcam issues
4 posts
- Posts: 2
- Joined: Sun Jun 24, 2012 2:56 pm
python.camera is experimental (according to the docs)
Probably be a while before it works on raspberry assuming someone is working on it
Probably be a while before it works on raspberry assuming someone is working on it
- Posts: 48
- Joined: Wed May 16, 2012 12:14 pm
Update for anyone else trying to do this...
The problem was with my webcam (quick cam pro 5000). I ordered a PS3 eyetoy and it worked out of the box.
For anyone else trying this, pygame.camera does work on the raspberry pi; however, you must first compile from source python 2.7.3 and pygame 1.9.1!
The problem was with my webcam (quick cam pro 5000). I ordered a PS3 eyetoy and it worked out of the box.
For anyone else trying this, pygame.camera does work on the raspberry pi; however, you must first compile from source python 2.7.3 and pygame 1.9.1!
- Posts: 2
- Joined: Sun Jun 24, 2012 2:56 pm
I think the webcam not working is due to the raspberry pi missing a lot of webcam drivers. The eyetoy seems to work every time, other cameras rarely or not at all. Hopefully this will be fixed as the OS distribution matures.
- Posts: 19
- Joined: Sun May 13, 2012 1:19 pm