LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-06-2007, 05:29 AM   #1
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
How to enable full multimedia capabilities on Suse 10.3 using the xine engine


This articles is mainly meant for Linux or SUSE newbies, but hopefully others will find it useful.

Enabling Full Multimedia Capabilities on openSUSE 10.3 using the Xine engine
The process of setting up full multimedia capabilities in openSUSE 10.3 is quite similar to previous SUSE/openSUSE releases. Its a little bit simpler in openSUSE 10.3 due to a new feature that was added to the YAST software module i.e. the ability to add community repos from YAST with just a few clicks.

Setting Up The Repositories
The YAST repositories that need to be enabled are Packman and VideoLan. To enable the repositories
  1. Run YAST (from Kmenu -> Computer -> Administrator Settings)
  2. Go to Software -> Community Repositories
  3. Select Packman and VideoLan by placing a tick in the check box beside their names and click finish
  4. YAST will then automatically setup the repositories for you. During the setup process, you will be asked if you want YAST to import the gpg keys for the repositories you chose and you need to select “yes”.

Which Libraries do you need?

The basic libraries you need to install are libxine1, w32codec-all and for playing encrypted dvd discs, you need libdvdcss. There are obviously optional packages available, but this is for an individual to choose whether they need them or not. If you use totem and want it to use the xine engine, you will also need to select libxine1-gnome-vfs. If you want Mozilla based browsers to use your Xine based player, also select xine-browser-plugin.

Installing the Packages

To install the packages
  1. YAST -> Software -> Software Management -> Search
  2. Look for the packages you need and select them for installation. The installation of libxine1 should automatically result in xine-lib (SUSEs crippled Xine library) being automatically uninstalled.
  3. Also select the Xine based apps you want to run such as kaffeine, amarok-xine, totem, codeine, gxine, kmplayer and xine itself. There is obviously no need to do this if they were already installed and they should be able to play wmv, avi etc once libxine and w32codec-all are installed.

Other applications to look at are MPlayer and VLC. You may also need to install LAME if you want to rip your discs to mp3 files.

Hope this helps those who have been requesting and article for openSUSE 10.3. Any comments, correction and other input is welcome.

Last edited by reddazz; 11-06-2007 at 11:32 AM.
 
Old 11-06-2007, 07:17 AM   #2
jadukor
Member
 
Registered: Nov 2005
Location: Bangladesh
Distribution: openSUSE
Posts: 83

Rep: Reputation: 15
Thanks for your time raddazz

been waiting to hear from you ever since 10.3 was released

jadukor
 
Old 11-12-2007, 08:36 AM   #3
dissident_goodchild
Member
 
Registered: Feb 2007
Location: Spain
Distribution: OPENSUSE 10.3 64-BIT WITH GNOME
Posts: 229

Rep: Reputation: 30
Previously in the version 10.2 and 10.3 I installed the gstreamer package and did not have problems to see multimedia. I have reinstalled the version 10.3 and now I can't open the multimedia files.

I want to understand more than happen, I never did to install the w32codec-all package, as far as I know.

Last edited by dissident_goodchild; 11-12-2007 at 08:38 AM.
 
Old 11-12-2007, 10:57 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Original Poster
Rep: Reputation: 77
Quote:
Originally Posted by dissident_goodchild View Post
Previously in the version 10.2 and 10.3 I installed the gstreamer package and did not have problems to see multimedia. I have reinstalled the version 10.3 and now I can't open the multimedia files.

I want to understand more than happen, I never did to install the w32codec-all package, as far as I know.
Win32 codecs are used by the likes of Xine, Mplayer and VLC. I don't think I can be of much help with the gstreamer stuff since I am not particularly a fan of it and hardly use it. As far as I know, if you have the right plugins, then you should be able to play most multimedia types. Make sure you have gstreamer-plugins-bad and gstreamer-plugins-ugly installed.
 
Old 11-12-2007, 02:53 PM   #5
dissident_goodchild
Member
 
Registered: Feb 2007
Location: Spain
Distribution: OPENSUSE 10.3 64-BIT WITH GNOME
Posts: 229

Rep: Reputation: 30
I use Totem. Libxine1 package, w32, gstreamer.ugly and bad them not resolved the problem.

I do not want to reinstall the system. The unique thing that I did was not to mark the check to add the additional repositories before the installation. It seem strange that in the first installation of the 10.3 I did not have problems of this type.

