背景:
MAC 系统
ffmpeg 去水印
执行图片去水印ffmpeg报错
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/bin/ffmpeg
Reason: image not found
brew info openssl
ssl提升到1.1版本,但是本地的ffmpeg 依赖1.0版本
切换版本
brew switch openssl 1.0.2s
第二次报错
dyld: Library not loaded: /usr/local/opt/x265/lib/libx265.179.dylib
Referenced from: /usr/local/bin/ffmpeg
重装,解决
brew reinstall ffmpeg