AMP AMP

How to install FFMPEG on CentOS 7.6

Installation of FFmpeg 4.1.3 on CentOS 7.6

Download Link:

https://raw.githubusercontent.com/q3aql/ffmpeg-install/master/ffmpeg-install	MPEG 4.1.3v

Installation

Download the FFmpeg using the wget command. The download link is given in the following command.

[root@linuxhelp:~]# wget  https://raw.githubusercontent.com/q3aql/ffmpeg-install/master/ffmpeg-install
--2019-05-21 14:59:25--  https://raw.githubusercontent.com/q3aql/ffmpeg-install/master/ffmpeg-install
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.192.133, 151.101.128.133, 151.101.64.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.192.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4037 (3.9K) [text/plain]
Saving to: ‘ffmpeg-install’
ffmpeg-install                100%[================================================>]   3.94K  --.-KB/s    in 0.001s  
2019-05-21 14:59:27 (3.04 MB/s) - ‘ffmpeg-install’ saved [4037/4037]

List the contents to view the downloaded file.

[root@linuxhelp ~]# ll
total 28
-rw-------. 1 root root  2097 Dec  9  2017 anaconda-ks.cfg
drwxr-xr-x. 2 root root     6 Dec 12  2017 Desktop
drwxr-xr-x. 2 root root     6 Dec 12  2017 Documents
drwxr-xr-x. 2 root root     6 Dec 12  2017 Downloads
-rw-r--r--  1 root root  4037 May 21 16:43 ffmpeg-install
-rw-r--r--. 1 root root  2128 Dec 12  2017 initial-setup-ks.cfg
drwxr-xr-x. 2 root root     6 Dec 12  2017 Music
drwxr-xr-x. 2 root root     6 Dec 12  2017 Pictures
drwxr-xr-x. 2 root root     6 Dec 12  2017 Public
-rw-r--r--  1 root root 16004 Mar  8 13:10 remi-release-7.rpm
drwxr-xr-x. 2 root root     6 Dec 12  2017 Templates
drwxr-xr-x. 2 root root     6 Dec 12  2017 Videos

Make the downloaded file executable

[root@linuxhelp ~]# chmod a+x ffmpeg-install 

Install the release version of FFMPEG

[root@linuxhelp ~]# ./ffmpeg-install --install release
./ffmpeg-install: line 68: axel: command not found
axel disabled
./ffmpeg-install: line 76: aria2c: command not found
aria2c disabled
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5769  100  5769    0     0   3355      0  0:00:01  0:00:01 --:--:--  3354

Downloading ffmpeg-release-amd64-static.tar.xz (wget)

--2019-05-21 16:44:11--  https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
Resolving johnvansickle.com (johnvansickle.com)... 162.222.226.121
Connecting to johnvansickle.com (johnvansickle.com)|162.222.226.121|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 32676780 (31M) [application/x-xz]
Saving to: ‘ffmpeg-release-amd64-static.tar.xz’

100%[====================================================================================================>] 32,676,780   454KB/s   in 55s    

2019-05-21 16:45:07 (582 KB/s) - ‘ffmpeg-release-amd64-static.tar.xz’ saved [32676780/32676780]

ffmpeg-4.1.3-amd64-static/
ffmpeg-4.1.3-amd64-static/GPLv3.txt
ffmpeg-4.1.3-amd64-static/manpages/
ffmpeg-4.1.3-amd64-static/manpages/ffmpeg-all.txt
ffmpeg-4.1.3-amd64-static/manpages/ffmpeg-scaler.txt
ffmpeg-4.1.3-amd64-static/manpages/ffmpeg-resampler.txt
ffmpeg-4.1.3-amd64-static/manpages/ffmpeg-filters.txt
ffmpeg-4.1.3-amd64-static/manpages/ffprobe.txt
ffmpeg-4.1.3-amd64-static/manpages/ffmpeg-devices.txt
ffmpeg-4.1.3-amd64-static/manpages/ffmpeg-utils.txt
ffmpeg-4.1.3-amd64-static/manpages/ffmpeg-protocols.txt
ffmpeg-4.1.3-amd64-static/manpages/ffmpeg-codecs.txt
ffmpeg-4.1.3-amd64-static/manpages/ffmpeg-bitstream-filters.txt
ffmpeg-4.1.3-amd64-static/manpages/ffmpeg.txt
.
.
.
.
.
ffmpeg-4.1.3-amd64-static/model/model_V8a.model
ffmpeg-4.1.3-amd64-static/model/vmaf_v0.6.1.pkl
ffmpeg-4.1.3-amd64-static/model/nflxtrain_norm_type_none.pkl.model
ffmpeg-4.1.3-amd64-static/model/nflxtrain_vmafv3a.pkl.model
ffmpeg-4.1.3-amd64-static/model/nflxall_vmafv3a.pkl.model
ffmpeg-4.1.3-amd64-static/readme.txt
ffmpeg-4.1.3-amd64-static/ffmpeg
Done!

Check the version of FFmpeg.

[root@linuxhelp ~]# ffmpeg -version
ffmpeg version 4.1.3-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 6.3.0 (Debian 6.3.0-18+deb9u1) 20170516
configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc-6 --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzvbi --enable-libzimg
libavutil      56. 22.100 / 56. 22.100
libavcodec     58. 35.100 / 58. 35.100
libavformat    58. 20.100 / 58. 20.100
libavdevice    58.  5.100 / 58.  5.100
libavfilter     7. 40.101 /  7. 40.101
libswscale      5.  3.100 /  5.  3.100
libswresample   3.  3.100 /  3.  3.100
libpostproc    55.  3.100 / 55.  3.100

With this, the nstallation of FFmpeg 4.1.3 on CentOS 7.6 comes to end.

Tag : ffmpeg CentOS
FAQ
Q
Name some of the protocols used in FFMPEG?
A
async,bluray,cache,concat,crypto,data,file,ftp,gopher,hls and httpd are some of the protocols that are used in FFMPEG
Q
How to disable the protocol in FFMPEG USing Command line interface?
A
You can disable the particular using the option "-disable-protocol=PROTOCOL".
Q
What is ffplay used for in FFMPEG?
A
ffplay is a simple media player utilizing SDL and the FFMPEG libraries.
Q
What is the use of FFMPEG?
A
FFMPEG is a command line tool that converts audio or video formats.It can also capture and encode in real time from various hardware and software sources such as a TV Capture card.
Q
What is the abbreviation of FFMPEg?
A
FFMPEg stands for Fast Forward Motion picture Expert Group