I installed ffmpeg through homebrew but when I try to run it, even just typing in ffmpeg I get the following error message:
ffmpeg
dyld: Library not loaded
I got it to work by running brew search liblzma which told me lzma is now part of the xz formula.
brew search liblzma
lzma is now part of the xz formula.
So then I ran brew install xz and tried running ffmpeg again and it works now!
brew install xz