LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
LinkBack Search this Thread
Old 06-24-2009, 12:47 PM   #1
Mkipz
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Rep: Reputation: 0
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]
================================================== ===================
Running: Debian etc
PHP 5.2.4
apache 2
mysql 5

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
 
Old 06-24-2009, 05:49 PM   #2
sonnik
Member
 
Registered: May 2001
Posts: 149

Rep: Reputation: 17
I'm guessing that ffmpeg didn't build correctly.

Some more information is needed:
-Which distribution are you using? (I don't recognize what's provided in the output below).
-Did you have any "error" output when ffmpeg was being compiled?
-Why did you decide to compile ffmpeg instead of using a pre-built version?
 
Old 06-25-2009, 05:15 AM   #3
Mkipz
LQ Newbie
 
Registered: Jun 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by sonnik View Post
I'm guessing that ffmpeg didn't build correctly.

Some more information is needed:
-Which distribution are you using? (I don't recognize what's provided in the output below).
-Did you have any "error" output when ffmpeg was being compiled?
-Why did you decide to compile ffmpeg instead of using a pre-built version?
Distribution is Debian Etch
I didn't have any error output.
I compiled it myself because i am using Direct Admin and Apt-get install would screw up alot of things.

*edit*
While configuring ffmpeg-php i get this error
Quote:
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
Greetings,
Dion de Kleijn

Last edited by Mkipz; 06-25-2009 at 05:20 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are 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
Ffmpeg installation library conflict error sachin gholap Linux - Newbie 2 04-06-2009 06:33 AM
Does the latest version of ffmpeg not work with ffmpeg-php? whitey4900 Linux - Software 0 08-04-2008 05:16 PM
PHP: Adding ffmpeg-php without re-compiling? vxc69 Linux - Software 2 05-17-2007 04:47 PM


All times are GMT -5. The time now is 06:58 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration