Having the ability to play audio and video files on Manjaro Linux is one of the most essential and basic features for a lot of users. Unfortunately, due to the plethora of media codecs in circulation and the licenses that protect them, it's not always as easy as it sounds.

In this guide, we'll show you the software and third party codecs that you can install on your Manjaro Linux system for maximum compatibility. By the end of this tutorial, your computer should be able to open and play almost any video or audio file you throw at it.

In this tutorial you will learn:
  • Installing audio and video codecs
  • Installing a recommended video player
  • Installing a recommended music player
Watching a movie on Manjaro Linux
Watching a movie on Manjaro Linux
Software Requirements and Linux Command Line Conventions
Category Requirements, Conventions or Software Version Used
System Manjaro Linux
Software Codecs, VLC, Audacious
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

Audio and Video Codecs

Manjaro's native support for audio and video files is pretty good, at least for the most common file types. But to cover all your bases, you can install all the codecs you're likely to ever need by opening a terminal and executing this command:

$ sudo pacman -S a52dec faac faad2 flac jasper lame libdca libdv libmad libmpeg2 libtheora libvorbis libxv opus wavpack x264 xvidcore

Yeah, it's a long list, but it contains all the codecs that you're likely to need. If your system already has them, this command will ensure that you have the latest versions installed. Once you have all the codecs, you just need a couple of good media players to open your files.


SUBSCRIBE TO NEWSLETTER
Subscribe to Linux Career NEWSLETTER and receive latest Linux news, jobs, career advice and tutorials.


If you're trying to play video files, such as TV episodes, you should consider installing VLC media player. It can save you from having to manually install a bunch of codecs, and it can normally play just about any video file. You can install VLC by opening a terminal and typing the following command:

$ sudo pacman -S vlc
VLC Player on Manjaro Linux
VLC Player on Manjaro Linux

Manjaro has a lot of music players in its official repository just waiting to be installed. There's a nice, reliable one called Audacious, and it can be downloaded with this command in terminal:

$ sudo pacman -S audacious
Audacious music player on Manjaro Linux
Audacious music player on Manjaro Linux

Conclusion

It's awfully frustrating when something as simple as a video file fails to play. Manjaro is geared towards home use, so naturally it doesn't have a lot of problems with audio and video playback, but installing the codecs and packages in this guide should help you resolve any playback issues you come across.

FIND LATEST LINUX JOBS on LinuxCareers.com
Submit your RESUME, create a JOB ALERT or subscribe to RSS feed.
LINUX CAREER NEWSLETTER
Subscribe to NEWSLETTER and receive latest news, jobs, career advice and tutorials.
DO YOU NEED ADDITIONAL HELP?
Get extra help by visiting our LINUX FORUM or simply use comments below.

You may also be interested in:



Comments and Discussions