
When converting files, use the -c option to specify the codec. The input file format will be automatically detected, and the output format will be guessed from the file extension. When using ffmpeg to convert audio and video files, you do not need to specify the input and output formats. In this chapter, we will look at a basic example on how to use ffmpeg. FFmpeg has been installed on your CentOS machine, and you can start using it. This command will also print out FFmpeg configuration options. ffmpeg version 4.2.2Copyright(c)2000-2019 the FFmpeg developers

Run the following command as root or another user with sudo privileges to enable the necessary software sources:

Install FFmpeg on CentOS 8įFmpeg is not provided in the default CentOS 8 source repository. This article mainly describes how to install FFmpeg on CentOS 8. Using FFmpeg, you can convert between various video and audio formats, set the bit rate, edit audio, video, and scale video.

It contains a series of audio and video libraries, such as: libavcodec, libavformat, and libavutil. FFmpeg is a free and open source tool set for processing multimedia files.
