AI Workshop: learn to build apps with AI →
Tools Tips: How to fix the ffmpeg not found error with youtube-dl

Join the AI Workshop and learn to build real-world apps with AI. A hands-on, practical program to level up your skills.


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 this 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.

Lessons in this unit:

0: Introduction
1: ▶︎ How to fix the ffmpeg not found error with youtube-dl
2: How to set up hot reload on Electron
3: How to disable 1Password in an input field
4: How to recover lost data from an SD card
5: Pasting code snippets in Discord
6: Remove EXIF data from images
7: Searching for the perfect e-ink writing device
8: Syntax highlight any block on a Web Page
9: What is a webhook?
10: What's the best platform to deploy your projects?
11: Scraping with Puppeteer
12: Why use a preview version of a browser?
13: A practical guide to Homebrew
14: How to fix the xcrun invalid active developer path error in macOS