How to install multimedia codecs on Fedora 22/23
Installing multimedia codecs would allow you to play more audio and video formats than what you Fedora system can play using free tools.
Most of these codecs are proprietary and non free which Fedora does not include. In order to install these, you need to add some extra repositories and install.
1. Setup RPMFusion repository
The rpmfusion repository provides lots of software and apps that are not present the Fedora repositories for a number of reasons.
The instructions for setting up the rpmfusion repository are available at http://rpmfusion.org/Configuration.
Fedora 22/23 users just need to run the following command -
su -c 'dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm'
Now we are ready to install various multimedia codecs and apps.
2. Install gstreamer plugins and ffmpeg
The gstreamer framework is used by many media players like Totem, Banshee etc. Installing codec plugins for gstreamer enables all those players to play additional audio/video formats.
Installing is easy. Just run the following command and it would be done -
sudo dnf install gstreamer1-plugins-base gstreamer1-plugins-good gstreamer1-plugins-ugly gstreamer1-plugins-bad-free gstreamer1-plugins-bad-free gstreamer1-plugins-bad-freeworld gstreamer1-plugins-bad-free-extras ffmpeg
3. Install VLC Player
VLC player is a very powerful video player that is capable of playing almost all popular video formats. It is available from the rpmfusion repository. Install using the dnf command
$ sudo dnf install vlc
Rpmfusion contains many other video players like Smplayer that you can install.
4. Install libdvdcss
Libdvdcss enables media players to play encrypted dvds. It is not available from the rpmfusion repo.
First setup this repository
sudo dnf config-manager --add-repo=http://negativo17.org/repos/fedora-handbrake.repo
Now install libdvdcss
$ sudo dnf install libdvdcss
5. Install Handbrake
Handbrake is a video converter utility that can convert videos from one format to another. It is also available from the negativo17 repository. So just install using the dnf command
$ sudo dnf install HandBrake-gui
Yes, the H and B are in caps.
Now your system should be capable of playing most popular video and audio formats. If you face any issues while installing the above, feel free to comment below.
https://handbrake.fr/ - Handbrake video converter