#1 (permalink)  
Old 08-04-2006, 05:51 PM
Registered User
 
Join Date: Aug 2006
Posts: 1
Botan is on a distinguished road
ffmpeg-php installation and a few others.

I'm trying to setup on the fly flv conversion on my server, but have run into trouble.
I supposedly need ffmpeg, ffmpeg-php and mplayer (lame audio codec?)

I'm just guessing here, but this is what I have done so far: (note that i'm on a fedora server w/ cpanel)

Code:
yum install subversion
chmod 775 lib
chmod 775 bin
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
mv mplayer /usr/local/
mv ffmpeg /usr/local/
wget ftp://ftp6.mplayerhq.hu/MPlayer/releases/codecs/all-20060611.tar.bz2
bunzip2 all-20060611.tar.bz2
tar xvf all-20060611.tar
cd /usr/local/mplayer
mkdir codecs
cd ..
cd ..
cd ..
cd all-20060611
mv * /usr/local/mplayer/codecs
cd ..
rmdir all-20060611
cd /usr/local/mplayer
mv codecs /usr/local/lib
cd ..
cd ..
cd ..
mkdir mm
cd mm
wget http://rpm.livna.org/fedora/4/i386/lame-3.96.1-0.lvn.1.4.i386.rpm
sudo rpm -Uvh lame-3.96.1-0.lvn.1.4.i386.rpm
wget http://dag.wieers.com/packages/lame/lame-devel-3.96.1-4.fc1.rf.i386.rpm
sudo rpm -Uvh lame-devel-3.96.1-4.fc1.rf.i386.rpm
wget http://downloads.xvid.org/downloads/xvidcore-1.1.0.tar.bz2
bzip2 -cd xvidcore-1.1.0.tar.bz2 | tar xvf -
cd xvidcore-1.1.0/build/generic/
./configure
make
su -c 'make install'
cd ..
cd ..
cd ..
cd ..
su -c 'ln -s /usr/local/lib/codecs /usr/lib/win32'
cd /usr/local/mplayer
./configure --prefix=/usr --enable-largefiles --with-codecsdir=/usr/local/mplayer/codecs
make
su -c 'make install'
cd ..
cd ..
cd /usr/local/ffmpeg
./configure --prefix=/usr/local/ffmpeg --enable-mp3lame --extra-cflags=-I/usr/bin/lame/include
I dont know if i've done the above correctly, but assuming I have; I cant manage to install ffmpeg-php due to the fact that i'm supposed to find the php sources extensions directory.
Despite having root access on ssh; I have been unable to pinpoint it to continue.
Please give me some helpful guidance if you dont mind xD

I found the extensions directory. Simply go to php.ini and find where the extensions path is located. Note that only 1 copy/version of php can be installed to continue ffmpeg-php. This is the point where I must stop for now, as the server I'm working on has multiple.

It would be very great if someone could finish what I started, or run through how to do what I did and intended on doing, for other popular server operating systems.

Last edited by Botan; 08-07-2006 at 01:20 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 09:57 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© cPanel Inc