set_video_audio_track_sample_rate
Adjust the audio sample rate of a video's audio track while preserving the video stream. Specify input and output video paths along with the desired sample rate in Hz.
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.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
audio_sample_rate | Yes | ||
input_video_path | Yes | ||
output_video_path | Yes |
Input Schema (JSON Schema)
{
"properties": {
"audio_sample_rate": {
"title": "Audio Sample Rate",
"type": "integer"
},
"input_video_path": {
"title": "Input Video Path",
"type": "string"
},
"output_video_path": {
"title": "Output Video Path",
"type": "string"
}
},
"required": [
"input_video_path",
"output_video_path",
"audio_sample_rate"
],
"title": "set_video_audio_track_sample_rateArguments",
"type": "object"
}