LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-19-2010, 02:17 PM   #1
darkgaro
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Rep: Reputation: 0
Post issue with ffmpeg-php and gd module loading on fedora 12


fedora 12 with php 5.3.1 + apache is installed on the server

I needed a FFMPEG + MENCODER + FFMPEG-PHP setup , so I have installed all of the necessary libraries/codecs along with ffmpeg , mencoder and ffmpeg-php

I've added ffmpeg-php (ffmpeg.so) module to php.ini and restarted httpd

But ffmpeg was not showing up in phpinfo() so I grepped : php -i | grep ffmpeg
for some clues and got this warning

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/ffmpeg.so' - /usr/lib/php/modules/ffmpeg.so: undefined symbol: php_gd_gdImageSetPixel in Unknown on line 0

That error explains why ffmpeg is not loading

Obviously something to do with GD library , so I've researched on the net , and found that some users suggest loading the GD module before FFMPEG module.

I gave it a try and added this at the end of php.ini:

Code:
[gd]
;loading gd
extension=gd.so

[ffmpeg]
;loading ffmpeg
extension=ffmpeg.so
...but still same error when greping phpinfo()

Am I configuring this right or ???
Anyone encountered this before?

Thanks
 
Old 01-19-2010, 02:45 PM   #2
darkgaro
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Fixed it

I was using the latest SVN ffmpeg-php version and that version is obviously buggy

Installed version ffmpeg-php-0.6.0 and it worked fine
 
  


Reply

Tags
ffmpeg, ffmpegphp, gd, linux



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me in installing ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encod mitesh.ever Red Hat 5 05-16-2009 12:14 PM
Does the latest version of ffmpeg not work with ffmpeg-php? whitey4900 Linux - Software 0 08-04-2008 05:16 PM
automatic ipv6 module loading issue mio Slackware 1 03-27-2005 09:33 AM
Sound module or driver loading issue FlyingSolo Linux - General 3 02-13-2005 05:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration