Running FFmpeg on Mac with Apple Silicon (M1)

FFmpeg download: https://ffmpeg.org

Adding the path when using Bash: https://www.rickmakes.com/installing-ffmpeg-on-a-mac-without-macports/#bash_profile

FFmpeg Notes: https://www.rickmakes.com/ffmpeg-notes/

FFmpeg playlist: https://www.youtube.com/playlist?list=PLErU2HjQZ_ZOPDZ71Khzt5PX4X4j6flkg

Go to Downloads Folder
cd ~/Downloads
List Files
ls
Check if /usr/local/bin exists
ls /usr/local/bin
Create /usr/local/bin (if it doesn’t exist)
sudo mkdir -p /usr/local/bin
Copy Binaries to /usr/local/bin
sudo cp ff* /usr/local/bin
Remove Binaries from Quarantine
sudo xattr -dr com.apple.quarantine /usr/local/bin/ff*
Check PATH
echo $PATH
Go to Home Directory
cd
Add /usr/local/bin to PATH (if needed)
touch ~/.zshrc
open -e ~/.zshrc
Contents of .zshrc File
path+=/usr/local/bin
Load .zshrc Immediately
source .zshrc
Run ffmpeg, ffprobe, ffplay
ffmpeg
ffprobe
ffplay
Check Shell (if you are having trouble)
echo $SHELL

If you get “/bin/bash”, see these instructions.

FFmpeg Command from Video
time ffmpeg -i GOPR7754.MP4 -vf scale="1920x1080" -c:v h264_videotoolbox -b:v 4400k -pix_fmt yuv420p -acodec copy out_vtb.mp4

Leave a comment

Your email address will not be published. Required fields are marked *