In another case, that alternatives exist to gstreamer for Totem?, without focusing us only in this.

Sorry I am a just hopeless.

Last edited by dissident_goodchild; 11-12-2007 at 03:09 PM.
 
Old 11-12-2007, 06:01 PM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Original Poster
Rep: Reputation: 77
Installing libxine and win32 codecs won't make totem use the Xine backend. If you want totem to use the Xine backend, you also have to install libxine1-gnome-vfs. If you have the right libraries and plugins installed, then I don't know why totem will not work for you. Maybe you need to enable the Packman repository and install multimedia packages from there. Their packages replace the crippled ones in openSUSE.
 
Old 11-12-2007, 06:34 PM   #7
dahveed3
Member
 
Registered: Mar 2007
Posts: 191

Rep: Reputation: 31
As far as I know if you have w32codecs-all, mplayer, the gstreamer010 plugins from Packman, particularly bad, ffmpeg, and ugly, lame, mad, libffmpeg0, you should have been alright. Get all of them from Packman, even if you have to click the Version tab in YaST and choose the specific version manually because it is older, as would be the case if you've upgraded Gnome to GNOME:/STABLE Build Service builds.

Perhaps the gstreamer version of Totem is more crippled than I had thought, but I have seen users report all being well as long as they had installed the Packman versions of the plugins.

If you like you can install Packman's version of totem and totem-plugin, which will bring in the xine version of Totem and would also have brought in libxine1 as a dependency, and will automatically uninstall xine-lib, the default xine plugin in OpenSUSE that excludes playback of proprietary codecs.

I don't know why so many now recommend the installation of the libdvdcss from the vlc player's repo. That is the version that needs a libxine1 enabled player for encrypted dvd's. The libdvdcss2, from the libdvdcss repo of the vlc ftp site will enable decryption on any dvd capable player, gstreamer or xine based. I still have that saved, but it is downloadable from the site, you make it executable and right-click Install With Yast, logout and in and you've got dvd. Some players may still need libdvdnav4 and libdvdplay but most get along fine with only libdvdread3 that gets installed as a dependency with the players.

If you did the single cd install you may not have java-sun5-jre, java-sun5-plugin, flash, and realplayer installed but if you switch the Search box to Patterns and select the non-oss multimedia pattern that would take care of that. A further fix for some Java problems is to then upgrade java-sun5-plugin to java-sun6-plugin. That will uninstall java-sun5-plugin and you should then put a check in java-sun6-jre and trash java-sun5-jre before proceeding. Then YaST will complain but tell it it's okay to ignore the non-oss multimedia dependency this time. It will actually remove that check but leave the programs installed.

If you want the Acrobat Reader, you might as well download the newer version from adobe.com. Just make the rpm executable and right click Install With YaST.

It a choice if you want mplayerplug-in, totem-plugin from Packman, or that xine browser plugin mentioned in the sticky. Just don't install more than one of those!

If files aren't opening in RealPlayer you need to rename or delete the interfering codec from /usr/lib/browser-plugins. Totem's Real plugin is named libtotemcomplex something and there are two of those. Mplayer's have real in the name. Ones an .so and ones an .so.xpt. Get rid of those and delete the /home/yourname/.mozilla/firefox/somethingplugins.reg. Run RealPlayer and open the wizard again in the help menu to get its plugin restored properly. Open Firefox and it'll re-register its plugins.

Theoretically just using the one-click Gnome codec installer from the Restricted Formats page of opensuse-community.org should have taken care of at least some of this. The Advanced checkmark in that would have given you the choice of installing some of what I've mentioned automatically. But if you've already started manually installing some of this stuff you may as well try to add the few missing pieces yourself.

See if you've got the stuff I mentioned. If you do, and still can't play your files then something must be broken. You should have no multimedia problems with all that.

I sure hope enough folks get used to this sort of thing. I've typed similar out on enough posts to make my fingers tired!

