Extract a frame
extract_frameSave a single frame from a video as an image for preview or verification. Uses seeking before decoding, so grabbing a frame from any point is equally quick even for hour-long files.
Instructions
Save a single frame as an image so it can actually be looked at.
Answers immediately. Seeking is done before decoding, so grabbing a frame from an hour-long file costs the same as from a short one.
Use it to check what is in footage before cutting, and to confirm a render looks the way it was meant to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | No | Timestamp in seconds. | |
| width | No | Scale the still to this width. | |
| format | No | png is lossless; jpg is smaller. | png |
| input_path | Yes | Media file to take the frame from. | |
| output_path | No | Where to write the image; defaults to the workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | Yes | ||
| width | Yes | ||
| height | Yes | ||
| output_path | Yes |