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.