首页 > 解决方案 > FFmpeg macos安装原因:找不到镜像

问题描述

我正在尝试在我的 Mac 上安装 FFmpeg。
当我做

brew install ffmpeg --with-chromaprint --with-fdk-aac
--with-fontconfig --with-freetype --with-frei0r --with-game-music-emu --with-libass --with-libbluray --with-libbs2b --with-libcaca --with-libgsm --with-libmodplug --with-librsvg --with-libsoxr --with-libssh --with-libvidstab --with-libvorbis --with-libvpx --with-opencore-amr --with-openh264 --with-openjpeg --with-openssl --with-opus --with-rtmpdump --with-rubberband --with-sdl2 --with-snappy --with-speex --with-tesseract --with-theora --with-tools --with-two-lame --with-wavpack --with-webp --with-x265 --with-xz --with-zeromq --with-zimg

当我尝试使用 FFmpeg 时会发生这种情况

dyld: Library not loaded: /usr/local/opt/rubberband/lib/librubberband.2.dylib  
Referenced from: /usr/local/bin/ffmpeg  
Reason: image not found  
Abort trap: 6

标签: macosffmpegterminalhomebrew

解决方案


这应该可以解决问题:

$ brew reinstall ffmpeg

推荐阅读