返回顶部
m

music-seperator-demucs音乐分离器

Separate vocals and instrument stems from audio files with Demucs CLI. Use when the user asks for vocal extraction, accompaniment generation, stem splitting, batch separation, output format conversion (wav/flac/mp3), or Demucs performance/memory tuning on CPU/GPU. Also trigger when the user mentions demucs or demucas.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
133
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

music-seperator-demucs

Demucs

使用 demucs 将音乐分割成音轨(默认:人声、鼓、贝斯、其他)。

快速开始

  • - 帮助:demucs --help
  • 基本分割:demucs input.mp3
  • 输出目录:demucs input.mp3 -o D:\\output
  • 仅提取人声:demucs input.mp3 --two-stems vocals

前置条件

  • - Demucs 可用:demucs --help 或使用绝对路径如 D:\demucs-agent-tool\venv\Scripts\demucs.exe --help。
  • FFmpeg 可用:ffmpeg -version 必须执行成功。
  • 注意:ffmpeg-python 仅是 Python 封装,不会安装 ffmpeg.exe。

常用选项

  • - 模型:-n htdemucs(默认)或其他已安装的模型名称。
  • 设备:-d cuda 或 -d cpu。
  • 分块处理:--segment 8 --overlap 0.25 以减少显存/内存压力。
  • 不分块:--no-split 适用于内存充足时的短音频。
  • 等变平移:--shifts 1..10(质量更高,速度更慢)。
  • 并行任务:-j 2(在强CPU上可设置更多)。

输出格式

  • - 默认输出为 WAV。
  • FLAC:demucs input.mp3 --flac
  • MP3:demucs input.mp3 --mp3 --mp3-bitrate 320 --mp3-preset 2
  • 更安全的裁剪行为:--clip-mode rescale(默认)或 --clip-mode clamp。

命名与文件夹布局

  • - 默认输出路径模式:separated/<模型>/<曲目>/<音轨>.<扩展名>。
  • 自定义名称:--filename {track}/{stem}.{ext}。
  • 支持的变量:{track}、{trackext}、{stem}、{ext}。

批量使用

  • - 单次调用多个文件:demucs a.mp3 b.wav c.flac -o D:\\separated。
  • 自动化脚本和计划任务建议使用绝对路径。

Windows 注意事项

  • - 在虚拟环境中,可执行文件通常位于 venv\\Scripts\\demucs.exe。
  • 路径包含空格时使用引号:demucs D:\\My Music\\song.mp3。
  • 对于外部程序,建议使用绝对可执行路径而非激活 shell。
  • 如果非ASCII路径导致工具/运行时问题,可将输入复制到临时ASCII路径后运行 Demucs。

故障排除

  • - demucs 未找到:运行 python -m demucs --help 或直接调用 venv\\Scripts\\demucs.exe。
  • FFmpeg is not installed / ffprobe not found:安装 FFmpeg 并添加到 PATH,然后用 ffmpeg -version 验证。
  • 内存不足:降低 --segment(例如 6 或 4),设置 -d cpu,或一次处理更少的曲目。
  • CPU 速度慢:减少 --shifts,保持分块启用,并调整 -j。
  • 安装/网络失败:运行 pip 时使用稳定镜像和更长的超时时间。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 music-seperator-demucs-1775940181 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 music-seperator-demucs-1775940181 技能

通过命令行安装

skillhub install music-seperator-demucs-1775940181

下载

⬇ 下载 music-seperator-demucs v1.0.1(免费)

文件大小: 2.18 KB | 发布时间: 2026-4-12 10:41

v1.0.1 最新 2026-4-12 10:41
- Updated skill description for improved clarity and expanded trigger guidance.
- Added detailed Demucs CLI usage examples, output format options, and naming conventions.
- Included troubleshooting tips for missing binaries, FFmpeg issues, and memory/runtime errors.
- Expanded Windows-specific instructions for path handling and venv usage.
- Clarified model, device, chunking, shift, and parallel job options.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部