How to install FFmpeg 3.3 on Ubuntu

To install FFmpeg 3.3 on Ubuntu 16.04

Ffmpeg is a very fast video and audio converter that can also grab from a live audio/video source. It can also convert between arbitrary sample rates and resize video on the fly with a high quality polyphase filter. In this tutorial am going to install the ffmpeg version 3.3 on ubuntu 16.04.

Features

  • intel QSV-accelerated VP8 video decoding
  • native Opus encoder
  • DNxHR 444 and HQX encoding
  • Quality improvements for the (M)JPEG encoder
  • VAAPI-accelerated MPEG-2 and VP8 encoding
  • Intel QSV video scaling and deinterlacing filters
  • Sample Dump eXchange demuxer
  • MIDI Sample Dump Standard demuxer
  • Apple Pixlet decoder
  • NewTek SpeedHQ decoder
  • QDMC audio decoder
  • PSD (Photoshop Document) decoder
  • FM Screen Capture decoder

Installing FFmpeg

Before you begin with the installation of FFmpeg, make sure you add the repository via ppa as follows.

root@linuxhelp1:~# add-apt-repository ppa:jonathonf/ffmpeg-3
 More info: https://launchpad.net/~jonathonf/+archive/ubuntu/ffmpeg-3
Press [ENTER] to continue or ctrl-c to cancel adding it
.
.
.
gpg: requesting key F06FC659 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp67vsisln/trustdb.gpg: trustdb created
gpg: key F06FC659: public key " Launchpad PPA for J Fernyhough"  imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK

Once it is done, update machine with the following command.

root@linuxhelp1:~# apt-get update
Hit:1 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease
.
.
.
Hit:5 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease
Reading package lists... Done

Now is the time to install the FFmpeg package which you can do with the help of the following command.

root@linuxhelp1:~# apt-get install ffmpeg
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  i965-va-driver libaacs0 libass5 libavcodec-ffmpeg56 libavcodec57 libavdevice57
  libavfilter6 libavformat57 libavresample3 libavutil-ffmpeg54 libavutil55 libbdplus0
.
.
.
Setting up i965-va-driver:amd64 (1.7.0-1) ...
Setting up va-driver-all:amd64 (1.7.3-2~16.04.york0) ...
Setting up vdpau-driver-all:amd64 (1.1.1-3ubuntu1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...

FFmpeg has been installed, you can check the version it by running the following command.

root@linuxhelp1:~# ffmpeg -v
ffmpeg version 3.3-1~16.04.york1 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
  configuration: --prefix=/usr --extra-version=' 1~16.04.york1'  &ndash toolchain
.
.
.

It was a simple installation, wasn' t? Using FFmpeg is also quite simple. Convert your favorite video and audio by using this ffmpeg tools.

Tag : ffmpeg
FAQ
Q
How do I encode single pictures into movies using the FFmpeg?
A
For encode single pictures into movies using the FFmpeg, use the following link as given below "https://ffmpeg.org/faq.html#How-do-I-encode-single-pictures-into-movies_003f"
Q
What are the altetnative available for the FFmpeg?
A
The following alternative tools available for the FFmpeg,
MKVToolnix .
Adobe Media Encoder CC,
MainConcept H.264/AVC,
Microsoft Expression Encoder
Q
What are the features available in FFmpeg?
A
The following features are available in FFmpeg,
intel QSV-accelerated VP8 video decoding
native Opus encoder
DNxHR 444 and HQX encoding
Quality improvements for the (M)JPEG encoder
VAAPI-accelerated MPEG-2 and VP8 encoding
Intel QSV vi
Q
Which gcc veriosn will support in FFmpeg 3.3?
A
The "gcc 5.4.0" is recommended for ffmpeg 3.3
Q
How to get the "ppa" repository for installing the "FFmpeg" on Ubuntu?
A
For the installation of FFmpeg on Ubuntu, use the following "ppa" repository as give below "add-apt-repository ppa:jonathonf/ffmpeg-3 => this may be only valid to ubuntu 16.04 and it may vary in its future release"