In this quick tutorial, we will see how to installation multimedia codecs in Fedora 34 from RPM Fusion Software Repository.

 

Since many multimedia codes are both closed supply or nonfree, they are now not covered in Fedora Linux’s default repository due to prison reasons. Fortunately, some 1/3 party repositories grant restrained and nonfree multimedia kodak, packages, and libraries. One of the famous community-driven, third-party shops is RPM Fusion. If you desire to play most audio or video codecs in your Fedora desktop, then you ought to installation the required multimedia codec from RPM Fusion as given below.

Install multimedia codec in fedora

Make sure that you have installed the RPM Fusion repository in your Fedora machine. If you haven’t added it yet, see the following link to enable the RPM Fusion repository in Fedora:

After enabling RPM Fusion, run the following commands one by one to install multimedia code in your Fedora system:

$ sudo dnf install gstreamer1-plugins-{bad-*,good-*,base} gstreamer1-plugin-openh264 gstreamer1-libav --exclude=gstreamer1-plugins-bad-free-devel
$ sudo dnf install lame* --exclude=lame-devel
$ sudo dnf group upgrade --with-optional Multimedia

These three commands install pretty much everything to play all audio and video formats in your Fedora system.

Install multimedia player

Some popular players who will give all the necessary codecs are VLC, Celluloid, SMPlayer, and Plex-Media-Paler. You do not install them all. Any one or two are sufficient. The command to install these players is given below:

$ sudo dnf install vlc

VLC comes pre-installed in many Linux distributions and is a standard media player for playing all types of media files.

SMplayer is the front-end for Mplayer and is considered the best choice for VLC.

$ sudo dnf install smplayer

If you want a more robust multimedia experience, install Plex Media Player.

$ sudo dnf install plex-media-player

This will not only provide you with the h264, h265, vp8 and vp9 codecs (all with hardware support), it will also enable a more efficient codec to av1 (aka av01). If your browser supports this codec then you can test it AV1 beta launch playlist.

Some of these players are available Flat As well as application. If you prefer flatpacks over a traditional package manager you can install them. Most Linux distributions now support Flatpack out of the box.

To install the VLC Flatpack version, run:

$ flatpak install vlc

Optional – Install FFmpeg

Ffmpeg Is a powerful multimedia framework that can be used to encode, decode, transcode, mux, demo, record, stream, filter, and play any type of media files. You can obtain the necessary codecs by installing the FFmpeg suite on your system.