set_video_audio_track_codec
Change the audio codec of a video’s audio track while preserving the video stream. Specify input and output video paths along with the desired audio codec (e.g., 'aac', 'mp3') to modify and save the file.
Instructions
Sets the audio codec 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 codec. audio_codec: Target audio codec (e.g., 'aac', 'mp3'). Returns: A status message indicating success or failure.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
audio_codec | Yes | ||
input_video_path | Yes | ||
output_video_path | Yes |