I just don't feel the guides this time go far enough. And I didn't even talk about the KDE stuff like Amarok (switch it to xine in its settings) and Kaffeine (get 'em from Packman, the rest of the libxine1 plugins, and the needed k3b-codecs Packman plugin!

Last edited by dahveed3; 11-12-2007 at 06:36 PM.
 
Old 11-13-2007, 08:18 AM   #8
dissident_goodchild
Member
 
Registered: Feb 2007
Location: Spain
Distribution: OPENSUSE 10.3 64-BIT WITH GNOME
Posts: 229

Rep: Reputation: 30
Thanks to all.
 
Old 11-17-2007, 10:49 AM   #9
dissident_goodchild
Member
 
Registered: Feb 2007
Location: Spain
Distribution: OPENSUSE 10.3 64-BIT WITH GNOME
Posts: 229

Rep: Reputation: 30
solved

I reinstalled the system and installed the codecs step by step. The problem was a conflict in the versions of the gstreamer packages. Also the Xine option worked.

It was necessary the ffmpeg-demuxer package to read all the formats in Totem.

Last edited by dissident_goodchild; 11-17-2007 at 10:54 AM.
 
Old 11-17-2007, 12:35 PM   #10
drjim
LQ Newbie
 
Registered: Nov 2007
Posts: 3

Rep: Reputation: 0
Thanks reddazz! Adding the community repositories saved me hours of searching and doing things one-at-a-time!
 
Old 11-25-2007, 09:08 AM   #11
sco1984
Member
 
Registered: Sep 2005
Location: Pune, India
Distribution: openSUSE Leap
Posts: 137

Rep: Reputation: 15
Hello,
I am trying to add repo source using Yast HTTP. But its showing timed out error.

I added following details ...

Protocol - HTTP
Server name - download.opensuse.org
Directory on server - distribution/10.3/repo/oss/suse/repodata [ without using slash ]

I see no progress. It remains on 0% and throws message connection timed out.

What is the possible reason? I am getting ping reply from download.opensuse.org
I also tried to connect using IP address of download.opensuse.org Same error..
Any other source? Packman also giving me same error how ever I can connect to internet with no problem. I am writing this message from OpenSuSe 10.3 browser only. I am accesing from home using my GPRS connection. No proxies nothing else. All ports are opened. What could be reason behind this ?

Regards,
AmEy.
 
Old 11-26-2007, 08:29 AM   #12
dissident_goodchild
Member
 
Registered: Feb 2007
Location: Spain
Distribution: OPENSUSE 10.3 64-BIT WITH GNOME
Posts: 229

Rep: Reputation: 30
I do not know that repository you are trying to add. I have added this as "Specific URL" and I had not problems:

http://download.opensuse.org/distrib...10.3/repo/oss/

Complete list of repositories.

The repositories mentioned here are Packman and VideoLan.
 
Old 11-27-2007, 12:26 AM   #13
dahveed3
Member
 
Registered: Mar 2007
Posts: 191

Rep: Reputation: 31
The problem is probably the word repodata. That's something used by the package manager, not a directory a user should type in. If the url is not typed in correctly, by either exclusion, inclusion of incorrect stuff or misspelling or wrong case, then YaST won't be able to add it or use it.
 
Old 01-09-2008, 03:49 PM   #14
dwhitney67
Senior Member
 
Registered: Jun 2006
Location: Maryland
Distribution: Kubuntu, Fedora, RHEL
Posts: 1,541

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Hi Everyone,

Here's an easier way to install multimedia applications. Goto to this link, choose whether you are using KDE or Gnome, then perform the "one-click" installation.

http://opensuse-community.org/Restricted_Formats/10.3

This is a lot easier than what is posted in the OP.
 
Old 02-27-2008, 08:21 AM   #15
apokryphos
Member
 
Registered: Jun 2004
Distribution: openSUSE Factory
Posts: 96

Rep: Reputation: 15
Yes, it would be nice if the articles on here linked to the official openSUSE wiki or official openSUSE Community wiki for all the instructions, like the post above me.

This would also resolve the case of ridiculously dated (i.e. SUSE 9.1 -- what the?) stickies that are in the forum, and in general the instructions will be an awful lot easier and generally more recommended.
 
  


Reply

Tags
codec, dvd



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to enable full multimedia capabilities on Suse 10.1 using the Xine engine reddazz SUSE / openSUSE 134 05-26-2012 05:25 PM
How to enable full multimedia capabilities on Suse 10.2 using the xine engine reddazz SUSE / openSUSE 8 12-11-2006 06:13 AM
How to enable full multimedia capabilities on Suse 10.2 using the Xine engine? joint SUSE / openSUSE 1 12-10-2006 09:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 06:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration