extractKeyframes
Extract frame images from videos at custom intervals to analyze visual content, create thumbnails, or review specific timestamps without manually scrubbing through footage.
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. [~30-60s, requires ffmpeg]
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) |