jonn
Verified User
if anyone has installed FFmpeg + FFmpeg-PHP + Mplayer + Mencoder + flv2tool + LAME MP3 Encoder + Libogg + Libvorbis + AMR on a Linux Based Server
please Im going insane this is the second day on this install, I followed about 13-20 different sites instructions, google groups, and finally it installed
BUT. and a big BUT
These are the files I used to install after many many different tries with many different versions to get it to install.
It installed I was so happy, but I think I celebrated too early.
=============////
when trying the make test to see if it worked
[root@ns1 ffmpeg-php-0.5.1]# make test
I got errors -- it doesnt load the ffmpeg.so
now I know it's there because I see it in:
/usr/local/lib/php/extensions/no-debug-non-zts-20060613/
and everywhere else:
ffmpeg: /usr/bin/ffmpeg /usr/local/bin/ffmpeg /usr/share/ffmpeg
Any help is greatful.
Ive looked at many websites over 2 days. And every page here on directadmin, nothing helped all are outdated by nearly 2 years or for another OS, I still get the error regardless what I try.
I tried removing ./ in extension_dir=""
I also tried extension_dir="/usr/local/lib/php/extensions/no-debug-non-zts-20060613/"
in both Zend/php.ini & lib/php.ini
with & without extension=ffmpeg.so
added it in many variations, then removed the changes to php.ini's I did and tried 'make test' and again the same error with ffmpeg.so. It didnt matter what I tried.
What Am I missing. I know it's a stab in the dark asking.
The server is custombuild CLI 32bit. If that helps understand what I rambling on about.
please Im going insane this is the second day on this install, I followed about 13-20 different sites instructions, google groups, and finally it installed
BUT. and a big BUT
These are the files I used to install after many many different tries with many different versions to get it to install.
Code:
Setup the directory to use
(Wouldn’t want /root to start getting crowded, would we?)
mkdir /usr/local/src
cd /usr/local/src
Dowload the necessary files.
wget http://www3.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2
wget http://rubyforge.org/frs/download.php/9225/flvtool2_1.0.5_rc6.tgz
wget http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz
wget http://internap.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.5.1.tbz2
wget http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz
wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz
wget http://ftp.penguin.cz/pub/users/utx/amr/amrnb-6.1.0.4.tar.bz2
wget http://ftp.penguin.cz/pub/users/utx/amr/amrwb-6.0.0.1.tar.bz2
It installed I was so happy, but I think I celebrated too early.
=============////
when trying the make test to see if it worked
[root@ns1 ffmpeg-php-0.5.1]# make test
I got errors -- it doesnt load the ffmpeg.so
Code:
[root@ns1 modules]# cd /usr/local/src/ffmpeg-php-0.5.1/
[root@ns1 ffmpeg-php-0.5.1]# make test
Build complete.
Don't forget to run 'make test'.
PHP Warning: PHP Startup: Unable to load dynamic library './ffmpeg.so' - ./ffmpeg.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'modules/ffmpeg.so' - modules/ffmpeg.so: undefined symbol: le_ffmpeg_frame in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'modules/ffmpeg.so' - modules/ffmpeg.so: undefined symbol: le_ffmpeg_frame in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'modules/ffmpeg.so' - modules/ffmpeg.so: undefined symbol: le_ffmpeg_frame in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'modules/ffmpeg.so' - modules/ffmpeg.so: undefined symbol: le_ffmpeg_frame in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'modules/ffmpeg.so' - modules/ffmpeg.so: undefined symbol: le_ffmpeg_frame in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'modules/ffmpeg.so' - modules/ffmpeg.so: undefined symbol: le_ffmpeg_frame in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library 'modules/ffmpeg.so' - modules/ffmpeg.so: undefined symbol: le_ffmpeg_frame in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'modules/ffmpeg.so' - modules/ffmpeg.so: undefined symbol: le_ffmpeg_frame in Unknown on line 0
now I know it's there because I see it in:
/usr/local/lib/php/extensions/no-debug-non-zts-20060613/
and everywhere else:
ffmpeg: /usr/bin/ffmpeg /usr/local/bin/ffmpeg /usr/share/ffmpeg
Any help is greatful.
Ive looked at many websites over 2 days. And every page here on directadmin, nothing helped all are outdated by nearly 2 years or for another OS, I still get the error regardless what I try.
I tried removing ./ in extension_dir=""
I also tried extension_dir="/usr/local/lib/php/extensions/no-debug-non-zts-20060613/"
in both Zend/php.ini & lib/php.ini
with & without extension=ffmpeg.so
added it in many variations, then removed the changes to php.ini's I did and tried 'make test' and again the same error with ffmpeg.so. It didnt matter what I tried.
What Am I missing. I know it's a stab in the dark asking.
The server is custombuild CLI 32bit. If that helps understand what I rambling on about.