ffmpeg错误输出错误代码:-5

时间:2016-12-14 04:47:39

标签: python ffmpeg pydub

尝试通过pydub运行ffmpeg并接收:

pydub.exceptions.CouldntDecodeError: Decoding failed. ffmpeg returned error code: -5

dyld: lazy symbol binding failed: Symbol not found: _clock_gettime
  Referenced from: /usr/local/Cellar/ffmpeg/3.0.2/lib/libavutil.55.dylib
  Expected in: /usr/lib/libSystem.B.dylib

dyld: Symbol not found: _clock_gettime
  Referenced from: /usr/local/Cellar/ffmpeg/3.0.2/lib/libavutil.55.dylib
  Expected in: /usr/lib/libSystem.B.dylib

运行python 2.7.11和OS X

1 个答案:

答案 0 :(得分:1)

猜测你的Xcode 8,试试这个

export HOMEBREW_DEVELOPER=1
Brew uninstall ffmpeg

Re-install FFMPEG