convert_audio_format
Converts audio files to specified formats like MP3, WAV, AAC, FLAC, or OGG with configurable codec and bitrate settings.
Instructions
转换音频格式
Args:
input_path: 输入音频文件路径
output_path: 输出音频文件路径(可选)
output_format: 输出格式(mp3, wav, aac, flac, ogg等)
audio_codec: 音频编码器(libmp3lame, aac, flac等)
bitrate: 音频码率(128k, 192k, 320k等)
Returns:
转换结果信息Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_path | Yes | ||
| output_path | No | ||
| output_format | No | mp3 | |
| audio_codec | No | libmp3lame | |
| bitrate | No | 192k |