In this tutorial you will learn:
- How to install video and audio codes
- How to check for installed decoders, encoders and codes
Software Requirements and Conventions Used
Category | Requirements, Conventions or Software Version Used |
---|---|
System | Installed Ubuntu 20.04 or upgraded Ubuntu 20.04 Focal Fossa |
Software | ffmpeg |
Other | Privileged access to your Linux system as root or via the sudo command. |
Conventions | # - requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command $ - requires given linux commands to be executed as a regular non-privileged user |
How to install missing media codes on Ubuntu 20.04 step by step instructions
Subscribe to RSS and NEWSLETTER and receive latest Linux news, jobs, career advice and tutorials.
- Install all restricted multimedia media codecs and fonts by executing the following command in your terminal window:
$ sudo apt install ubuntu-restricted-extras
Furthermore, install additional audio and video handling components including DVD-Video playing library:$ sudo apt install libdvdnav4 libdvd-pkg gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly
- You should be now ready to play any multimedia content on your Ubuntu 20.04 system. Optionally use the
ffmpeg
to check for installed encoders, decoders and codecs:$ ffmpeg -encoders $ ffmpeg -decoders $ ffmpeg -codecs