Centos7 installation of FFmpeg audio/video tool simple document

Centos7 installation of FFmpeg audio/video tool simple document

ffmpeg is a very powerful audio and video processing tool. Its official website is: http://ffmpeg.org/. The official website introduces ffmpeg as: a complete, cross-platform solution that can record, convert and transmit audio and video. ffmpeg can play videos, and also provides command line tools to process videos. In addition, there is a powerful video processing library for development. The following is a simple command line to transcode videos using Linux as an example to introduce the installation process of ffmpeg. It is the simplest entry content in ffmpeg.

Mac Installation Steps

brew tap homebrew-ffmpeg/ffmpeg
brew install homebrew-ffmpeg/ffmpeg/ffmpeg --with-chromaprint \
  --with-fdk-aac \
  --with-game-music-emu \
  --with-libbluray \
  --with-libbs2b \
  --with-libcaca \
  --with-libgsm \
  --with-libmodplug \
  --with-librsvg \
  --with-libsoxr \
  --with-libssh \
  --with-libvidstab \
  --with-libvmaf \
  --with-libxml2 \
  --with-opencore-amr \
  --with-openh264 \
  --with-openjpeg \
  --with-openssl \
  --with-rtmpdump \
  --with-rubberband \
  --with-speex \
  --with-srt \
  --with-tesseract \
  --with-two-lame \
  --with-wavpack \
  --with-webp \
  --with-xvid \
  --with-zeromq \
  --with-zimg

Ubuntu installation steps

apt update && \
apt-get install -y software-properties-common && \
apt update && \
add-apt-repository -y ppa:jonathonf/ffmpeg-4 && \ 
apt install -y ffmpeg

Centos7 installation steps

yum install epel-release -y && \
yum update -y && \
rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro && \
rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm && \
yum install ffmpeg ffmpeg-devel -y

Reminder: This method of installing FFmpeg on CentOS has a lower version

FFmpeg related commands

View current version

ffmpeg -version

Related Documents

ffmpeg official website
https://github.com/homebrew-ffmpeg/homebrew-ffmpeg#installation-and-usage

This is the end of this article about the simple document of installing FFmpeg audio/video tool on Centos7. For more relevant content about installing FFmpeg on Centos7, please search 123WORDPRESS.COM’s previous articles or the related articles below. I hope you will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Analysis of the installation and use process of ffmpeg under Windows 10
  • Complete steps to install FFmpeg in CentOS server
  • Graphic tutorial on installing FFmpeg on MAC
  • Detailed steps to install ffmpeg extension in PHP 5.3 under Centos 6.5

<<:  mysql group_concat method example to write group fields into one row

>>:  Let’s talk in detail about how JavaScript affects DOM tree construction

Recommend

Vue implements picture verification code when logging in

This article example shares the specific code of ...

Detailed explanation of whereis example to find a specific program in Linux

Linux finds a specific program where is The where...

Implementation of Node connection to MySQL query transaction processing

Table of contents Enter the topic mysql add, dele...

Automatic backup of MySQL database using shell script

Automatic backup of MySQL database using shell sc...

HTML table tag tutorial (21): row border color attribute BORDERCOLOR

To beautify the table, you can set different bord...

Example of exporting and importing Docker containers

Table of contents Exporting Docker containers Imp...

Three methods to modify the hostname of Centos7

Method 1: hostnamectl modification Step 1 Check t...

How to use cursor triggers in MySQL

cursor The set of rows returned by the select que...

Implementing the preview function of multiple image uploads based on HTML

I recently wrote a script for uploading multiple ...

Detailed explanation of the solution for migrating antd+react projects to vite

Antd+react+webpack is often the standard combinat...

How to implement two-way binding function in vue.js with pure JS

Table of contents First, let's talk about the...

How to use Docker to build OpenLDAP+phpLDAPadmin unified user authentication

1. Background Use LDAP to centrally manage operat...

An in-depth summary of MySQL time setting considerations

Does time really exist? Some people believe that ...

Solution to mysql failure to start due to insufficient disk space in ubuntu

Preface Recently, I added two fields to a table i...