Ffmpeg not working after upgrade to Mavericks

After a recent upgrade to Mavericks 10.9.5, my ffmpeg installation was disabled

Error:

dyld: Library not loaded: /usr/local/lib/libx264.142.dylib Referenced from: /usr/local/bin/ffmpeg Reason: image not found Trace/BPT trap: 5 

Any thoughts? I am not very familiar with manual compilation and I installed ffmpeg via Homebrew.

I tried to remove and execute:

 brew install ffmpeg --HEAD brew install ffmpeg --build-from-source 

but he is throwing an error. / configure

 ==> ./configure --prefix=/usr/local/Cellar/ffmpeg/2.4.2 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample If you think configure made a mistake, make sure you are using the latest version from Git. If the latest version fails, report the problem to the ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net. Include the log file "config.log" produced by configure as this will help solve the problem. READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting These open issues may also help: gpac 0.5.0 doesn't build against ffmpeg 2.4.1 (https://github.com/Homebrew/homebrew/issues/32978) 
+6
source share
2 answers

My solution after some attempts.

 brew uninstall ffmpeg brew doctor 

then he told me that I had an unrelated ffmpeg and I had some dependencies

 brew install faac lame xvid brew doctor 

then he told me that JUST had an unrelated element.

 brew install ffmpeg 

and he worked.

+12
source

For High Sierra (macOS 10.13) I tried the ffmpeg removal method in the answer from chrisallick, but this did not help me solve this problem. I ended up taking a big step further and completely uninstalling and reinstalling my homegrown.

Act at your own risk.

Step 1. Uninstall Homebrew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"

Step 2. Install Homebrew

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Step 3. Install ffmpeg

brew install ffmpeg

Obviously, any other applications that you installed through homebrew should be reinstalled if you selected this option.

This approach really worked for me at High Sierra. There is probably a more direct method until someone publishes it, just think about it. And again, the chrisallick more direct method didn't really work for my case.

0
source

Source: https://habr.com/ru/post/976887/


All Articles