[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Pygame + VideoCapture?



Hi, I've been playing with the VideoCapture module to get a webcam working.

It does work but only at 160,120 resolution and this is the error
I get:

Traceback (most recent call last):
  File "C:/Documents and Settings/user/Desktop/flutera/webcam.py", line 8, in <module>
    webcam.setResolution(640,480)
  File "C:\Python25\lib\VideoCapture.py", line 90, in setResolution
    self.dev.setresolution(width, height)
Error: Cannot set capture resolution.

Can anyone help with this? I'm on XP...