Overview

jaraco.video

Overview

jaraco.video implements a framegrabber inteface for Windows Video Capture devices.

Status and License

jaraco.video is a port of the VideoCapture module in pure Python using ctypes and comtypes.

jaraco.video is maintained by Jason R. Coombs. It is licensed under an MIT-style permissive license.

You can install it with easy_install jaraco.video, or from the mercurial repository with easy_install jaraco.video==dev.

jaraco.video is designed to run on Python 2.6+, including Python 3, and including 32-bit and 64-bit versions of Python.

Installation

jaraco.video 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:

easy_install https://bitbucket.org/jaraco/comtypes/get/b85ebb181c17.zip

Usage

jaraco.video 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 jaraco.video.capture

This example usage can be seen in the function jaraco.video.capture:save_frame.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.