ffmpeg-python icon indicating copy to clipboard operation
ffmpeg-python copied to clipboard

AttributeError: module 'ffmpeg' has no attribute 'probe'

Open fanpiao opened this issue 2 years ago • 4 comments

AttributeError: module 'ffmpeg' has no attribute 'probe' 80287984919.mpg 不能获取 .mpg 类型视频的数据

fanpiao avatar Apr 04 '23 08:04 fanpiao

升级了ffmpeg-python 解决了

fanpiao avatar Apr 04 '23 09:04 fanpiao

Hi @fanpiao ,你是升级到了什么版本,我现在用 0.2.0 版本会有这个问题 AttributeError: module 'ffmpeg' has no attribute 'input'

ProgrammerManstein avatar May 12 '23 11:05 ProgrammerManstein

我是用pip 把ffmpeg-python 升级到最新版就解决了

fanpiao avatar May 16 '23 01:05 fanpiao

新版本不知道为啥probe方法变私有了,可以使用下面这两条命令调用 from ffmpeg import _probe probe = _probe.probe(path)

627992512 avatar Aug 04 '23 16:08 627992512