set_video_frame_rate
Change a video's frame rate to a specified FPS (e.g., 24, 30, 60) while preserving the audio. Provide input path, output path, and target frame rate to adjust video playback.
Instructions
Sets the frame rate of a video, attempting to copy the audio stream.
Args: input_video_path: Path to the source video file. output_video_path: Path to save the video with the new frame rate. frame_rate: Target video frame rate (e.g., 24, 30, 60). Returns: A status message indicating success or failure.
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": {
"input_video_path": "<input_video_path>",
"output_video_path": "<output_video_path>",
"frame_rate": "<frame_rate>"
},
"name": "set_video_frame_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| frame_rate | Yes | ||
| input_video_path | Yes | ||
| output_video_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |