Today, I’ve got a task to install ffmpeg and enable it on php in whm/Cpanel live server. I’m planning to use rpmforge repository to get all ffmpeg packages for yum install.
![]()
[email protected] installation uname -i x8664 My OS architecture using 64 bit OS. So I need to use 64bit binary from rpmforge. #rpm -Uhv #yum clean all #yum update #yum install ffmpeg ffmpeg-devel #yum install mplayer mencoder while installing flvtool2 which throws me an error, no ruby package installed on the server and yum will not help to install from Red/centos repository. What I’m doing is I have uploaded the ruby binary from my Centos5.4 repository which kept on locally.
Feb 26, 2018 - Sep 06, 2017 Hello:) We need to install ffmpeg on our cPanel dedicated server. Does anybody knows how to instal ffmpeg on CentOS 6.2.
FFmpeg is an awesome collection of open-source tools that can record and stream video and audio. However, it can also convert multimedia the files to different formats. FFmpeg includes libavcodec audio/video codec library in it.Today, in this article i am going to show you how to install FFmpeg.
Note that I did all the following steps on a CentOS server. The first thing that you need to do is to add the DAG repository, to add it do the following steps: Open a file /etc/yum.repos.d/dag.repo and add the following lines: dag name=DAG RPM Repository baseurl=gpgcheck=1 enabled=1 Once done, Save and close the file. To successfully use the DAG repository with yum tool, you need to add DAG’s GPG key: rpm -import Now DAG is setup, it’s good to update all your packages.
![]()
Yum update This could potentially upgrade, install, or replace various packages that may or may not be very important to you. Make sure you carefully look through that list and do any essential preparations before telling yum that it can proceed. Installing – FFmpeg Now you are ready to install FFmpeg with yum. Yum install ffmpeg Now copy ffmpeg.so extenstion under php extensions directory cp /srv/build/ffmpeg-php-0.6.0/.libs/ffmpeg.so /path/to/php /extemsionmodules/ Add extension=ffmpeg.so to php.ini file you can find this extension under./lib/ffmgeg.so nano /path/to/php.ini Add below lines at the end of php.ini file ffmpeg extension=ffmpeg.so Now open yum.conf nano /etc/yum.conf and add ffmpeg. in exclude line.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |