How do I install FFMPEG (Centos 7) ?

az-hosting

Verified User
Joined
Nov 21, 2014
Messages
7
Hi,
I need install ffmpeg on my server.
Centos 7 , Directadmin with 3 php (5.6,7,7.3)

There is some information I searched, but it is very old.

Thanks!
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,300
Location
LT, EU
Simply:
Code:
wget -O ffmpeg-release-amd64-static.tar.xz https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
tar xJf ffmpeg-release-amd64-static.tar.xz -C /usr/local/bin/ --strip-components=1 --no-same-owner '*/ffmpeg' '*/ffprobe'
That's it, you should be able to run ffmpeg from command line then :)
 

Zhenyapan

Verified User
Joined
Feb 23, 2018
Messages
403
Location
UA
Simply:
Code:
wget -O ffmpeg-release-amd64-static.tar.xz https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
tar xJf ffmpeg-release-amd64-static.tar.xz -C /usr/local/bin/ --strip-components=1 --no-same-owner '*/ffmpeg' '*/ffprobe'
That's it, you should be able to run ffmpeg from command line then :)
As I understand it is just console version? If I need ffmpeg for PHP I still must install it via phpize?
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,300
Location
LT, EU
As I understand it is just console version? If I need ffmpeg for PHP I still must install it via phpize?
Yes, it's just a ffmpeg binary, if PHP extension is needed - it needs to be built the standard way.
 
Top