Play media files in fedora.

2010-06-06 22 words 1 min read

Found <a href="http://fedoraforum.org/forum/showthread.php?t=100206">here .<div class="smallfont">

Media (DVD, web content, video & audio) playback in Fedora

<hr style="color: #d1d1e1; background-color: #d1d1e1;" size="1" />

Note: This howto has been transferred to my blog here. (Instructions for Fedora 7+ can be found here)

Hello,
There have been many complaints about media not working in Fedora – MP3s, DVDs, etc. So, I decided to make this guide to help out – By installing a few packages, you can get the codecs for these media or media formats, and solve the problem.

Before we begin, all of these packages require the livna repo to be installed, so let&#8217;s do that first:<div style="margin: 5px 20px 20px;"> <div class="smallfont" style="margin-bottom: 2px;">Code:

<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">rpm -Uhv http://rpm.livna.org/livna-release-VERSION.rpm

Remember to replace VERSION with your Fedora release version – eg 5, 6, 7, etc.

General Info

I&#8217;m going to separate the sections of this howto by program name, but I recommend that you install them all as many compliment or depend on each other. If you know what each does individually, then you can install them but please don&#8217;t post about things not playing when all programs aren&#8217;t installed – many provide codecs that will be shared with other programs, allowing them to decode that media, too.

If you want to skip the reading and take the shortcut, installing them all at once, here&#8217;s the commands:<div style="margin: 5px 20px 20px;"> <div class="smallfont" style="margin-bottom: 2px;">Code:

<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;" dir="ltr">su - yum -y remove totem totem-plparser;yum -y install totem-xine totem-xine-plparser rhythmbox mplayerplug-in mplayer mplayer-gui xine-lib-extras-nonfree libdvdcss libdvdread libdvdplay libdvdnav lsdvd libdvbpsi compat-libstdc++-33

<span style="font-size: medium;">DVD playback
Just a few libraries should do it:<div style="margin: 5px 20px 20px;"> <div class="smallfont" style="margin-bottom: 2px;">Code:

<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 34px; text-align: left;" dir="ltr">yum -y install libdvdcss libdvdread libdvdplay libdvdnav lsdvd libdvbpsi

<span style="font-size: medium;">totem-xine
totem-xine is a movie player that is based on xine and not gstreamer, and as a result this will let you view DVDs and more types of media from the same interface that the default Fedora Core&#8217;s totem package provides.<div style="margin: 5px 20px 20px;"> <div class="smallfont" style="margin-bottom: 2px;">Code: <pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;" dir="ltr">su - yum remove totem totem-plparser -y;yum install totem-xine totem-xine-plparser rhythmbox xine-lib-extras-nonfree -y

<span style="font-size: medium;">mplayer and mplayer-plugin
mplayer is also a movie player, but the graphical interface is harder to use compared to totem-xine, and there is no support for menus in movies at the moment of writing. That is why I find totem-xine superior, but mplayer does have a web media plugin for Mozilla / Firefox and contains tons of coedcs.<div style="margin: 5px 20px 20px;"> <div class="smallfont" style="margin-bottom: 2px;">Code: <pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;" dir="ltr">su - yum -y install mplayer mplayer-gui mplayerplug-in

<span style="font-size: medium;">w32codecs ** (WMV/WMA playback!) **
Note: This package has been discontinued at ATRPMs but it doesn&#8217;t seem to make a difference on new systems anyways.
w32codecs is plain and simply an assembled pack of Windows codecs. Here&#8217;s how to install it:<div style="margin: 5px 20px 20px;">

__

<div class="smallfont" style="margin-bottom: 2px;">Code:

__<pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 98px; text-align: left;" dir="ltr">

su - wget http://dl.atrpms.net/all/w32codec-1.0_20050412-13.at.i386.rpm yum install compat-libstdc++-33 -y rpm -ihv w32codec-1.0_20050412-13.at.i386.rpm rm w32codec-1.0_20050412-13.at.i386.rpm

<span style="font-size: medium;">gstreamer and gstreamer-plugins ** (MP3 playback!) **
It&#8217;s always a good idea to install gstreamer, both to enable mp3 playback and also for the various codecs.<div style="margin: 5px 20px 20px;"> <div class="smallfont" style="margin-bottom: 2px;">Code: <pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;" dir="ltr">su - yum install gstreamer gstreamer-plugins gstreamer-plugins-good gstreamer-plugins-bad gstreamer-plugins-ugly

<span style="font-size: medium;">Macromedia Flash Player
Just run this:<div style="margin: 5px 20px 20px;"> <div class="smallfont" style="margin-bottom: 2px;">Code: <pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 50px; text-align: left;" dir="ltr">wget http://macromedia.mplug.org/macromedia-i386.repo -O /etc/yum.repos.d/macromedia-i386.repo yum install flash-plugin

<span style="font-size: medium;">Java & Java web plugin
Please see <a href="http://www.fedoraforum.org/forum/showthread.php?t=150340" target="_blank">this howto.

<span style="font-size: medium;">RealPlayer
Please click on the &#8221;Download RPM Package&#8221; link from this page: <a href="http://www.real.com/linux/?pageid=unagi.8902005&pageregion=footer&src=realhome_linux_bb_0_1_1_0_0_3_0&pcode=rn&opage=realhome_linux_bb" target="_blank">RealPlayer Linux home
Save that file to your home, and then open up a terminal (Applications > Accessories > Terminal) and type:<div style="margin: 5px 20px 20px;"> <div class="smallfont" style="margin-bottom: 2px;">Code: <pre class="alt2" style="border: 1px inset; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 114px; text-align: left;" dir="ltr">cd ~ su rpm -Uhv RealPlayer10GOLD.rpm rm RealPlayer10GOLD.rpm -f exit exit

RealPlayer should now be installed, along with it&#8217;s Mozilla helper so you can view media in Firefox.

Enjoy!
Firewing1


Tags: Fedora Linux Media Multimedia

Related Articles:


author

Authored By Amit Agarwal

Amit Agarwal, Linux and Photography are my hobbies.Creative Commons Attribution 4.0 International License.

❮ bash completion not working on Fedora colors in bash -- script to display all the possible colors. ❯

We notice you're using an adblocker. If you like our webite please keep us running by whitelisting this site in your ad blocker. We’re serving quality, related ads only. Thank you!

I've whitelisted your website.

Not now
This website uses cookies to ensure you get the best experience on our website. Learn more Got it