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

Re: [pygame] V4L2 webcams whose format is not supported



Can you list the USB webcams for which you are seeing the error?

Specifically, an "lsusb -v" and an "lsmod" showing the camera
manufacturer and kernel module in use would help.  That way we can
find what pixel formats they support and see what ones we are missing.

I covered the common ones except for JPEG, but it's possible there are
other formats the cameras want.

Also note that I am no longer able to work on the camera module, so
hopefully someone else out there would be able to take up the work.  A
GSoC student perhaps (along with adding much needed Windows support).

Nirav

On Tue, Mar 30, 2010 at 5:18 AM, Alexandre Quessy <alexandre@xxxxxxxxxx> wrote:
> Hello Pygame developers.
> I should say it is very annoying that some image formats of
> V4L2-supported USB cameras are not supported by Pygame. I get the
> following error when I start Toonloop with many USB cameras:
>
> (<type 'exceptions.SystemError'>, SystemError('ioctl(VIDIOC_S_FMT)
> failure: no supported formats',), <traceback object at 0xa833964>)
>
> Is it planned to implement other video codecs, and if so, when?
> If not, I will speed up my Gstreamer development and drop Pygame. :(
>
> Also, I would like to take this moment to tell you that it would be
> nice if this camera development was contributed to SDL, and not kept
> only in the Python binding. Same for the MIDI support, and other
> goodies. Otherwise, Pygame is a lot more that an SDL binding.
>
> Regards,
> --
> Alexandre Quessy
> http://alexandre.quessy.net/
>