Skip to content

How to fix the ffmpeg not found error with youtube-dl

I love fan noises while sleeping. My sleep quality totally changed for the better since I started.

I was downloading a fan noise audio track from YouTube to put in the Music app using youtube-dl, like this:

youtube-dl ciD52cwJGCs --extract-audio --audio-format mp3 --prefer-ffmpeg; 

But after downloading the file, I got the error

ERROR: ffprobe/avprobe and ffmpeg/avconv not found. Please install one.

To solve this on my Mac I had to run

brew install ffmpeg

It took a while, then I ran the command again and since the file was already downloaded, it was a quick process to get the mp3.


I wrote 21 books to help you become a better developer:

  • HTML Handbook
  • Next.js Pages Router Handbook
  • Alpine.js Handbook
  • HTMX Handbook
  • TypeScript Handbook
  • React Handbook
  • SQL Handbook
  • Git Cheat Sheet
  • Laravel Handbook
  • Express Handbook
  • Swift Handbook
  • Go Handbook
  • PHP Handbook
  • Python Handbook
  • Linux Commands Handbook
  • C Handbook
  • JavaScript Handbook
  • Svelte Handbook
  • CSS Handbook
  • Node.js Handbook
  • Vue Handbook
...download them all now!

Related posts that talk about tools: