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.
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 |