Skip to content

jaraco/jaraco.video

Repository files navigation

tests Ruff https://img.shields.io/badge/skeleton-2024-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.