ffmpeg 错误,错误代码:-5
ffmpeg errors out with error code: -5
尝试通过 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
猜测你在 Xcode 8,尝试这样做
export HOMEBREW_DEVELOPER=1
Brew uninstall ffmpeg
Re-install FFMPEG
尝试通过 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
猜测你在 Xcode 8,尝试这样做
export HOMEBREW_DEVELOPER=1
Brew uninstall ffmpeg
Re-install FFMPEG