click INSERT key and add this line:
[dag]
name=DAG RPM Repository
baseurl=http://apt.sw.be/redhat/el$releasever/en/$basearch/dag
gpgcheck=1
enabled=1
save it! :wq!
# rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
# yum update
# yum install ffmpeg ffmpeg-devel ffmpeg-libpostproc
# ffmpeg
done installing ffmpeg.
All we need to do is to install ffmpeg-php
# yum install php-gd php-devel
1. Download the ffmpeg-php
2. Extract the archive:
# tar -xjf ffmpeg-php-X.x.x.tbz2
# cd ffmpeg-php-X.x.x/
# phpize
# ./configure
# make
# make install
# echo 'extension=ffmpeg.so' >> /etc/php.ini
now restart your httpd
# service httpd restart
now check your phpinfo and search ffmpeg.
Done, You can now use ffmpeg in your php application.
:) enjoy !
No comments:
Post a Comment