Skip to main content

Gerald's Screen Recorder, a lightweight, motion-optimized screen recorder

Project description

Gerald's Screen Recorder (GSR)

Python Version OS License PyPI

A tool to capture your Full 4K Desktop as a smart sequence of high-quality JPEG images.

GSR is a sensitivity-based motion and change recorder that intelligently monitors your screen. It only captures frames when a user-defined level of visual change occurs, or when specific keystroke and mouse activities are triggered, effectively eliminating dead footage and idle moments from your recordings.

🎨 App Icon

GSR's icon—a minimalist neon outline of a still camera body featuring a classic play button in place of the lens—perfectly encapsulates the core philosophy of the application. GSR captures your screen as a smart, optimized sequence of still images (represented by the camera body). However, because it intelligently records frames only when actual visual change occurs, these stills can be imported into Non-Linear Editing (NLE) software like DaVinci Resolve and instantly played back as a seamless, continuous video sequence (represented by the play button).

✨ Features

  • Capture Once, Edit Anywhere: Record four applications simultaneously (code editor, browser, terminal, live preview) tiled on a single 4K screen. Crop this 4K master file in post-production into multiple 1080p tracks to create a dynamic "multi-cam" sequence.
  • Efficient Capture: Only saves frames when the user-defined level of change is detected.
  • Smart Sensitivity: Grid-based detection (Tile Size) allows capturing small changes (like cursors) or ignoring them.
  • Frame Rate: Define a maximum capture speed (from 1 FPS up to 60 FPS) to maintain fluid motion without unnecessary overhead.
  • Keystroke Trigger: Option to force capture when typing, ensuring no text is missed.
  • Mouse Trigger: Option to force capture on mouse clicks, scrolls, or movements.
  • Adjustable Quality: JPEG compression control to save space.
  • Persistent Settings: Automatically saves and loads your configuration.
  • Modern UI: Dark-themed, fixed window interface with keyboard support for sliders.
  • Linux Integration: Includes desktop entry setup for system menu integration.

🚀 Installation

The stable release of gsr is available on PyPI.

Because gsr is a standalone command-line application, the highly recommended installation method is using pipx. This ensures the app is installed in an isolated environment without interfering with your system Python packages (especially important on Ubuntu 24.04 and other modern distributions enforcing PEP 668).

# 1. Install pipx (if you haven't already on Ubuntu/Debian)
sudo apt update && sudo apt install pipx
pipx ensurepath

# 2. Install gsr
pipx install gsr

# 3. (Optional) Install Linux Desktop integration + Icon
gsr --setup-desktop

To upgrade to the latest version in the future:

pipx upgrade gsr

Alternative Installation methods

(Optional) Standalone AppImage: You can download the pre-compiled GSR-x86_64.AppImage directly from the GitHub Releases page.

(Optional) Build from Source: If you want to contribute, test the app locally, or compile your own standalone AppImage binary:

git clone https://github.com/geraldsnyman/ScreenRecorder.git
cd ScreenRecorder
./scripts/setup.sh
python3 scripts/setup_desktop.py # (Optional) Install Desktop Entry for Linux

To run the application locally from the source code:

./scripts/run.sh

To build the standalone AppImage and PyPI packages yourself:

./scripts/release.sh
# The compiled binary will be located at: GSR-x86_64.AppImage
# The PyPI distribution files will be in: dist/

💻 Usage

1. GUI Mode

Simply run the application without any arguments to open the graphical interface:

gsr
# or locally:
./scripts/run.sh

2. CLI Mode

Providing any configuration flags will bypass the GUI and run headlessly:

gsr -f 30 -q 90 --keystroke --no-show-cursor

Core Options:

  • -h, --help: Show program's help message and exit.
  • -v, --version: Show program's version number and exit.
  • --setup-desktop: Install Linux desktop entry and icon for system menu integration.
  • --save: Save the provided CLI overrides to the permanent GUI settings.
  • -f, --fps <val>: Override maximum FPS (1-60).
  • -s, --sens <val>: Override Sensitivity (0-100).
  • -t, --tiles <val>: Override Tile Divisions (1 = Full Screen).
  • -q, --quality <val>: Override JPEG Output Quality (1-100).
  • -o, --output <path>: Override Output Directory.

Boolean Triggers (use --feature or --no-feature):

  • --keystroke: Force capture on key press.
  • --mouse-click: Force capture on Mouse Click.
  • --mouse-scroll: Force capture on Mouse Scroll.
  • --mouse-move: Force capture on Mouse Move.
  • --show-cursor: Draw Cursor Overlay on recording.

Cursor Settings:

  • --cursor-size <val>: Override Cursor Size (5-50).
  • --cursor-style <style>: Override Cursor Style (dot, target, pointer).

3. Controls & Workflow

  • Start/Stop: Toggle recording using the GUI, or use Ctrl + Z in your terminal to pause (suspend) a CLI recording, bg to push it to the background, and fg to bring it back.
  • Sensitivity Controls: Threshold for motion detection (Higher = more sensitive).
  • Tile Size: Grid granularity. Defaults to ~960x540. Smaller tiles = more sensitive to tiny area changes. Use Arrow Keys (Left/Right) to fine-tune sliders.

🧠 Optimization Guide

To achieve the best balance of performance (low CPU) and capture accuracy:

  1. Enable "Capture on Keystroke": The most efficient way to capture typing. It triggers a frame save only when you press a key, bypassing the need for intense visual scanning.
  2. Start with "Large Tiles" (Slider to Left): Larger tiles (e.g., Full Screen or 960x540) require significantly less processing power than thousands of small tiles.
  3. Tune Sensitivity (Threshold):
    • Set Tile Size to Large.
    • Set Sensitivity to Medium/High.
    • If it's capturing too much idle blinking, lower the Sensitivity. If it's missing big window changes, increase the Sensitivity or reduce the Tile Size.

Summary: Use Keystroke Capture + Large Tiles + Medium Sensitivity for the most efficient recording of work/coding sessions.

📖 Documentation & Resources

📝 License

Freeware. Feel free to use and modify.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gsr-1.0.4.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gsr-1.0.4-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file gsr-1.0.4.tar.gz.

File metadata

  • Download URL: gsr-1.0.4.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for gsr-1.0.4.tar.gz
Algorithm Hash digest
SHA256 65f585561ccb97cba6ea937ede0e5c6b7748c2c3041735b1599c90d7fa85b7d6
MD5 749207f3edad1ae76de0da63ce5e4f63
BLAKE2b-256 3183ad5eca521deaeb32dbe43b6a0a34f1f16b89afc38a7d2680e95038733944

See more details on using hashes here.

File details

Details for the file gsr-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: gsr-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 17.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for gsr-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 084f82f1a3be7717a858cc9862427a62670649fc387ac508e45fb8c8321b3269
MD5 07006cd1247d6f9637ed3737a943f6b3
BLAKE2b-256 41f1ec2ee9fb221cf40e509a3b1a5d7f3963ad8c0e17ce3756d642a28477329d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page