jaraco.video

A pure-python framegrabber for Windows


License
MIT
Install
pip install jaraco.video==4.0.2

Documentation

tests Code style: Black https://img.shields.io/badge/skeleton-2023-informational

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

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

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.