scale_video
Resize video dimensions to specified width and height using FFmpeg-MCP Server. Input video path, target dimensions, and output path to generate resized video.
Instructions
视频缩放
参数:
width(int) - 目标宽度。
height(int) - 目标高度。
output_path(str) - 输出路径
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>",
"width": "<width>",
"height": "<height>"
},
"name": "scale_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| height | Yes | ||
| output_path | No | ||
| video_path | Yes | ||
| width | Yes |