Tutorials

Tuesday, September 18, 2012

Fedora 17 - Multimedia Add-ons

Fedora ships with no closed source or proprietary multimedia codecs.  As such, Fedora is not equipped to play MP3's or many video clips out-of-the-box.  Here's how to install most of what you'll need for a rich multimedia experience.

What we will be doing is installing the RPM Fusion repository and installing several packages from there.  Afterwards, we'll download a codec tarball from Mplayer, and install that as well.  Then, the Livna repository will be installed (then disabled by default), and from there libdvdcss will be installed so as to play DVDs.

Upon completion, your Fedora installation will be well equipped for multimedia!

As root:

yum install -y --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm

yum -y install xine-ui gstreamer-plugins-bad-extras gstreamer-ffmpeg gstreamer-plugins-ugly gstreamer-plugins-bad totem totem-mozplugin totem-nautilus totem-pl-parser totem-xine mozplugger gecko-mediaplayer xmms xmms-faad2 libmad libid3tag libdvdread libdvdnav libquicktime vlc ffmpeg wget xine-lib-extras-freeworld xmms-mp3 lame

wget http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20110131.tar.bz2
tar -jxvf all-20110131.tar.bz2
mkdir -p /usr/local/lib/codecs
cp all-20110131/* /usr/local/lib/codecs
ln -sf /usr/local/lib/codecs /usr/lib/codecs && ln -sf /usr/local/lib/codecs /usr/local/lib/win32 && ln -sf /usr/local/lib/codecs /usr/lib/win32
rm -f all-20100303.tar.bz2
rm -rf all-20100303

yum -y install --nogpgcheck http://rpm.livna.org/livna-release.rpm
sed -i 's/enabled=1/enabled=0/g' /etc/yum.repos.d/livna.repo
yum --enablerepo=livna -y install libdvdcss



Enjoy!

No comments:

Post a Comment