Unable to load ffmpeg-php

241 views
Skip to first unread message

Boto

unread,
Oct 19, 2009, 6:29:14 AM10/19/09
to ffmpeg-php
Hello,

I'am tryaing to install ffmpeg/ffmpeg-php by this tutorial:
http://www.nazly.net/post/installing-ffmpeg-and-ffmpeg-php-on-centos-230/

But php can't load the library:
[root ffmpeg-php-0.5.0]# php -i | grep ffmpeg
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/
lib/php/extensions/no-debug-non-zts-20060613/ffmpeg.so' - /usr/local/
lib/php/extensions/no-debug-non-zts-20060613/ffmpeg.so: undefined
symbol: le_ffmpeg_frame in Unknown on line 0

[root ffmpeg-php-0.5.0]# ldd /usr/local/lib/php/extensions/no-debug-
non-zts-20060613/ffmpeg.so
libavformat.so.52 => /usr/local/lib/libavformat.so.52
(0x0000002a95661000)
libavcodec.so.52 => /usr/local/lib/libavcodec.so.52
(0x0000002a95814000)
libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a96105000)
libavutil.so.50 => /usr/local/lib/libavutil.so.50
(0x0000002a9633f000)
libz.so.1 => /usr/local/lib/libz.so.1 (0x0000002a9644d000)
libbz2.so.1 => /usr/lib64/libbz2.so.1 (0x0000002a96562000)
libm.so.6 => /lib64/tls/libm.so.6 (0x0000002a96672000)
libmp3lame.so.0 => /usr/local/lib/libmp3lame.so.0
(0x0000002a967f8000)
libvorbisenc.so.2 => /usr/local/lib/libvorbisenc.so.2
(0x0000002a96985000)
libvorbis.so.0 => /usr/local/lib/libvorbis.so.0
(0x0000002a96c65000)
/lib64/ld-linux-x86-64.so.2 (0x000000552aaaa000)
libogg.so.0 => /usr/local/lib/libogg.so.0 (0x0000002a96d8f000)

Thanks,

Boto

s0ma

unread,
Oct 20, 2009, 12:43:56 PM10/20/09
to ffmpeg-php
Boto do you have php-gd support enabled? If you do, did you install
it via yum? Is there a /etc/php.d/gd.ini file? This probably isnt
the issue, but I am going in the direction of a problem I see a lot in
CentOS.

On Oct 19, 6:29 am, Boto <chri...@gmail.com> wrote:
> Hello,
>
> I'am tryaing to install ffmpeg/ffmpeg-php by this tutorial:http://www.nazly.net/post/installing-ffmpeg-and-ffmpeg-php-on-centos-...

Boto

unread,
Oct 22, 2009, 8:21:21 AM10/22/09
to ffmpeg-php
Hi s0oma,

Yes, I have php-gd enabled. But it isn't installed via yum and there
isn't a file gd.ini on my system.

You are right about CentOS. I use CentOS 64bit.

Have you another option to try?

Kind regards,

Boto

s0ma

unread,
Oct 23, 2009, 7:39:49 AM10/23/09
to ffmpeg-php
Try re-installing with the latest svn source of ffmpeg-php. Version
0.5.0 is pretty old.
Reply all
Reply to author
Forward
0 new messages