set_video_bitrate
Set a video bitrate to control file size and quality, copying the audio stream unchanged. Provide input path, output path, and target bitrate (e.g., '1M').
Instructions
Sets the video bitrate 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 video bitrate. video_bitrate: Target video bitrate (e.g., '1M', '2500k'). 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>",
"video_bitrate": "<video_bitrate>"
},
"name": "set_video_bitrate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_bitrate | Yes | ||
| input_video_path | Yes | ||
| output_video_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |