Multimedia, codecs, MP3, DVD support on RHEL, CentOS, AlmaLinux, Oracle Linux

Linux users desesperately looking for multimedia support (generated by Midjourney). Credit: libre-software.net. License: CC BY-SA 4.0

Multimedia, codecs, MP3 & DVD support on RHEL, CentOS, AlmaLinux, Oracle Linux …

Last updated on October 10, 2022

This article has been archived and may contain outdated information.

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

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.

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

Install GStreamer packages

Following packages should already be installed by default on a fresh RHEL / CentOS Oracle Linux (…) installation:

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 Logo

Install 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 – October 2022
This article has been linked on LXer.com and some more…

Articles by categories

Most Read Articles

Comments

5 thoughts on “How to edit image metadata on Linux using a graphical user interface”

  1. fotoxx lets you change Metadata info, and choose your current image’s Caption and Comment as well as view images in directories with filename and some other Metadata as labels. You can set up trees of tags with Categories and put those in at the same time, to use for sorting the images into “album” groups for moving or copying out. The code is gtk and perl with many filetype handlers. Your labeling is stored in plain text files, easy to copy out into documents, transfer, edit, etc.

  2. You should give some additional details, some tools write directly into the image file, others don’t. For example darktable does not change the original image, it writes into a sidecar file (.XMP).

  3. I don’t know whether you actually tested Gthumb or not, but your statement that it is only capable of reading meta tags, couldn’t be further from the truth. And it seems to do a fairly good while it is at it!

    All one have do is to press the ‘T’ key – either under the Thumbnail view or the “larger” view – and voilá: it reads any existing tags already embedded in the selected file. Next, you have to keep typing any new ones (just don’t forget to confirm, via the pull down list, to actually create any new tags) and you’re done.

  4. I would also suggest that MaPiVi is an excellent program which needs to be on this list. It’s capable of editing and bulk-editing many kinds of image metadata, including IPTC Keywords (which is why I got it). It’s written in Perl/TK so it’s cross-platform. A somewhat old version of it is included in the Ubuntu Linux distribution.

    One of the main drawbacks of MaPiVi is that it won’t handle the metadata in Nikon .NEF (raw) format files, which is pretty much the same as that in other formats such as JPEG.

Leave a Comment

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