FFMpeg on Centos

And.. What problems did you have? I see:
Code:
echo 'extension=/usr/local/lib/php/extensions/ no-debug-non-zts-20020429/ffmpeg.so' >> /usr/local/Zend/etc/php.ini

It could be different, you'll see the path after step 14. And if you don't have zend optimizer, use /usr/local/lib/php.ini instead of /usr/local/Zend/etc/php.ini.
 
Main problem is that this command is not working all above is working fine:

Code:
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer

getting there the error, no such command...

Peter
 
Peter,

You need subversion installed to complete the command :cool: ...
yum install subversion

If compiling mplayer svn fails on ftello error... I was able to resolve by modifying the file ./mplayer/osdep/ftello.c (CentOS4.4; 2.6.9-42.0.10.ELsmp)
- return floc;
+ return floc.__pos;
Another issue I ran across was the extensions directory defined in the php.ini (/usr/local/lib/php.ini).
- extension_dir = "./"
+ extension_dir = ""

Hope this helps,
Ted
 
when i install the subversion like stated in the howto i posted the link to earlier i get at the end this error:

Error: Missing Dependency: perl(URI) >= 1.17 is needed by package subversion


seems that a little before every goes right:

--> Populating transaction set with selected packages. Please wait.
---> Package subversion.i386 0:1.1.4-2.ent set to be updated
--> Running transaction check
--> Processing Dependency: libneon.so.24 for package: subversion
--> Processing Dependency: libaprutil-0.so.0 for package: subversion
--> Processing Dependency: libapr-0.so.0 for package: subversion
--> Processing Dependency: libswigpy.so.0 for package: subversion
--> Processing Dependency: perl(URI) >= 1.17 for package: subversion
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package apr.i386 0:0.9.4-24.5.c4.2 set to be updated
---> Package neon.i386 0:0.24.7-4 set to be updated
---> Package apr-util.i386 0:0.9.4-21 set to be updated
---> Package swig.i386 0:1.3.21-6 set to be updated
--> Running transaction check
--> Processing Dependency: perl(URI) >= 1.17 for package: subversion
--> Processing Dependency: libqthreads.so.12 for package: swig
--> Processing Dependency: libguile.so.12 for package: swig
--> Processing Dependency: libguile-ltdl.so.1 for package: swig
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package guile.i386 5:1.6.4-14 set to be updated
--> Running transaction check
--> Processing Dependency: perl(URI) >= 1.17 for package: subversion
--> Processing Dependency: umb-scheme >= 3.2-21 for package: guile
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package umb-scheme.i386 0:3.2-36.EL4 set to be updated
--> Running transaction check
--> Processing Dependency: perl(URI) >= 1.17 for package: subversion
--> Finished Dependency Resolution
so anybody have a idea...
 
Last edited:
i get after following all of the instructions at the above howto the following error:

PHP Warning: Unknown(): Unable to load dynamic library './/usr/local/lib/php/extensions/' - .//usr/local/lib/php/extensions/: cannot read file data: Is a directory in Unknown on line 0
PHP Warning: Unknown(): Unable to load dynamic library './/usr/local/lib/php/extensions/ no-debug-non-zts-20020429/ffmpeg.so' - .//usr/local/lib/php/extensions/ no-debug-non-zts-20020429/ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0

i know that the space between "/extensions/ no-de" is the problem, but how to remove this and get the right link there.... the instruction that caused this was:

echo 'extension=/usr/local/lib/php/extensions/ no-debug-non-zts-20020429/ffmpeg.so' >> /usr/local/Zend/etc/php.ini

guess i didn't look good before copy pasting it.

Peter
 
Last edited:
Back
Top