Sunday, 8 March 2015

How to Install FFmpeg 2.6 on Debian, Fedora, Linux Mint and Ubuntu Derivative System via PPA


FFmpeg 2.6 out now, you can install on Debian, Fedora, Linux Mint and Ubuntu Derivative System via PPA

FFmpeg is an open source utility that allows Linux, Windows and Mac OS X users to playback, convert, record and stream video and audio files. It is used in almost all Linux distributions. It is a command-line software that can encode, decode, demux, mux, transcode, stream, play and filter almost any media format available. FFmpeg uses libavcodec, the most advanced audio/video codec library for Linux and UNIX-like systems.

What's new in FFmpeg 2.6:
  • The FFmpeg Project proudly presents FFmpeg 2.6 "Grothendieck", about 3 months after the release of FFmpeg 2.5. A lot of important work got in this time, so let's start talking about what we like to brag the most about: features.
  • A lot of people will probably be happy to hear that we now have support for NVENC — the Nvidia Video Encoder interface for H.264 encoding — thanks to Timo Rothenpieler, with some little help from NVIDIA and Philip Langdale.
  • People in the broadcasting industry might also be interested in the first steps of closed captions support with the introduction of a decoder by Anshul Maheswhwari. Regarding filters love, we improved and added many. We could talk about the 10-bit support in spp, but maybe it's more important to mention the addition of colorlevels (yet another color handling filter), tblend (allowing you to for example run a diff between successive frames of a video stream), or the dcshift audio filter.
  • There are also two other important filters landing in libavfilter: palettegen and paletteuse. Both submitted by the Stupeflix company. These filters will be very useful in case you are looking for creating high quality GIFs, a format that still bravely fights annihilation in 2015.
  • There are many other new features, but let's follow-up on one big cleanup achievement: the libmpcodecs (MPlayer filters) wrapper is finally dead. The last remaining filters (softpulldown/repeatfields, eq*, and various postprocessing filters) were ported by Arwa Arif (OPW student) and Paul B Mahol.
  • Concerning API changes, there are not many things to mention. Though, the introduction of device inputs and outputs listing by Lukasz Marek is a notable addition (try ffmpeg -sources or ffmpeg -sinks for an example of the usage). As usual, see doc/APIchanges for more information.
  • Now let's talk about optimizations. Ronald S. Bultje made the VP9 decoder usable on x86 32-bit systems and pre-ssse3 CPUs like Phenom (even dual core Athlons can play 1080p 30fps VP9 content now), so we now secretly hope for Google and Mozilla to use ffvp9 instead of libvpx. But VP9 is not the center of attention anymore, and HEVC/H.265 is also getting many improvements, which include C and x86 ASM optimizations, mainly from James Almer, Christophe Gisquet and Pierre-Edouard Lepere.
  • Even though we had many x86 contributions, it is not the only architecture getting some love, with Seppo Tomperi adding ARM NEON optimizations to the HEVC stack, and James Cowgill adding MIPS64 assembly for all kind of audio processing code in libavcodec.
  • And finally, Michael Niedermayer is still fixing many bugs, dealing with most of the boring work such as making releases, applying tons of contributors patches, and daily merging the changes from the Libav project.

Features at a glance

The software is comprised of a multimedia streaming server for live broadcasts, a simple media player based on the powerful SDL library, a simple multimedia stream analyzer, a library that contains functions for simplifying programming, and another library that includes muxers and demuxers for multimedia container formats. Additionally, it comes with support for input and output devices, media filters, a library for performing highly optimized image scaling and color space/pixel format conversion operations, and a library for performing highly optimized audio rematrixing, resampling and sample format conversions.

How to Install FFmpeg 2.6 on Debian, Fedora, Linux Mint and Ubuntu Derivative System via PPA :

to install FFmpeg 2.6 on Ubuntu 15.04 vivid Vervet, ubuntu 14.10 Utopic Unicorn, Ubuntu 14.04 Trusty Tahr (LTS), Ubuntu 13.10/13.04/12.04, Linux Mint 17.1 Rebecca, Linux Mint 17 Qiana, Linux Mint 13 Maya, Pinguy OS 14.04, Elementary OS 0.3 Freya, Elementary OS 0.2 Luna, Peppermint Five, Deepin 2014, LXLE 14.04, Linux Lite 2.0, Linux Lite 2.2 and other Ubuntu derivative systems, open a new Terminal window and bash (get it?) in the following commands:
sudo add-apt-repository ppa:jon-severinsson/ffmpeg
sudo apt-get update
sudo apt-get install ffmpeg
sudo apt-get install frei0r-plugins
To remove FFmpeg 2.6 in Ubuntu derivative system, do :
sudo apt-get remove ffmpeg

Converting videos and audios has never been so easy.
$ ffmpeg -i input.mp4 output.avi
The source is available now. Binary packages are in the process of being built, and will appear soon at their respective download locations.

No comments:

Post a Comment