We need to install ffmpeg, python3, and sox if not already installed. On OS X, you can use homebrew:
brew install ffmpeg brew install sox brew install python3 brew install pv brew install php # only necessary if you don't already have php installed
If you have older versions already installed, installing will fail as they already exist. I would recommend updating to the latest version though:
brew upgrade ffmpeg brew upgrade sox brew upgrade python3 brew upgrade pv brew upgrade php # you may or may not want to do this depending on if you're ready to upgrade to php8 on your laptop :)
Next, install youtube-dl. Note that if you want to run through this again at a future date you may need to update youtube-dl — old versions of it occasionally break as youtube updates their site.
sudo -H pip3 install --upgrade youtube-dl
Next, install yt-dlp, a fork of youtube-dl that has a workaround (for now) for an issue where youtube has been throttling youtube-dl’s download speed:
sudo -H pip3 install --upgrade yt-dlp
Next, run a couple more commands to install printvideo.com
:
mkdir -p ~/pipelines && cd ~/pipelines curl https://justine.lol/printvideo.com > printvideo.com && chmod a+x printvideo.com
Finally, exit and restart your shell to ensure all these recently installed programs are loaded.
brew update <thing>
should bebrew upgrade <thing>