set_video_audio_track_codec
Modify the audio codec of a video's audio track while preserving the video stream. Specify input and output paths alongside the desired audio codec for processing.
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 |
Input Schema (JSON Schema)
{
"properties": {
"audio_codec": {
"title": "Audio Codec",
"type": "string"
},
"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_codec"
],
"title": "set_video_audio_track_codecArguments",
"type": "object"
}