record
Capture a screen or window clip as an .mp4, returning its path, duration, and a preview image of key frames. Use it to save and review GUI activity.
Instructions
Record a clip of the screen, or of one window, and save it as an .mp4: in the session's scratch directory, gone when the session stops, or at path. The answer is the saved path, how long the clip is, and up to 8 frames from it RETURNED AS ONE IMAGE in rows of four, with the times they show: you can't play the clip, but a person or another tool can. A clip stops at 100 MB. sound also says what it heard, as the sound tool does. until_line ends it at an event instead; the answer gives the line. For a few moments of motion, screenshot's burst is cheaper.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crop | No | WIDTHxHEIGHT+X+Y, inside what's taken | |
| file | No | until_line's, by its path from the allow file's directory | |
| path | No | Where to save it, a new .mp4, by its path from the allow file's directory | |
| tail | No | Seconds to go on after the line (0) | |
| sound | No | What plays too, in a session started with audio | |
| window | No | A window's title, exactly or a regex matched in full, or app=RE for its app id | |
| seconds | No | How long; with until_line, the most (60) | |
| session | Yes | Its name, from start_session | |
| until_line | No | A regex: stop tail seconds after a line matching it is written to file |