Skip to content

mohammadmansour200/extra-demucs

Repository files navigation

extra_demucs: Extended Demucs with yt-dlp media downloading and Video Music removal

Features

  • 🎧 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

Get started

Make sure you have ffmpeg installed.

sudo apt install ffmpeg

Download package:

Requires Python 3.9+

pip install extra-demucs

Usage

from 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"
)

About

Extended Demucs with yt-dlp and Video support.

Topics

Resources

License

Stars

Watchers

Forks

Contributors