Opening any file results in: IOError: Unable to open file

15 views
Skip to first unread message

Brett

unread,
Jun 10, 2011, 10:00:22 AM6/10/11
to pyffmpeg
Any time I try to open any video file I get the following error:

IOError: Unable to open file <filename>

I dug into the cython bindings a bit and found the return value of
url_fopen (the offending function) and looked up the error code. The
return value is -2 and the error is: No such file or directory

I know that the file exists, and ran chmod 666 <filename> just for
safe measure.

Any ideas?

Here are some more details:

FFmpeg version 0.6.2, Copyright (c) 2000-2010 the FFmpeg developers
built on Jun 9 2011 14:25:52 with gcc 4.2.1 (Apple Inc. build 5666)
(dot 3)
configuration: --disable-debug --prefix=/usr/local/Cellar/ffmpeg/
0.6.2 --enable-shared --enable-pthreads --enable-nonfree --enable-gpl
--disable-indev=jack --enable-libx264 --enable-libfaac --enable-
libmp3lame --enable-libtheora --enable-libvorbis --enable-libvpx --
enable-libxvid --enable-libfaad
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libswscale 0.11. 0 / 0.11. 0

using pyffmpeg-2.1beta

jsa

unread,
Jul 8, 2011, 10:49:54 AM7/8/11
to pyffmpeg
On Jun 10, 10:00 am, Brett <brettgra...@gmail.com> wrote:
> Any time I try to open any video file I get the following error:
>
> IOError: Unable to open file <filename>

I'm having the exact same issue. Mac OS X 10.6.7. ffmpeg was built
thru macports. Any suggestions?

pyffmpeg-2.1beta
cython 0.14.1

FFmpeg version 0.6.2, Copyright (c) 2000-2010 the FFmpeg developers
built on May 18 2011 22:40:05 with gcc 4.2.1 (Apple Inc. build 5664)
configuration: --prefix=/opt/local --enable-gpl --enable-postproc --
enable-swscale --enable-avfilter --enable-avfilter-lavf --enable-
libmp3lame --enable-libvorbis --enable-libtheora --enable-libdirac --
enable-libschroedinger --enable-libfaac --enable-libfaad --enable-
libxvid --enable-libx264 --enable-libvpx --enable-libspeex --enable-
nonfree --mandir=/opt/local/share/man --enable-shared --enable-
pthreads --disable-indevs --cc=/usr/bin/gcc-4.2 --arch=x86_64
libavutil 50.15. 1 / 50.15. 1
libavcodec 52.72. 2 / 52.72. 2
libavformat 52.64. 2 / 52.64. 2
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 1.19. 0 / 1.19. 0
libswscale 1.11. 0 / 1.11. 0
libpostproc 51. 2. 0 / 51. 2. 0

Reply all
Reply to author
Forward
0 new messages