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

[pygame] Problem with Camera



Hi!
I'm trying to use the Capture class in this tutorial:
http://www.pygame.org/docs/tut/camera/CameraIntro.html (with PyGame
1.91)
But the start() method is giving me this error: "SystemError:
ioctl(VIDIOC_S_FMT) failure: no supported formats". It seems to relate
to the pixel format used by the camera.
My webcam is a Microdia/Sonix 0c45:612c SN9C110, and it works fine
with gstreamer and cheese (but not with camorama and mplayer).

Anyone knows some workaround for this? Thanks!

-- 
Rafael C.P.
 http://www.inf.ufrgs.br/~rcpinto