[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Problem with Camera
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] Problem with Camera
- From: Nirav Patel <olpc@xxxxxxxxxxxxxx>
- Date: Fri, 7 Aug 2009 14:25:23 -0700
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Fri, 07 Aug 2009 17:25:27 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=BPTuWEYg7qnCxfp2ITDAJnnIAX8xvAZ+oAnmpZzNgwk=; b=gGeJIGVbl9R+Ew3gDRGQIlx48ZgrgV++eHb3BpkTpciNOwngm5HkJOPBZklQOmYpWf ecYSSwLuHqqFVmdvC41B59AZ+z211OXK4Mb2VIjERpTY6mUS2B3mfg7pP2+cG9wnUIv5 ANa8NoTHGqYwt+JgJcRBfiKNWJ97JuNVj3Hoc=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=pbVkSoWoV69zWPGNCvjZNwafnOatAjCOTsXSxPBiT8zvTx0Bc/9GbqyOj6wAtV8zZu cwDzcA1pnRkfSYmNmxayYzxJJ/9rLMz8ATV1Tqm5upwUpiJYMMzamP56zoyi+SRXog6w b5iMk95+34xx54AFR0z9bQI6DOLkWYvxrFQQE=
- In-reply-to: <d278e3ad0908071402r6fa265e5i3346d6af86f00401@xxxxxxxxxxxxxx>
- References: <d278e3ad0908071402r6fa265e5i3346d6af86f00401@xxxxxxxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
Unfortunately, it seems your camera only outputs JPEG frames, which
are not currently supported by the camera module. This support might
show up in the future.
Nirav
On Fri, Aug 7, 2009 at 2:02 PM, Rafael Pinto<kurama.youko.br@xxxxxxxxx> wrote:
> 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
>