ffmpeg MacOS 13 ventura 无法使用

ffmpeg 报错

更新MacOS 13.01后,就报错了,查了下是有个依赖需要重装一下

报错信息如下:

yld[1144]: Library not loaded: /opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib
  Referenced from:  /opt/homebrew/Cellar/ffmpeg/5.1.2/bin/ffmpeg
  Reason: tried: '/opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib' (no such file), 
'/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib' (no such file), 
'/opt/homebrew/opt/rav1e/lib/librav1e.0.5.dylib' (no such file), '/usr/local/lib/librav1e.0.5.dylib' (no such file), '/usr/lib/librav1e.0.5.dylib' (no such file, not in dyld cache), 
'/opt/homebrew/Cellar/rav1e/0.5.1/lib/librav1e.0.5.dylib' (no such file),
'/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/rav1e/0.5.1/lib/librav1e.0.5.dylib' (no such file), '/opt/homebrew/Cellar/rav1e/0.5.1/lib/librav1e.0.5.dylib' (no such file), 
'/usr/local/lib/librav1e.0.5.dylib' (no such file), '/usr/lib/librav1e.0.5.dylib' (no such file, not in dyld cache)
[1]    1144 abort      ffmpeg

2023.4.13更新Mac OS 13.3.1
又有新的报错,不过还是按下面的命令执行一下也可以

dyld[53464]: Library not loaded: /opt/homebrew/opt/libvidstab/lib/libvidstab.1.1.dylib
  Referenced from:  /opt/homebrew/Cellar/ffmpeg/5.1.2/bin/ffmpeg
  Reason: tried: '/opt/homebrew/opt/libvidstab/lib/libvidstab.1.1.dylib' (no such file), 
  '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/opt/libvidstab/lib/libvidstab.1.1.dylib' (no such file), 
  '/opt/homebrew/opt/libvidstab/lib/libvidstab.1.1.dylib' (no such file), '/usr/local/lib/libvidstab.1.1.dylib' (no such file), 
  '/usr/lib/libvidstab.1.1.dylib' (no such file, not in dyld cache), '/opt/homebrew/Cellar/libvidstab/1.1.1/lib/libvidstab.1.1.dylib'
   (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/libvidstab/1.1.1/lib/libvidstab.1.1.dylib' (no such file),
    '/opt/homebrew/Cellar/libvidstab/1.1.1/lib/libvidstab.1.1.dylib' (no such file), '/usr/local/lib/libvidstab.1.1.dylib' (no such file), 
    '/usr/lib/libvidstab.1.1.dylib' (no such file, not in dyld cache)

解决方式:

brew reinstall rav1e

如果还不行,可以看下github上的讨论:dav error on apple silicon

你可能感兴趣的:(ffmpeg MacOS 13 ventura 无法使用)