Thursday, September 4, 2008

configure LAME/MPLAYER/MENCODER/FFMPEG on Linux server

For Convert Music or video file in to flv file that flash player support LAME/MPLAYER/MENCODER/FFMPEG codder is used just like youtube:-
/* who to configure LAME/MPLAYER/MENCODER/FFMPEG on Linux server */


must have gcc compiler on server

cd /usr/local/src
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://superb-west.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.5.0.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

1) LAME:-

./configure –enable-shared –prefix=/usr
make
make install

2)mplayer & Mencoder:-

1)download /usr/local/bin/mplayer

2) cd /usr/local/src/mplayer
3)./configure –enable-jpeg
4) make && make install
5) mplayer /* to check*/

3) FFMPEG:-

1) mkdir /usr/local/bin/ (if not exist)
chmod 775 bin
2)/usr/local/lib/ (if not exist)
chmod 775 lib
3)/usr/local/tmp/ (if not exist)
chmod 775 tmp
4) export TMPDIR==/usr/local/tmp
5) svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
6) cd ffmpeg
7) ./configure –prefix=/usr –cross-compile –enable-shared
make
9)make Install
10) ffmpeg /* to check*/
11) cd ..
12) rm -rf ffmpeg

2 comments:

Amit Bajaj said...

Please contact Amit Bajaj for a PHP project. Thanks!
9811054605
New Delhi

gohost said...

We are also providing web hosting and web hosting services.
- We provides Domain Name Registration Solutions to expand your business without breaking your budget.web hosting in india