Najam Sikander Awan

covering web stack along with microsoft technologies

How to Enable Full Multimedia Capabilities on Suse 10.2 Using the Xine Engine

| Comments

NOTE: The package manager in Suse 10.2 appears to be working a lot better than the one in 10.1, so this time we will be using YAST and not SMART to install the required packages.

The first step in resolving the multimedia issue is to setup additional YAST software sources. The software repositories used in this howto, are Packman and Guru. If possible, please use a mirror instead of the main download site to prevent overloading one download location. The mirrors for Packman are listed here and the ones for Guru are on the section titled “Mirrors” on this page.

Adding the Packman Repository

  1. Start YAST -> Software -> Installation Source and click on “add”

  2. Select HTTP or FTP as the protocol and click on “next”

  3. In the box that is labeled ”Server Name” enter the address of the ftp or http server of your mirror e.g. mirror.geht-schon.de or ftp.uni-erlangen.de. Please do not enter the preceding http:// or ftp://.

    Working Example: Server Name: mirror.geht-schon.de

  4. In the box labeled “Directory on Server”, enter the path to the packman directory for Suse 10.2 e.g. /packman.links2linux.de/suse/10.2 or /pub/mirrors/packman/suse/10.2 Working Example: Directory on Server: /packman.links2linux.de/suse/10.2

  5. Once thats done, click on the finish button and depending on your net connection YAST may take a few seconds or a few minutes to setup the repo.

NOTE: If you are asked about a “KEY” please choose the option to import the key.

Adding the Guru Repository

*The process is similar to adding the packman repo, the only difference being the mirros, so I won’t delve into that. Follow the instructions above and just substitute server names and directory paths.

Working Example

Server Name: ftp.gwdg.de Directory on Server: /pub/linux/misc/suser-guru/rpm/10.2/RPMS

Installing the required packages

Once the mirrors have been setup do the following,

  1. YAST -> Software -> Software Management

  2. Search for xine and when the search results show up:

    • Select libxine1 for installation

  3. Select xine-lib for deinstallation

  4. If you want amarok to use the xine engine, select “amarok-xine” for installation if it is not already installed

  5. If you use totem and prefer to use xine instead of gstreamer as the backend, select libxine1-gnome-vfs for installation

  6. Search for w32codec and select it for installation

Once thats done, click accept and YAST should install the packages for you and hopefully you can play mp3, mp4, wmv etc. NOTE: We did not use any packages from the Guru repository, but it has some apps e.g. Kmplayer, amarok-xmms, and others as well as not multimedia packages that you may find useful. Playing encrypted DVD discs Xine cannot play encrypted dvd discs without some help. If you want to do this, then go to videolan and download the libdvdcss rpm. Install the rpm by doing

Code:

#rpm -Uvh libdvdcss2-1.2.9-1.i386.rpm

NOTE: Using libdvdcss maybe illegal in your country, so please check with the authorities before downloading and using it. We will not be held responsible or accountable if you use this software where you are not supposed to. A note on package management If you have problems with your package manager, it maybe a good idea to drop back to the old Suse package manager instead of the Zenworks related tools. To do this do

  1. YAST -> Software -> Software Management

  2. On the “Filter” box, select “Patterns”

  3. Navigate to the “Enterprise Software Management” pattern and deselect it and all the packages listed on the right

  4. Click accept and once YAST has completed the changes, close it and reboot.
When the system starts, you will notice that you have different tools for updating the system although YAST will work as usual but using the old backend. NOTE: As usual, any comments, addition and correction are welcome. Have fun.

Comments