开发者

pyffmpeg segmentation fault on osx

开发者 https://www.devze.com 2023-03-26 18:45 出处:网络
I am having trouble installing and using pyffmpeg in OSX. (Snow Leopard) I tried different versions. Only configuration that seems to install is Python2.6, Cython 0.13 and pyffmpeg 2.0. (Python, ffmp

I am having trouble installing and using pyffmpeg in OSX. (Snow Leopard)

I tried different versions. Only configuration that seems to install is Python2.6, Cython 0.13 and pyffmpeg 2.0. (Python, ffmpeg and cython开发者_如何学编程 is installed with MacPorts and pyffmpeg with setup.py)

But with that when I try to open a file

stream=pyffmpeg.VideoStream()
stream.open(filepath)

it gives this error:

Traceback (most recent call last):
  File "test.py", line 24, in test
    stream.open(filepath)
  File "pyffmpeg.pyx", line 2467, in pyffmpeg.VideoStream.open (pyffmpeg.c:16607)
  File "pyffmpeg.pyx", line 1920, in pyffmpeg.FFMpegReader.open (pyffmpeg.c:11361)
IOError: Unable to open file test.mp4 (url_fopen)
Segmentation fault

Any idea what's wrong?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号