← Back to Stem Splitter

Get an MP3 from a video

Stem Splitter works from an audio file on your computer. If the song you want is in an online video, you can save its audio as an MP3 with yt-dlp, a free, open-source tool. It's a one-time setup, then one command per song.

Before you start

Mac

One-time setup (about 5 minutes)

  1. Open Terminal: press ⌘ Space, type Terminal, press Enter.
  2. If you don't have Homebrew yet, install it. Paste this, press Enter, and follow the prompts:
    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    When it finishes, it may print two or three "Next steps" commands. Run those too.
  3. Install yt-dlp and the two helpers it needs:
    brew install yt-dlp ffmpeg deno

Each time you want a song

  1. Copy the video's link from your browser's address bar.
  2. In Terminal, paste this, replace LINK with the video's link (keep the quotes), and press Enter:
    cd ~/Downloads && yt-dlp -x --audio-format mp3 --no-playlist "LINK"
  3. The MP3 appears in your Downloads folder. Upload it on Stem Splitter.

Keeping it working

Video sites change often. If downloads start failing, update first:

brew upgrade yt-dlp

Windows 10 / 11

One-time setup (about 5 minutes)

  1. Open Terminal or PowerShell: right-click the Start button and choose Terminal.
  2. Install yt-dlp and its two helpers by pasting these one at a time, pressing Enter after each. Accept any prompts.
    winget install yt-dlp.yt-dlp
    winget install Gyan.FFmpeg
    winget install DenoLand.Deno
  3. Close Terminal and open it again so Windows finds the new programs.

Each time you want a song

  1. Copy the video's link from your browser's address bar.
  2. In Terminal, paste this, replace LINK with the video's link (keep the quotes), and press Enter:
    cd $HOME\Downloads; yt-dlp -x --audio-format mp3 --no-playlist "LINK"
  3. The MP3 appears in your Downloads folder. Upload it on Stem Splitter.

Keeping it working

If downloads start failing, update first:

winget upgrade yt-dlp.yt-dlp

If something goes wrong

Questions? dmakhija@nuvam.ai · Terms & Copyright