media_clip
Cut a small MP4 clip (720p, 30 fps) from a video range for Gemini media analysis, using local ffmpeg with no model required.
Instructions
Cut a small mp4 (720p, 30 fps by default) of a range, to hand to gemini_analyze_media.
30-60 s clips work best (e.g. to check whether BGM suits a scene). Local ffmpeg; no model.
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": {
"video_path": "<video_path>",
"start": "<start>",
"end": "<end>"
},
"name": "media_clip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| fps | No | ||
| audio | No | ||
| start | Yes | ||
| height | No | ||
| out_path | No | ||
| session_id | No | ||
| video_path | Yes |