آموزش نصب FFmpeg, Mplayer, Mencoder, FFmpeg-PHP روی centos 5.x

با سلام

براتون آموزش کامل نصب  رو قرار میدم امیدوارم استفاده لازم رو ببرید

1 Setting Up RPMForge Respository.

For i386/i686

rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

For x86_64

rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm


2 Install ffmpeg, mplayer, mencoder with all supported modules.

yum -y install ffmpeg ffmpeg-devel mplayer mencoder flvtool2


3 Install FFMPEG-PHP

cd /usr/src
wget http://garr.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.6.0.tbz2
tar jxvf ffmpeg-php-0.6.0.tbz2
cd ffmpeg-php-0.6.0
phpize
./configure
make
make install


It will copy the ffmpeg.so module in php default module location. Now you have to edit php.ini file to enable ffmpeg-php support in it by using ffmpeg.so module.

vi /etc/php.ini

and append following line

extension=ffmpeg.so

Restart apache service to take effect of php.ini

/etc/init.d/httpd restart

Run following command to ffmpeg module listing in php.

php -m | grep ffmpeg

Have a nice streaming

منبع: http://www.sohailriaz.com

Răspunsul a fost util?

 Tipărire

V-ar mai putea interesa și

تعمیر و بهینه سازی دیتابیس های کل سرور با یک دستور - repair database

با سلام با دستور ذیل میتوانید دیتابیس های کل سررو را بهینه و تقریبا تعمیر کنید mysqlcheck -Aop...

سرور اختصاصی چیست؟ - what is dedicated server

سرور اختصاصی، کامپیوتری است که دائما روشن و متصل به اینترنت است. کاربرد های فراوانی در زمینه های...

ارور HTTP Error 500.21 - Internal Server Error در websitepanel

با سلام خدمت کاربران الماس هاستینگ چنانچه هنگام استفاده از websitepanel با ارور HTTP Error...

آموزش ساخت اکانت در nttacplus

با سلام در این آموزش خواهید آموخت چگونه در nttacplus اکانت بسازید. لینک دانلود

هاست ویندوز چیست؟ - what is host windows

میزبانی ویندوز بیشتر برای کسانی مناسب است که قصد استفاده از اسکریپت های asp یا asp.net و یا بانک...