ffmpeg installation script for mac
curl -o- https://cdn.rawgit.com/abernier/bbe6e3f8fa2b96b593731d55956a09a8/raw/89b3c4648f93f99a382f7a674af07bdabd0017cc/ffmpeg-4.0-install.sh | sh
#!/bin/sh | |
cd /tmp && curl -L "https://ffmpeg.zeranoe.com/builds/macos64/static/ffmpeg-4.0-macos64-static.zip" | tar -xf- | |
mkdir -p ~/.local/bin | |
cp /tmp/ffmpeg-4.0-macos64-static/bin/{ffmpeg,ffprobe} ~/.local/bin | |
rm -Rf /tmp/ffmpeg-4.0-macos64-static | |
echo 'export PATH=$PATH:~/.local/bin' >> ~/.bash_profile | |
source ~/.bash_profile |