cut_idle
Cuts frozen and silent idle stretches from screen recordings, keeping a short pad at each edge, and can report what would be removed with a dry run.
Instructions
Remove dead air: cut stretches where the screen is frozen (and, if there is audio, silent), keeping a short pad at each edge. Agent recordings are full of these pauses. dryRun reports what would be cut first. Returns the output path and the time saved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Path to the source video. | |
| dryRun | No | Only report the stretches that would be cut; write nothing. | |
| output | No | Optional output path. Defaults under SCREENCAST_HOME/edits. | |
| keepSec | No | Keep this much of each stretch at both edges so cuts are not abrupt (default 0.4). | |
| useAudio | No | Count a stretch as idle only if the audio is also silent (default true when the video has audio). Set false to cut frozen video even while sound plays. | |
| overwrite | No | Allow replacing an existing file at the output path (default false). | |
| minIdleSec | No | Only cut still stretches at least this long (default 2). |