pyffmpeg segmentation fault on osx
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?
精彩评论