How to install (restricted) audio & video codecs in openSUSE 12.2 (KDE)?


Like many GNU/Linux distributions, openSUSE too doesn’t include a lot of multimedia codecs by default (due to licensing issues). So until you can seriously enjoy the newly installed OS, you really have to get ‘em audio and video files to play :).

The good news is that, installing them in openSUSE is extremely easy. For that you can use the ‘one-click’ installer (which opens up the package manager and install them from there) or, you can also use the command line tool ‘zypper’ too.

Due to its simplicity I like to use ‘zypper’. So for installing those proprietary codecs in the newly released openSUSE 12.2 KDE desktop version, open your Terminal and enter the below commands (make sure software like your update manager and other software managers aren’t running from the background. If they do, then close them first).

sudo zypper addrepo http://packman.inode.at/suse/12.2/packman.repo

sudo zypper addrepo http://www.opensuse-guide.org/repo/12.2/libdvdcss.repo

sudo zypper refresh

When you enter the last command above you’ll be asked (two times) whether you’d like to accept the ‘key’ of these repositories, simply press ‘a’ to accept them always or to temporarily accept them, type ‘t’.

Then the below command to install the codecs.

sudo zypper install libxine2-codecs k3b-codecs ffmpeg lame gstreamer-0_10-plugins-bad gstreamer-0_10-plugins-ugly gstreamer-0_10-plugins-ugly-orig-addon gstreamer-0_10-plugins-ffmpeg libdvdcss2

That should do it. Now open your favorite media player and try playing something and it should work.

Note: These commands only are for the KDE version. For Gnome users and KDE users who’d like to install them using the GUI tools, please visit this page. Good luck.

2 thoughts on “How to install (restricted) audio & video codecs in openSUSE 12.2 (KDE)?

    1. Gayan Post author

      Hi ‘mal’,

      That is weird. Is your internet connection working properly ?

      Anyhow, I don’t have opeSUSE to test it out right now, but those links are working properly. However, if you use KDE, then you can simply click on the below link and it should open up the package manager GUI, and then please follow the on-screen details to install the codecs (it is the GUI method of installing them).

      http://opensuse-community.org/codecs-kde.ymp

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>