extractKeyframes
Extract keyframe images from downloaded videos at regular intervals to analyze visual content without classification. Specify interval, format, and dimensions for raw frame output.
Instructions
Extract keyframe images from a locally downloaded video at regular intervals using ffmpeg. Requires the video to be downloaded first via downloadAsset. Does NOT do visual search or classification — produces raw frame images.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| videoIdOrUrl | Yes | Video ID or URL (must have a local video asset) | |
| intervalSec | No | Extract one frame every N seconds (default 30) | |
| maxFrames | No | Maximum frames to extract (default 20) | |
| imageFormat | No | Output image format (default jpg) | |
| width | No | Image width in pixels, height auto-scaled (default 640) |