FFmpeg multimedia libraries 4.2 was released a few weeks ago. Here’s how to install it in Ubuntu 18.04, Linux Mint 19.x.
FFmpeg 4.2, codename “Ada”, is a major release that features:
- tpad filter, dedot filter, freezedetect filter, lagfun filter, asoftclip filter, colorhold filter, xmedian filter, asr filter, derain filter, deesser filter, anlmdn filter, maskfun filter
- chromashift and rgbashift filters, truehd_core bitstream filter, AV1 frame split bitstream filter, showspatial multimedia filter
- dhav demuxer, vividas demuxer, KUX demuxer, IFV demuxer
- hymt decoder, ARBC decoder, agm decoder, lscr decoder, VP4 video decoder, hcom demuxer and decoder
- PCM-DVD encoder
- GIF parser
- removed libndi-newtek
- libaribb24 based ARIB STD-B24 caption support (profiles A and C)
- Support decoding of HEVC 4:4:4 content in vdpau, nvdec and cuviddec
- AV1 decoding support through libdav1d
- mov muxer writes tracks with unspecified language instead of English by default
- added support for using clang to compile CUDA kernels
How to Install FFmpeg 4.2 in Ubuntu:
The unofficial PPA has built the packages for Ubuntu 18.04 and its derivatives.
1. Open terminal either via Ctrl+Alt+T keyboard shortcut, or by searching for ‘terminal’ from application menu. When it opens, run command to add the PPA:
sudo add-apt-repository ppa:savoury1/ffmpeg4
Type user password (no asterisk feedback) when it prompts and hit Enter.
2. Two more PPAs are required for the dependencies. Run following commands one by one in terminal:
sudo add-apt-repository ppa:savoury1/graphics
sudo add-apt-repository ppa:savoury1/multimedia
3. You can then upgrade FFmpeg libraries via Software Updater (Update Manager):
Or run commands in terminal:
sudo apt-get update sudo apt-get install ffmpeg
Once installed, you may check the software version via command ffmpeg -v
How to Restore:
The two dependencies PPAs contain many other application packages, you may remove them either via Software & Updates -> Other Software or by running command:
sudo add-apt-repository --remove ppa:savoury1/graphics
sudo add-apt-repository --remove ppa:savoury1/multimedia
For any reason, you can downgrade FFmpeg to the stock version in Ubuntu universe repositories by purging the PPA via command:
sudo apt-get install ppa-purge && sudo ppa-purge ppa:savoury1/ffmpeg4
I use WinFF (ffmpeg-gui) for transcoding. Installing the latest FFmpeg 4.2 from the PPA wants to remove the app (Synaptic) … I cancelled the upgrade and removed the PPA. I always curate my PPAs so as they not interfere with my existing installed packages … this one is not going to be installed … running Xubuntu 18.04 … BTW, I use your Audacity, Cantata, and Sigil builds and they are part of my PPA list … thanks …
I have the same problem but for now i need ATP-X .
Greetings Ji m. I had problems with Clipgrab v3.8.4….Now with your help Clipgrab works very good under Mint 19.2 (Tina).
there is no cuvid decoder support on this version , i should compile .
thank u
I’ve been using the unofficial PPA this article recommends for some years now, but it has recently been taken down. Do you have any new recommendations?
As of 10 December, this method does not work with mint 19.2:
“Cannot add PPA: ”This PPA does not support bionic”.”
When will this article be updated to show a method of installing ffmpeg-4 on Mint 19.2 which does work?
You’re getting lazy this doesn’t support 19 and it doesn’t have lib aac audio.
This is another PPA maintained by Rob Savoury. It does support Linux Mint 19.x which is based on Ubuntu 18.04. For package issue, try connect https://launchpad.net/~savoury1
thanks