How to install FFmpeg on RHEL/CentOS7
What is FFmpeg? The answer is simple – it’s a solution to your audio video encoding and compression problems. You can get the best of both worlds by using one interface to control both hardware and software, as well as one library to do it all in.
FFmpeg is the best solution that will make video editing as easy as drag-and-drop, or mixing between two sources. Don’t worry if you’ve never used it before – it’s completely free. What it does is handle every aspect of encoding, decoding, mixing, and compressing your videos into something that’s ready to be displayed.
As long as you can make good use of an open-source platform like FFmpeg, you’ll be able to enjoy advanced video editing in a very simplified and user-friendly way. By taking advantage of an open-source platform like FFmpeg, you can give yourself the best tool for the job and also make your life easier. In fact, you might find it quite difficult to grasp and use the process of using it. Don’t allow yourself to go on without a solution.
This tutorial explains how to install ffmpeg on Linux.
Install FFmpeg in Linux
1. Enable FFmpeg repository using RPM
# sudo yum install -y https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm
2. Install FFmpeg
# sudo yum –y install ffmpeg
3. How to check FFmpeg version command line
After the successful installation you can check ffmpeg version using following command
# ffmpeg -version
FFmpeg basic examples
You can check ffmpeg options using man and help command.
# man ffmpeg or ffmpeg –help
This is the few examples convert files using ffmpeg command.
- Convert wav file to mp3
#ffmpeg -i file.wav outputfile.mp3
- Convert mp4 to ffmpeg -i file.mp4 outputfile.mkv