FFmpeg is a cross-platform solution for streaming audio and video as well as recording and conversion. Its also useful to convert multimedia files between various formats. FFmpeg includes libavcodec audio/video codec library in it.
This article will describe you to how to install FFmpeg on Ubuntu, Debian and LinuxMint systems with easy steps.
1. Install FFmpeg
CentOS/RHEL and Fedora users make sure that you have enabled atrpms repository in system. Let’s begin installing FFmpeg as per your operating system.
$ sudo add-apt-repository
ppa:kirillshkrogalev/ffmpeg-next $ sudo apt-get update$ sudo apt-get installffmpeg
2. Check FFmpeg Version
After successfully install FFmpeg, let’s check the version installed on system.
-versionffmpeg version 2.4.3-1ubuntu1~trusty6 Copyright (c) 2000-2014 the FFmpeg developers [...]
3. FFmpeg Basic Commands
Here is the list of few ffmepg basic command options used with ffmpeg command line tool.
Click here to read more about ffmpeg on its official site.
4. Basic Examples
Below is some examples of uses of ffmpeg command line.
Reduce .mov File Size:
$ ffmpeg -i in.mov -c:v libx264 -c:a copy -crf 20 out.mov
Convert .move To .mp4
$ ffmpeg -i in.mov -vcodec copy -acodec aac -strict experimental -ab 128k out.mp4