extract_video_frames
Extract key frames from videos to create previews, thumbnails, or datasets. Choose uniform spacing, keyframe detection, or scene changes to capture representative moments.
Instructions
从视频中提取关键帧图像
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": {
"videoPath": "<videoPath>"
},
"name": "extract_video_frames"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| strategy | No | 提取策略:uniform(均匀间隔), keyframe(关键帧), scene_change(场景变化) | uniform |
| maxFrames | No | 最大提取帧数(默认10帧) | |
| outputDir | No | 输出目录路径(可选) | |
| videoPath | Yes | 视频文件路径 |