[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[pygame] Problem with Camera
- To: pygame-users@xxxxxxxx
- Subject: [pygame] Problem with Camera
- From: Rafael Pinto <kurama.youko.br@xxxxxxxxx>
- Date: Fri, 7 Aug 2009 18:02:40 -0300
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Fri, 07 Aug 2009 17:08:23 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=EJZuX74RBazIBmh+FIRTHxAEg2FemHKwm7Cz/d7na34=; b=dHv60JmUh02edjI90pRw/txmjUZJ6vf8xPXifrln3II8NeDopLpFOlJ7QWe4uFOmH9 8pHRPQIygkzmlsgnPyY3SqNBRuycjIMVK4INtYqHR5fvpPsgPVXx85cpOk2gZ9sYFiZv Wubeq6rf4+mXkejieIx9lDo2EJiK+DtZnmLJs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=wjdhfmgOEuykpqMqNvFqMCreQ0/4JkktPjPAgzA34ohO+rAnh+jHAeDtHCW/vY5ZC8 O6q9nHPsv/byZ5z9QOr0Jw/OYmcTd4vmDrHf6TPw6A5++Fu8y/LCNQZjzOx49Qa3T3pv H8O5qBBCIIpWDJq7FQJGBUS0UByea82oP7Rfo=
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
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