extra_demucs: Extended Demucs with yt-dlp media downloading and Video
Music removal
- 🎧 Vocal isolation using Demucs (
--two-stems vocals) - 📥 Media download from URLs (e.g., YouTube) using
yt-dlp - 📁 Works with both audio and video files
- ✅ Local + remote (URL) input support
Make sure you have ffmpeg installed.
sudo apt install ffmpegDownload package:
Requires Python 3.9+
pip install extra-demucsfrom extra_demucs.separate import extra_separator
extra_separator(
files=[
"https://www.youtube.com/watch?v=123",
"local_audio.mp3"
],
download_format="audio", # or "video"
quality="medium", # "low", "medium", "high"
output_dir="outputs"
)