Hey all,
I just set up a new Centos 4.6 server running Php 5.23. I've got flvtool2, FFmpeg and Mplayer installed, and can call ffmpeg, flvtool2, mencoder and mplayer from the command line and get a response.
I have installed ffmpeg as shared.
Ffmpeg-php appears to compile and install properly, and it puts ffmpeg.so where it's supposed to go, and I've got it being called from my php.ini file.
However, I cannot get ffmpeg showing in php and of course, videos don't get converted. I get the uploaded video, but nothing from there, and no debug.txt info being created. I just presume that the php calls to ffmpeg are not going where they're supposed to.
But I don't know how to fix it, and wondering if anyone can give me a hint about where to begin to look.
I *was* writing an excellent tutorial on how to install everything but obviously I need to figure it out myself first... heh.
I get the following when I run "make test" after running "make" on the ffmpeg-php files:
Code:
FAILED TEST SUMMARY
---------------------------------------------------------------------
ffmpeg animatedGif [tests/animatedGif.phpt]
ffmpeg getAudioBitRate test [tests/getAudioBitRate.phpt]
ffmpeg getAudioSampleRate test [tests/getAudioSampleRate.phpt]
ffmpeg getFrame cropping test [tests/getFrameCrop.phpt]
ffmpeg getFrameResampled test [tests/getFrameResampled.phpt]
ffmpeg getFrame backwards test [tests/getFramesBackwards.phpt]
ffmpeg getFrames forward test [tests/getFramesForward.phpt]
ffmpeg getFrames forward test [tests/getFramesForwardPassedEnd.phpt]
ffmpeg getFramesNoArg test [tests/getFramesNoArg.phpt]
ffmpeg getFramesResampled test [tests/getFramesResampled.phpt]
ffmpeg getID3Info() test [tests/getID3Info.phpt]
ffmpeg getPTS test [tests/getPTS.phpt]
ffmpeg getVideoBitRate test [tests/getVideoBitRate.phpt]
ffmpeg persistent movie test [tests/persistentMovie.phpt]
Although, it still installs if I run "make install".
No idea where to start looking at this one ... hope someone here has run into this.
Bookmarks