set_video_audio_track_sample_rate
Change a video's audio track sample rate to a target Hz without re-encoding the video stream. Provide the input video, output path, and desired frequency to save the adjusted file.
Instructions
Sets the audio sample rate 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 sample rate. audio_sample_rate: Target audio sample rate in Hz (e.g., 44100, 48000). 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_sample_rate": "<audio_sample_rate>"
},
"name": "set_video_audio_track_sample_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_video_path | Yes | ||
| audio_sample_rate | Yes | ||
| output_video_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |