webcam (usb) access under Ubuntu

Berco Beute cyberco at gmail.com
Tue Apr 15 10:19:36 EDT 2008


Thanks, that would be great.

While I'm at it I wondering how to display a video preview. Here's
someone using VideoCapture (the win32 lib) and PyGame, but I'd rather
use a GUI framework and preview/capture videos directly.

2B


> It has been *ages* since I did this - so take it with a grain of salt.
> However, back then I was able to access a video camera using gqcam. Looking
> into the source of that revealed that all it did were some simple
> ioctl-calls and reading from a /dev/video*-device.
>
> That did the trick for me...
>
> Additionally, you might consider using gstreamer + the python bindings for
> that. I was also successful using them - if I remember this conversation
> tonight or so, I'll send you the sources.
>
> Diez
>
> Diez




More information about the Python-list mailing list