pyScreenCapture icon indicating copy to clipboard operation
pyScreenCapture copied to clipboard

Screen capture video (with cursor) using Python

pyScreenCapture

pyScreenCapture is a tool to capture video (with cursor) using Python. It is ideal for creating short animated GIFs demonstrating how small programs work. I often use it in combination with ImageJ (to crop and save as animated GIF).

Alternative: ScreenToGif

A more feature-rich solution is: https://github.com/NickeManarin/ScreenToGif

Features

Usage

  1. Capture: Just run go.py and it will capture video as a series of BMP files and save them in the ./output/ folder. Modify the script to set the number of captures and the frame rate.
  2. Edit/Crop: Drag the entire ./output/ folder icon onto FIJI / ImageJ and it will open as an image sequence. You can then crop/modify the image (if desired).
  3. Saving as GIF: In FIJI / ImageJ click File > Save As > Animated GIF

Demos