screencast
Record screen or window to H.264 MP4 to capture animations, transitions, scrolls, stutters, and hover states that stills cannot show. Uses Wayland screen cast without consent dialog.
Instructions
Record the screen, or one window, to an h264 mp4. Use this instead of screenshot whenever the thing being judged MOVES -- an animation, a transition, a scroll, a stutter, a hover state. Stills cannot show motion and bursting them tops out near 5 fps. Goes under the xdg portal straight to org.gnome.Mutter.ScreenCast, so there is no share-your-screen consent dialog, and encodes on the iGPU. Read the result back by pulling frames out with ffmpeg.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fps | No | ||
| path | Yes | Where to write the mp4, e.g. /tmp/cast.mp4 | |
| target | No | Window id from list_windows, or a wm_class / title fragment. The window is activated and focus is CONFIRMED before any key is sent; if focus does not land, nothing is typed. | |
| seconds | No | ||
| include_cursor | No |