capture_extract
Extract frames from videos at a chosen FPS or interval, optionally within a time range. Automatically downloads URLs and returns file paths with real timestamps.
Instructions
Extract frames from a video, at a rate (fps or every_seconds) and optionally from a time range. Downloads URLs via yt-dlp automatically. Returns absolute file paths and each frame's real timestamp. For long videos, pass async: true and poll capture_job_status.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source": "<source>"
},
"name": "capture_extract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End of the range to process: seconds, MM:SS or HH:MM:SS | |
| fps | No | Frames per second to sample, 0.001-30. Fractions are allowed | |
| async | No | Return a job immediately instead of waiting for the result | |
| start | No | Start of the range to process: seconds, MM:SS or HH:MM:SS | |
| width | No | Custom width in pixels (only with preset=custom) | |
| format | No | Output format (only with preset=custom) | |
| preset | No | Quality preset: llm (1024px JPEG 80%), high (original PNG), custom | llm |
| source | Yes | Video file path or URL | |
| quality | No | JPEG quality 1-100 (only with preset=custom) | |
| every_seconds | No | Sample one frame every N seconds, instead of fps |