Source /

Filename Size Date modified Message
30 B
276 B
790 B
1.9 KB
0 B
1.5 KB

Overview implements a framegrabber inteface for Windows Video Capture devices.

Status and License is a port of the VideoCapture module in pure Python using ctypes and comtypes. is maintained by Jason R. Coombs. It is licensed under an MIT-style permissive license.

You can install it with easy_install, or from the mercurial repository with easy_install is designed to run on Python 2.6+, including Python 3, and including 32-bit and 64-bit versions of Python.

Installation depends on several libraries including Pillow and comtypes. If the package is installed using setuptools or pip, those dependencies should be installed automatically.

There are some issues that prevent the released version of comtypes from installing properly. Until those issues are fixed, work around them by first installing comtypes manually from jaraco's mirror:


Usage includes a console script "save-frame", which locates the first video capture device and saves a single frame to disk as "test.jpg". The command may also be invoked thus:

python -m

This example usage can be seen in the function