Gerald's Screen Recorder, a lightweight, motion-optimized screen recorder
Project description
Gerald's Screen Recorder (GSR)
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.
Designed for the "Capture Once, Edit Anywhere" workflow, it allows you to record four applications simultaneously (such as a code editor, browser, terminal, and live preview) tiled on a single 4K screen. This captures the complete cause and effect between applications in real-time. In post-production, you can crop this 4K master file into multiple 1080p tracks within an editor like DaVinci Resolve to create a dynamic "multi-cam" sequence, all without ever needing to switch windows while recording.
Features
- 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.
- 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.
- Persistant 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
-
Clone the repository:
git clone https://github.com/geraldsnyman/ScreenRecorder.git cd ScreenRecorder
-
Run the automated setup script:
./setup.sh
This script will:
- Install necessary system dependencies (like
python3-tk). - Create a Python virtual environment.
- Install all required Python libraries from
requirements.txt.
- Install necessary system dependencies (like
-
(Optional) Install Desktop Entry (Linux):
python3 setup_desktop.pyThis allows you to find "Gerald's Screen Recorder" or "GSR" in your system's application menu and ensures the taskbar icon displays correctly.
Usage
-
Run the application (GUI):
./run.sh
-
Run via CLI (No GUI): Providing any configuration flags will bypass the GUI and run headlessly:
gsr -f 30 -q 90 --keystroke --no-show-cursor # or python3 src/main.py -f 30 -q 90
Core Options:
-c, --cli: Force CLI mode even without other flags.--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 Overrides (use
--featureor--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).
View all options by running
gsr --helporman gsr. -
Controls:
- Sensitivity: Threshold for motion detection (Higher = more sensitive).
- Tile Size: Grid granularity. Defaults to ~960x540. Smaller tiles = more sensitive to tiny area changes.
- Tip: Use Arrow Keys (Left/Right) to fine-tune sliders.
- Triggers:
- Keystroke: Force capture on key press.
- Mouse: Force capture on Click, Scroll, or Move.
- Cursor Overlay:
- visually draws the mouse cursor (Dot, Target, Pointer) on the recording to ensure visibility.
- customizable size (5-50px).
- FPS: Maximum capture frequency.
- Quality: JPEG compression quality.
- Output: Select destination folder.
- Start/Stop: Toggle recording.
-
Terminal Workflow (Backgrounding): If you launch GSR from the terminal (e.g.,
./run.sh) and want to continue using that same terminal window:- Press
Ctrl + Zto instantly suspend (pause) the application. - Type
bgand hitEnterto resume the app silently in the background. - Type
fgat any time to bring the app back to the foreground to safely close it usingCtrl + C.
- Press
Optimization Guide
To achieve the best balance of performance (low CPU) and capture accuracy:
-
Enable "Capture on Keystroke":
- This is 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.
- With this on, you don't need small tiles to see text appear.
-
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.
- Use this setting by default. Only move the slider right (smaller tiles) if you need to catch small visual changes that don't involve typing (like a specific icon changing color).
-
Tune Sensitivity (Threshold):
- Sensitivity Slider controls the "Noise Gate".
- Lower Value (Left) = Less Sensitive. Ignores small changes like cursor blinking or clock updates.
- Higher Value (Right) = More Sensitive. Captures almost everything.
- Strategy:
- Set Tile Size to Large (Left).
- Set Sensitivity to Medium/High (Center/Right).
- If it's capturing too much (idle cursor blinking), lower the Sensitivity (Left).
- If it's missing big window changes, increase the Sensitivity (Right) or reduce the Tile Size (Right).
Summary: Use Keystroke Capture + Large Tiles + Medium Sensitivity for the most efficient recording of work/coding sessions.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gsr-1.0.3.tar.gz.
File metadata
- Download URL: gsr-1.0.3.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14cb62095eb79e90f78452f1fe070dd8be361c67214d7faef732623ad15e19db
|
|
| MD5 |
be4838278257071b60f0a911d6ddcf19
|
|
| BLAKE2b-256 |
98e3655a285f2f01cdbdf6d664f86b9d0696cccd371f6a1bc205442cf3d2119f
|
File details
Details for the file gsr-1.0.3-py3-none-any.whl.
File metadata
- Download URL: gsr-1.0.3-py3-none-any.whl
- Upload date:
- Size: 16.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e15f1783de9ec37a69e28221190ee8702af18045370f3cdf5c6eac94bb6c552
|
|
| MD5 |
eeef2d16baab49d03c1de39f6061b899
|
|
| BLAKE2b-256 |
f7a65431573ef539918cc8ddf9784c603ec55530a68689f2def1a07213b5c3cb
|