How to install ffmpeg

ffmpeg is installable using Homebrew, which is my preferred package manager for macOS. The commands:

brew install ffmpeg

Done! Homebrew will install all of the necessary dependencies for you.

Script to download white noise mp3 from YouTube

I have a script to make it an MP3, which assumes you have both youtube-dl and ffmpeg.

youtube-dl https://www.youtube.com/watch?v=nMfPqeZjc2c --output whitenoise.mp4
ffmpeg -i whitenoise.mp4 -q:a 0 -map a whitenoise.mp3

Now, you can use the MP3 file anywhere. It's 10 hours long, and should do the trick.

(Nothing particularly creative about this one, but I just thought it'd be a great computer hack.)

See also: