extract_frames
Save still images from a video at chosen timestamps or every N seconds, with options for PNG/JPG output, resizing, and frame limits.
Instructions
Save still images (thumbnails) from a video.
Either times (a list like [1, 12.5, "0:01:30"]: one image per time) or every_s (one image every N seconds, starting at 0). With neither, one frame from the middle. format: png (default) or jpg. width: resize to this width (aspect kept). max_frames guards against producing thousands of files. Images go to output_dir (default: a "name.frames" folder next to the input) as name.frame-12.5s.png or name.frame-0001.png.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | ||
| times | No | ||
| width | No | ||
| format | No | png | |
| dry_run | No | ||
| every_s | No | ||
| overwrite | No | ||
| timeout_s | No | ||
| max_frames | No | ||
| output_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |