Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th June 2009, 14:02
Mkipz Mkipz is offline
Junior Member
 
Join Date: Jun 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default FFMPEG maybe not an php library?

HI all,

I installed ffmpeg from source versions 0.6.0

When i run make test i get the following output

Quote:
Build complete.
Don't forget to run 'make test'.

PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'ffmpeg.so' in Unknown on line 0
PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'ffmpeg.so' in Unknown on line 0

Warning: PHP Startup: Invalid library (maybe not a PHP library) 'ffmpeg.so' in Unknown on line 0
PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'ffmpeg.so' in Unknown on line 0

Warning: PHP Startup: Invalid library (maybe not a PHP library) 'ffmpeg.so' in Unknown on line 0
PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'ffmpeg.so' in Unknown on line 0

Warning: PHP Startup: Invalid library (maybe not a PHP library) 'ffmpeg.so' in Unknown on line 0
PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'ffmpeg.so' in Unknown on line 0

Warning: PHP Startup: Invalid library (maybe not a PHP library) 'ffmpeg.so' in Unknown on line 0

================================================== ===================
PHP : /usr/local/bin/php
PHP_SAPI : cli
PHP_VERSION : 5.2.10
ZEND_VERSION: 2.2.0
PHP_OS : Linux - Linux vs04002 2.6.26-2-openvz-686 #1 SMP Thu May 28 17:08:31 UTC 2009 i686
INI actual : /usr/local/Zend/etc/php.ini
More .INIs :
CWD : /usr/local/src/ffmpeg-php-0.6.0
Extra dirs :
VALGRIND : Not used
================================================== ===================
Running selected tests.
FAIL ffmpeg getAudioBitRate test [tests/getAudioBitRate.phpt]
FAIL ffmpeg getAudioChannels test [tests/getAudioChannels.phpt]
FAIL ffmpeg getAudioCodec test [tests/getAudioCodec.phpt]
FAIL ffmpeg getAudioSampleRate test [tests/getAudioSampleRate.phpt]
FAIL ffmpeg getAudioStreamId test [tests/getAudioStreamId.phpt]
FAIL ffmpeg getBitRate test [tests/getBitRate.phpt]
FAIL ffmpeg getDuration test [tests/getDuration.phpt]
FAIL ffmpeg getFileName test [tests/getFileName.phpt]
SKIP ffmpeg getFrame test [tests/getFrame.phpt] reason: ffmpeg extension not loaded
FAIL ffmpeg getFrameCount test [tests/getFrameCount.phpt]
FAIL ffmpeg getFrameHeight test [tests/getFrameHeight.phpt]
FAIL ffmpeg getFrameNumber test [tests/getFrameNumber.phpt]
FAIL ffmpeg getFrameRate test [tests/getFrameRate.phpt]
FAIL ffmpeg getFrameWidth test [tests/getFrameWidth.phpt]
SKIP ffmpeg getFrame backwards test [tests/getFramesBackwards.phpt] reason: ffmpeg extension not loaded
SKIP ffmpeg getFrames forward test [tests/getFramesForward.phpt] reason: ffmpeg extension not loaded
SKIP ffmpeg getFrames forward test [tests/getFramesForwardPassedEnd.phpt] reason: ffmpeg extension not loaded
SKIP ffmpeg getFramesNoArg test [tests/getFramesNoArg.phpt] reason: ffmpeg extension not loaded
FAIL ffmpeg getID3Info() test [tests/getID3Info.phpt]
SKIP ffmpeg get key frames test [tests/getNextKeyFrame.phpt] reason: ffmpeg extension not loaded
SKIP ffmpeg getPTS test (Fixme: This test is no good with robot.avi) [tests/getPTS.phpt] reason: ffmpeg extension not loaded
FAIL ffmpeg getPixelAspectRatio test [tests/getPixelAspectRatio.phpt]
FAIL ffmpeg getPixelFormat test [tests/getPixelFormat.phpt]
FAIL ffmpeg getVideoBitRate test [tests/getVideoBitRate.phpt]
FAIL ffmpeg getVideoCodec test [tests/getVideoCodec.phpt]
FAIL ffmpeg getVideoStreamId test [tests/getVideoStreamId.phpt]
FAIL ffmpeg hasAudio test [tests/hasAudio.phpt]
SKIP ffmpeg test key frame [tests/isKeyFrame.phpt] reason: ffmpeg extension not loaded
FAIL ffmpeg persistent movie test [tests/persistentMovie.phpt]
================================================== ===================
Number of tests : 29 21
Tests skipped : 8 ( 27.6%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 21 ( 72.4%) (100.0%)
Expected fail : 0 ( 0.0%) ( 0.0%)
Tests passed : 0 ( 0.0%) ( 0.0%)
---------------------------------------------------------------------
Time taken : 2 seconds
================================================== ===================

================================================== ===================
FAILED TEST SUMMARY
---------------------------------------------------------------------
ffmpeg getAudioBitRate test [tests/getAudioBitRate.phpt]
ffmpeg getAudioChannels test [tests/getAudioChannels.phpt]
ffmpeg getAudioCodec test [tests/getAudioCodec.phpt]
ffmpeg getAudioSampleRate test [tests/getAudioSampleRate.phpt]
ffmpeg getAudioStreamId test [tests/getAudioStreamId.phpt]
ffmpeg getBitRate test [tests/getBitRate.phpt]
ffmpeg getDuration test [tests/getDuration.phpt]
ffmpeg getFileName test [tests/getFileName.phpt]
ffmpeg getFrameCount test [tests/getFrameCount.phpt]
ffmpeg getFrameHeight test [tests/getFrameHeight.phpt]
ffmpeg getFrameNumber test [tests/getFrameNumber.phpt]
ffmpeg getFrameRate test [tests/getFrameRate.phpt]
ffmpeg getFrameWidth test [tests/getFrameWidth.phpt]
ffmpeg getID3Info() test [tests/getID3Info.phpt]
ffmpeg getPixelAspectRatio test [tests/getPixelAspectRatio.phpt]
ffmpeg getPixelFormat test [tests/getPixelFormat.phpt]
ffmpeg getVideoBitRate test [tests/getVideoBitRate.phpt]
ffmpeg getVideoCodec test [tests/getVideoCodec.phpt]
ffmpeg getVideoStreamId test [tests/getVideoStreamId.phpt]
ffmpeg hasAudio test [tests/hasAudio.phpt]
ffmpeg persistent movie test [tests/persistentMovie.phpt]
================================================== ===================
As you can see he won't load the ffmpeg.so because it isn't an php library? after some days of searching on google i didn't get any result on how to fix this!

Any one got aan solution for this?

Greetings,
Dion
Reply With Quote
Sponsored Links
  #2  
Old 25th June 2009, 16:34
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
Default

What were the exact steps you took to install ffmpeg?
Which distribution are you using?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 14th September 2009, 22:13
darkladen darkladen is offline
Junior Member
 
Join Date: Sep 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Hello list,

I have a time using ffmpeg-php and never had any problems to this day. It turns out that with the latest Linux updates (Centos5.3) ffmpeg-php module has stopped working. I currently have the Linux system updated with the latest and I tried to reinstall the module in its latest version (ffmpeg-php-0.6.0) and all ends well, but when I verify if the extension "ffmpeg.so" is running (php -r "phpinfo ();" | grep ffmpeg) gives me the following:

PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'ffmpeg.so' in Unknown on line 0
<br />
<b>Warning</b>: PHP Startup: Invalid library (maybe not a PHP library) 'ffmpeg.so' in <b>Unknown</b> on line <b>0</b><br />
PHP Warning: PHP Startup: Invalid library (maybe not a PHP library) 'ffmpeg.so' in Unknown on line 0
<br />
<b>Warning</b>: PHP Startup: Invalid library (maybe not a PHP library) 'ffmpeg.so' in <b>Unknown</b> on line <b>0</b><br />
PWD => /home/activemedia/ffmpeg-php-0.6.0
_SERVER["PWD"] => /home/activemedia/ffmpeg-php-0.6.0
_ENV["PWD"] => /home/activemedia/ffmpeg-php-0.6.0


I tried updating the path of the libraries and many other things that I found online but still not working.

Someone could help me??

Thks.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 09:20
libWand.so.10 error Taxick Installation/Configuration 8 3rd May 2009 02:27
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 14:06
ispconfig php 5 errors itamarjp Installation/Configuration 8 25th April 2008 11:20
Apache2 Freezes celtic Server Operation 31 28th May 2007 18:18


All times are GMT +2. The time now is 01:13.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.