Multimedia codecs on Fedora 22/23 & Gstreamer

This post gives information for: install multimedia codecs on Fedora 22/23, install gstreamer & gstreamer-plugin, update or setup RPMFusiton repository

Step 1: Setup RPFusion repository.

Why: rmpfusion repository gives you lots of software and apps that not present the Fedora repositories for some of reason.

How: run command

Free repo

1. su
2.
dnf install http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm

Non-free:

1. su
2. dnf install http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

Free and non-free repo

1. 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'

Step 2: Install gstreamer plugins, ffmpeg, and the required packages

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.

After you have the repositories set up, gnome-software/packagekit should pop up a dialogue asking you to install the required plugins when you try to run your video/audio for the first time.

Or, you can just use the terminal and install everything at once as given below — not all of these packages will be needed by all applications, but it’s good to just install them all at once: If you are using GNOME:

1. su
2. dnf install gstreamer{1,}-{ffmpeg,libav,plugins-{good,ugly,bad{,-free,-nonfree}}} --setopt=strict=0.

If you are using KDE, you might prefer xine instead of Gstreamer:

1. su
2. dnf install xine-lib* k3b-extras-freeworld

If you also plan to listen to internet radio streams via rhythmbox for example, you need a few more packages:

1. su 
2. dnf install gstreamer{1,}-{plugin-crystalhd,ffmpeg,plugins-{good,ugly,bad{,-free,-nonfree,-freeworld,-extras}{,-extras}}} libmpg123 lame-libs --setopt=strict=0

Step 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

Step 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

Now you install enough plugin for play multimedia and you can built multimedia server by yourself.

Bonus:

Who wants to put in place the packets of RPMFusion prefer to Fedora’s support for MP3, the conversion in a simple way.

First, the package can be uninstalled RPMFusion must gstreamer1-plugins-ugly, if this is installed:

su -c 'dnf remove gstreamer1-plugins-ugly '

Next, you need to install only the packages gstreamer1-plugin-mpg123 and mpg123-libs. Once the packages have ended up in the official Fedora repositories, this is possible with the following command:

su -c 'dnf install gstreamer1-plugin-mpg123 mpg123-libs'

Source: