= Installing plugins for playing movies and music
Ankur Sinha ; Héctor Louzao ; The Fedora Docs team
:revnumber: unknown
:revdate: 2020-10-05
:category: Administration
:tags: How-to Plugins Multimedia 
:page-aliases: assembly_installing-plugins-for-playing-movies-and-music.adoc

As a Fedora user and system administrator, you can use these steps to install additional multimedia plugins that enable you to play various video and audio types.

WARNING: If you live in a country where software patents apply, such as in the United States or in Japan, you need to obtain multimedia codecs from a source that legally distributes patented software in your country. For example, see the Fluendo Codec Pack: link:https://fluendo.com/en/products/enterprise/fluendo-codec-pack/[].

[discrete]
== Prerequisites

* xref:setup_rpmfusion.adoc[Enable the RPMFusion repositories].

[discrete]
== Procedure

* Use the `dnf` utility to install packages that provide multimedia libraries:
+
----
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
----

[id='related-information-{context}']
== Related information

* There are also media players that include all relevant codecs by themselves. Consider using one of the following for offline video viewing:
** VLC, available from the `vlc` package in RPM Fusion Free
** MPV, available from the `mpv` package in RPM Fusion Free


// The following line is necessary to allow assemblies be included in other
// assemblies. It restores the `context` variable to its previous state.
ifdef::parent-context[:context: {parent-context}]
ifndef::parent-context[:!context:]
