Libre Software

Multimedia, codecs, MP3 & DVD support on CentOS, Scientific Linux or RHEL

This tutorial details how to install full multimedia support, media codecs, MP3 & DVD support on Red Hat Enterprise Linux (RHEL) and its derivatives CentOS, Scientific Linux, Oracle Linux, ClearOS, …

This howto assumes that you already installed RPMforge. To prevent conflicts and keep it simple, RPMforge is the only extra repostory we will use.

Note: if you did’t add yourself to the sudoers, just rund every command of this howto as root, without the sudo prefix. Or follow this tutorial to add yourself to the sudoers.

Install GStreamer packages

Multimedia on CentOS, Red Hat, Scientific Linux - Gstreamer Logo by Christophe Dumas (GPL)

Following packages should already be installed by default on a fresh CD or DVD CentOS / Scientific Linux / RHEL 6 install (no need to install RPMforge for this):
sudo yum install gstreamer gstreamer-plugins-base gstreamer-plugins-good gstreamer-plugins-bad-free

Install the GStreamer modules which are available in the RPMForge repository – note that there are quite a few dependencies:
sudo yum install gstreamer-plugins-bad gstreamer-plugins-ugly gstreamer-ffmpeg

Apart of containing decoders, gstreamer-ffmpeg is the plugin Gnome needs to generate thumbnails for the file browser (Nautilus) and the desktop. Find more information on GStreamer modules on the GStreamer website.

Some of the dependencies are no less than ffmpeg (one of the most important codecs), lame, libcdaudio, libdvdread, libmodplug, libmpeg2, libquicktime, mjpegtools, x264 and xvidcore. Most of them are from RPMforge.

Install more codecs for CentOS

Give mplayer a try:
sudo yum install mplayer mplayer-gui

Once again, there are many dependencies for mplayer, among them esound-libs, libcaca (sic!), libvdpau, mpg123 and svgalib.

Finally, take a look at this page if you feel you’ll be missing w32codecs.

Add libdvdcss for DVD support

Following packages are available from RPMforge:
sudo yum install libdvdnav libdvdplay lsdvd

The problematic package is libdvdcss, as it is not available through RPMforge. Libdvdcss can be obtained from Livna:
sudo rpm -Uvh http://rpm.livna.org/livna-release.rpm

Alternatively, you can browse Livna to download the package by yourself.

Media Player and Codex on Linux, Red Hat, CentOS - VLC LogoInstall VLC Media Player

A Linux installation wouldn’t be complete without the King of all Video players, also available through RPMforge (it also has quite a few dependencies):
sudo yum install vlc

That’s all! You should now be able to play any media format on CentOS.

By Johannes Eva, 2012 – 2018
This article has been linked on LXer.com and some more…

  • All
  • Archive
  • Image
  • Linux
  • Linux Server
  • Smartwatches
  • Updated
  • WordPress
LibreOffice installation on Linux
LinuxUpdated

How to install LibreOffice 7.4 on Linux Mint, Ubuntu, MX Linux, Debian…

Last updated on September 27, 2022 This article describes how to install LibreOffice 7.4 on Debian/Ubuntu-based Linux distributions, such as Linux Mint, MX Linux, Ubuntu …

Read More →
How to install Mozilla Firefox on Linux (Ubuntu, Linux Mint or any Linux distribution)
LinuxUpdated

How to Install Firefox 105 on Linux Mint, Ubuntu, Debian or any other Linux distribution

Photo: janeb13 / Pixabay, Pixabay License Last updated on September 27, 2022 This how-to explains how to install Firefox on Linux, with or without replacing an existing …

Read More →
AVIF Logo
ImageUpdated

AVIF browser test page: AVIF support in Chrome, Firefox, Edge…

Logo: Alliance for Open Media. License: BSD Last updated on September 29, 2022 Is your browser capable of displaying AVIF images? Here comes a fast answer …

Read More →
How to remove TLSv1.0 and 1.1 and enable TLS 1.3 in Nginx on Ubuntu Server
Linux ServerUpdated

How to remove TLSv1.0 / 1.1 and enable TLS 1.3 in Nginx …

Photo: libre-software.net. License: CC BY-SA 4.0 … on Ubuntu 18.04, 20.04 or 22.04 Last updated on September 29, 2022In January 2020, SSL Labs started to …

Read More →
Libre Software
WordPress

Vantage WordPress Theme – Remove the footer

If you run the Vantage theme on WordPress, you’ll notice the “A SiteOrigin Theme” footer. If you want to get rid of it, remove it, …

Read More →
Backup Scheduler, the only really free multisite-compatible plugin in the wild!
WordPress

Free backup plugins for WordPress Multisite

This post is about free backup plugins for WordPress Multisite installations. The web is full of really useless “greatest backup plugins” and “best WordPress backup” …

Read More →
Which Samsung Galaxy Watch should I choose?
SmartwatchesUpdated

Choosing the Right Samsung Galaxy Watch4: Size, Weight and Thickness

Photo: libre-software.net. License: CC BY-SA 4.0 Galaxy Watch 40/44mm or 42/46mm “classic”? Last updated on October 1, 2022 How thin is the Galaxy Watch4? Thickness …

Read More →
The thinnest smartwatches
SmartwatchesUpdated

The Thinnest Smartwatches for 2022 (iPhone and Android)

Photo: libre-software.net. License: CC BY-SA 4.0 Last updated on October 1, 2022 I have been searching for a thin smartwatch for years, and here is …

Read More →

3 thoughts on “Multimedia, codecs, MP3 & DVD support on CentOS, Scientific Linux or RHEL”

  1. Pingback: Multimedia, codecs, MP3 & DVD support on CentOS, Scientific Linux or RHEL | CentOS Sverige

  2. Pingback: How to convert mp3 to wav in Ubuntu | DeveloperNote.com

  3. Pingback: What packages QAudioDecoder may require on Ubuntu and CentOS? | DeveloperNote.com

Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.