Record a rectangular screen region, or the whole desktop, straight to an animated GIF via ffmpeg's gdigrab capture and its palettegen/paletteuse pipeline - no intermediate video file.
Record a rectangular pixel region of the desktop (x, y, width, height, in absolute desktop coordinates) for a fixed number of seconds and save it as an animated GIF.
Inputs
Name
Type
Required / default
Values and notes
x
int
required
y
int
required
width
int
required
height
int
required
duration_seconds
float
required
out
path
optional, default ""
fps
int
optional, default 15
scale_width
int
optional, default 480
show_cursor
bool
optional, default true
Outputs
Name
Type
Notes
file
path
duration_seconds
float
fps
int
Record the desktop to GIF
capture_full
Record the whole desktop for a fixed number of seconds and save it as an animated GIF.