set_video_audio_track_channels
Modify the number of audio channels in a video track (e.g., mono to stereo) while preserving the video stream, ensuring compatibility or adjusting audio layout for specific playback needs.
Instructions
Sets the number of audio channels 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 channel layout. audio_channels: Number of audio channels (1 for mono, 2 for stereo). Returns: A status message indicating success or failure.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
audio_channels | Yes | ||
input_video_path | Yes | ||
output_video_path | Yes |
Input Schema (JSON Schema)
{
"properties": {
"audio_channels": {
"title": "Audio Channels",
"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_channels"
],
"title": "set_video_audio_track_channelsArguments",
"type": "object"
}