Free software projects:

  • captchaimage

    Python extension to generate captcha images

  • oggvideopreview

    Python extension to get preview images from Theora videos in Ogg files

  • v4l2capture

    Python extension to capture video with video4linux2

  • Sinatra

    Karaoke game

Web projects (Swedish):

email: fredrik@jemla.se

Windows 7 Sins

python-v4l2capture

Python extension to capture video with video4linux2

Source code: v4l2capture-1.1.tar.gz (5 kB)

License: Public domain. See notice in each file.

Bugs: Please report bugs at Launchpad.

E-mail: fredrik@jemla.se

Introduction

python-v4l2capture is a slim and easy to use Python extension for capturing video with video4linux2. It supports libv4l to convert any image format to RGB.

Installation

v4l2capture requires libv4l by default. You can compile v4l2capture without libv4l if you only want it to support video devices supporting the YUYV pixel format. You can do so by erasing ', libraries = ["v4l2"]' in setup.py and erasing '#define USE_LIBV4L' in v4l2capture.c.

python-v4l2capture uses distutils.
To build: ./setup.py build
To build and install: ./setup.py install

Example

See capture_picture.py and list_devices.py.

Change log

1.0 (2009-02-28) - Initial release.