set_video_audio_track_bitrate
Adjusts the audio bitrate of a video's audio track while copying the video stream, specifying target bitrate to optimize audio quality or reduce file size.
Instructions
Sets the audio bitrate of a video's audio track, attempting to copy the video stream. Args: input_video_path: Path to the source video file. output_video_path: Path to save the video with the new audio bitrate. audio_bitrate: Target audio bitrate (e.g., '128k', '192k'). 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>",
"audio_bitrate": "<audio_bitrate>"
},
"name": "set_video_audio_track_bitrate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio_bitrate | Yes | ||
| input_video_path | Yes | ||
| output_video_path | Yes |