FFmpeg adalah program komputer yang dapat merekam, mengkonversikan dan streaming audio dan video digital dalam berbagai format. FFmpeg merupakan aplikasi command line yang terdiri dari kumpulan pustaka perangkat lunak bebas / open source. Termasuk libavcodec, library untuk audio codec / video codec yang digunakan oleh beberapa proyek lain, dan libavformat, library untuk audio / video mux kontainer dan demux kontainer. Nama proyek yang berasal dari grup video standar MPEG, di tambahkan "FF" untuk "fast forward". http://id.wikipedia.org
# yum update
Menginstall Development Tools
# yum-config-manager --enable clearos-core
# yum --enablerepo=clearos-developer,clearos-epel install clearos-devel
# yum --enablerepo=clearos-developer,clearos-epel install clearos-devel
Menambah repo rpmforge rhel el6 di ClearOS
Lakukan update kembali
# yum update -y
Edit rpmforge di /etc/yum.repos.d/rpmforge, buang [rpmforge-extras] dan [rpmforge-testing].
delete juga [rpmforge-extras] dan [rpmforge-testing] mirror.
Menambah program/aplikasi pendukung
# yum --enablerepo=* install libgcc gdbm-devel libtool-ltdl-devel gd gd-devel php-gd php-xmlrpc php-intl
Lanjutkan dengan menginstall program/aplikasi yang lain
# yum install ffmpeg ffmpeg-devel ffmpeg-php lame ImageMagick sox swftools ghostscript p7zip
Setelah melakukan yang diatas, anda bisa mulai menginstall aplikasi penunjangnya. Berikut ini beberapa aplikasi penunjang dan setting php.ini di ClearOS :
Install Yamdi, Mplayer, Mencoder dan Flvtool2
# yum install yamdi mplayer mencoder flvtool2
Install php-eaccelarator
# yum --enablerepo=* install php-eaccelerator mcrypt php-mcrypt
Install ffmpeg ffmpeg-devel ffmpeg-php
# yum install ffmpeg ffmpeg-devel ffmpeg-php
# yum install yasm openjpeg vorbis-tools
# yum install yasm openjpeg vorbis-tools
Installing gpac & MP4Box
# yum install freeglut*
# wget http://downloads.sourceforge.net/gpac/gpac-0.4.5.tar.gz
# wget http://downloads.sourceforge.net/gpac/gpac_extra_libs-0.4.5.tar.gz
# tar zxvf gpac-0.4.5.tar.gz
# tar zxvf gpac_extra_libs-0.4.5.tar.gz
# cd gpac
# cp -r ../gpac_extra_libs/* extra_lib/
# chmod +x configure
# ./configure
# make lib
# make apps
# make install-lib
# make install
# cp bin/gcc/libgpac.so /usr/lib
# wget http://downloads.sourceforge.net/gpac/gpac-0.4.5.tar.gz
# wget http://downloads.sourceforge.net/gpac/gpac_extra_libs-0.4.5.tar.gz
# tar zxvf gpac-0.4.5.tar.gz
# tar zxvf gpac_extra_libs-0.4.5.tar.gz
# cd gpac
# cp -r ../gpac_extra_libs/* extra_lib/
# chmod +x configure
# ./configure
# make lib
# make apps
# make install-lib
# make install
# cp bin/gcc/libgpac.so /usr/lib
Install PHP-Shield
# cd /usr/lib/php/modules
# wget http://downloads.phpmotion.com/phpshield-loaders/linux/i386/ixed.5.3
# php -i|grep php.ini
# echo "extension=ixed.5.3" >> /etc/php.ini
# service httpd restart
# wget http://downloads.phpmotion.com/phpshield-loaders/linux/i386/ixed.5.3
# php -i|grep php.ini
# echo "extension=ixed.5.3" >> /etc/php.ini
# service httpd restart
=== Konfigurasi di php.ini ====
safe_mode = off
register_globals = off
open_basedir = (no value)
output_buffering = 4096
upload_max_filesize = 200M (or more)
post_max_size = 200M (or more)
max_execution_time = 6000 (or more)
max_input_time = 6000 (or more)
memory_limit = 128M (or more)
display_errors = On
file_uploads = On
enable_dl = On
session.gc_maxlifetime = 14000 (or more)
date.timezone = Asia/Jakarta (sesuaikan)
extension=ffmpeg.so
extension=mcrypt.so
short_open_tag = On
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_WARNING
register_globals = off
open_basedir = (no value)
output_buffering = 4096
upload_max_filesize = 200M (or more)
post_max_size = 200M (or more)
max_execution_time = 6000 (or more)
max_input_time = 6000 (or more)
memory_limit = 128M (or more)
display_errors = On
file_uploads = On
enable_dl = On
session.gc_maxlifetime = 14000 (or more)
date.timezone = Asia/Jakarta (sesuaikan)
extension=ffmpeg.so
extension=mcrypt.so
short_open_tag = On
error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_WARNING
0 komentar:
Posting Komentar