LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Best way to install ffmpeg on CentOS7 (https://www.linuxquestions.org/questions/linux-server-73/best-way-to-install-ffmpeg-on-centos7-4175563413/)

AdultFoundry 01-08-2016 10:01 AM

Best way to install ffmpeg on CentOS7
 
I need to install ffmpeg for a script that I will be using. What is the best way to install that, as of now? I may need something like php-ffmpeg too, I am not sure. I cant do that with yum install ffmpeg, and I was reading that I could add an extra repo. At the same time, I was reading in the books not to be adding too many repos too. In general I would like to do it in the best possible way. Maybe download the code from ffmpeg.org? It does not seem like they have good installation instructions there...

AdultFoundry 01-08-2016 12:09 PM

http://xmodulo.com/how-to-set-up-epe...on-centos.html
http://ask.xmodulo.com/enable-nux-de...ntos-rhel.html

yum install epel-release (this is needed for Nux Desktop Repo)
rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro
rpm -Uvh http://li.nux.ro/download/nux/dextop...nux.noarch.rpm
yum install ffmpeg

Do I need php-ffmpeg? This is for a php based tube site script, advanced.

AdultFoundry 01-12-2016 03:32 AM

"Note that the nux version of ffmpeg is pretty old. It may work quite well for your scripts though. I wound up installing from source, which is also doable.

https://gist.github.com/mustafaturan/7053900 gives instructions"

ondoho 01-14-2016 01:32 PM

seems like you solved it.

anyhow, i was recently recommended to use a static build (not installing, just run it from the dir where it resides):
http://johnvansickle.com/ffmpeg/

haven't tried it yet though.


All times are GMT -5. The time now is 12:25 AM.