2018-06-22 08:53:15 +00:00
= Installing plugins for playing movies and music
2023-08-07 07:20:52 +00:00
Weverton do Couto Timoteo; JetStream ; The Fedora Docs team
:revnumber: F37
:revdate: 2022-10-05
:category: Administration
:tags: How-to DNF
//:page-aliases: how-to-use-vmware.adoc
2018-06-22 08:53:15 +00:00
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/[].
2019-03-20 21:23:02 +00:00
[discrete]
== Prerequisites
2018-06-22 08:53:15 +00:00
2019-03-20 21:23:02 +00:00
* xref:setup_rpmfusion.adoc[Enable the RPMFusion repositories].
2018-06-22 08:53:15 +00:00
2019-03-20 21:23:02 +00:00
[discrete]
== Procedure
2018-06-22 08:53:15 +00:00
2019-03-20 21:23:02 +00:00
* Use the `dnf` utility to install packages that provide multimedia libraries:
+
----
2019-12-14 12:31:34 +00:00
sudo dnf install gstreamer1-plugins-{bad-\*,good-\*,base} gstreamer1-plugin-openh264 gstreamer1-libav --exclude=gstreamer1-plugins-bad-free-devel
2019-03-20 21:23:02 +00:00
2019-12-14 12:31:34 +00:00
sudo dnf install lame\* --exclude=lame-devel
sudo dnf group upgrade --with-optional Multimedia
2019-03-20 21:23:02 +00:00
----
2018-06-22 08:53:15 +00:00
[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.
2018-07-29 11:01:46 +00:00
ifdef::parent-context[:context: {parent-context}]
ifndef::parent-context[:!context:]