ffmpeg_extract_frames
Extract frames from a video as images. Set an interval (one frame every N seconds) or a total frame count for even distribution. Choose output format: JPG, PNG, or BMP.
Instructions
Extract frames from a video as images.
Args:
file_path: Path to the input video file
interval: Extract one frame every N seconds (e.g., 1.0 for one frame per second)
count: Total number of frames to extract (evenly distributed). Mutually exclusive with interval.
format: Output image format (jpg, png, bmp)
Returns:
Path to the directory containing extracted framesInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| interval | No | ||
| count | No | ||
| format | No | jpg |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |