Install any skill in seconds. Free to start, no credit card required.
Get Started Free →coderwanfeng/video2mp3
从视频文件中提取音频并保存为 MP3。当用户提到视频转音频、提取音频、抽 MP3、视频提取声音时使用。
Passed 22 of 22 test cases with the skill, and 4 of 22 without it.
and 18 more in the full report
18 fixed4 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 18 test cases the skill fixed. Same model, same prompt, with and without the skill.
Please extract the audio from `./intro.mp4` and generate an MP3 file in the current folder using default naming.
| Checked | Without skill | With skill |
|---|---|---|
| Imports or calls video2mp3 from skills.video. | Missed | Passed |
| Passes path='./intro.mp4' without overriding mp3_name or with mp3_name set to None. | Missed | Passed |
The instructions your model reads when the skill loads.
将视频文件转换为 mp3 音频文件
从视频中提取音频,保存为 mp3 格式。
office/skills/video/video2mp3/
from skills.video import video2mp3
video2mp3(
path='./test.mp4',
mp3_name='test.mp3',
output_path='./'
)
| 参数 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
path | str | 是 | - | 视频文件的路径 |
mp3_name | str | 否 | None | 输出 mp3 文件的名称。如果未提供,默认为原视频文件名 |
output_path | str | 否 | './' | 输出 mp3 文件的路径 |
None:在指定输出路径下生成 mp3 文件
from skills.video import video2mp3
test cases passed, vs 4 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.