extract_audio_from_video
Extract audio from video files with support for multiple audio formats and configurable quality settings. Provide video path and optional output parameters.
Instructions
从视频文件中提取音频
Args:
video_path: 输入视频文件路径
output_path: 输出音频文件路径(可选,默认与视频同目录)
audio_format: 音频格式(mp3, wav, aac, flac等)
audio_quality: 音频质量(如192k, 320k等)
Returns:
提取结果信息
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"video_path": "<video_path>"
},
"name": "extract_audio_from_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_path | Yes | ||
| output_path | No | ||
| audio_format | No | mp3 | |
| audio_quality | No | 192k |