Use demucs to split music into stems (default: vocals, drums, bass, other).
Quick start
demucs --helpdemucs "input.mp3"demucs "input.mp3" -o "D:\\output"demucs "input.mp3" --two-stems vocalsPrerequisites
demucs --help or absolute path like D:\demucs-agent-tool\venv\Scripts\demucs.exe --help.ffmpeg -version must succeed.ffmpeg-python is only a Python wrapper and does not install ffmpeg.exe.Common options
-n htdemucs (default) or other installed model names.-d cuda or -d cpu.--segment 8 --overlap 0.25 to reduce VRAM/RAM pressure.--no-split for short audio with enough memory.--shifts 1..10 (higher quality, slower).-j 2 (or more on strong CPUs).Output format
demucs "input.mp3" --flacdemucs "input.mp3" --mp3 --mp3-bitrate 320 --mp3-preset 2--clip-mode rescale (default) or --clip-mode clamp.Naming and folder layout
separated// .--filename "{track}/{stem}.{ext}".{track}, {trackext}, {stem}, {ext}.Batch usage
demucs "a.mp3" "b.wav" "c.flac" -o "D:\\separated".Windows notes
venv\\Scripts\\demucs.exe.demucs "D:\\My Music\\song.mp3".Troubleshooting
demucs not found: run python -m demucs --help or call venv\\Scripts\\demucs.exe directly.FFmpeg is not installed / ffprobe not found: install FFmpeg and add it to PATH, then verify with ffmpeg -version.--segment (for example 6 or 4), set -d cpu, or process fewer tracks at once.--shifts, keep chunking enabled, and tune -j.共 1 个版本