Problems Installing Restricted Codecs

Hi,

I’ve tried the one-click install for gnome many times and it always fails. It says “There are some conflicts on the transaction that must be solved manually.”

I’ve been through many forum posts, but none of those solutions are working either. When I try to play a video file it can’t find the codecs.

Here is some information that usually seems to be asked for:

# zypper lr
# | Alias                                                        | Name                      | Enabled | Refresh
--+--------------------------------------------------------------+---------------------------+---------+--------
1 | http://download.opensuse.org/distribution/11.0/repo/non-oss/ | Main Repository (NON-OSS) | Yes     | Yes    
2 | http://download.opensuse.org/update/11.0/                    | Main Update Repository    | Yes     | Yes    
3 | http://download.opensuse.org/distribution/11.0/repo/oss/     | Main Repository (OSS)     | Yes     | Yes    
4 | http://ftp.skynet.be/pub/packman/suse/11.0/                  | Packman Repository        | Yes     | Yes
# su -c 'sax2 -p'
Password: 
Chip: 0  is -> Intel i845   00:02:0 0x8086 0x2562 PCI intel
# rpm -q kaffeine vlc libffmpeg0 smplayer MPlayer xvid libquicktime0 w32codec-all
package kaffeine is not installed
package vlc is not installed
package libffmpeg0 is not installed
smplayer-0.6.4-0.pm.1
MPlayer-1.0rc2_r27637-3.pm.3
package xvid is not installed
package libquicktime0 is not installed
package w32codec-all is not installed

Post the output of this command:

zypper install w32codec-all

The dependencies of libffmpeg0 provides most of the codecs you will need. Hence go to YaST > Software > Software management, and install libffmpeg0.

I also like the packman packaged xine.

I recommend in a separate session, you go to YaST > Software > Software management and select Novell/SuSE-GmbH packaged “xine-lib” for removal. Don’t remove it yet. Then select the Packman packaged “libxine1” for installation. Then apply the two settings at once.

After that is complete install xine-ui and kaffeine (from packman). The first time you run kaffeine, be certain to select xine as your video/sound engine in kaffeine. You could also install xvid and libquicktime0.

If you have problems with a liboil dependency, post here. But I believe only Smart package manager users run into that dependency hiccup, and there is an easy solution.

I did all those things, but video still doesn’t play. It says I need the Xvid and mpeg1 codecs.

Something about gstreamer.

What application are you trying to use?

If using the packman packaged kaffeine, and select the packman packaged xine engine, then you won’t get that problem, UNLESS you did not follow my instructions, but rather you diverged on your own using the one click install, where you have less control over what happens. For example, if you installed the videolan packaged libffmpeg0, instead of what I recommended, where I recommended the Packman packaged libffmpeg0, you could get a similar problem.

Also, you will not get that error if you use xine, by typing “xine yourmovie.avi” where “yourmovie.avi” is the movie file you are trying to play.

As I already noted, I can’t help unless you advise which of those two applications that I recommended are giving you that error. Also, you need to PRECISELY post what the error states, and not provide some general summary.

I installed the libffmpeg0 from packman. I installed libxine1, but xine yourmovie.avi comes back with command not found.

The videos are opening in Totem. I’m using gnome, not KDE. They will play in MPlayer, but not Totem.

When I look at the packman repo, it shows the gstreamer packages, but they have exclamations on them. If I try to upgrade them they say “There are some conflicts on the transaction that must be solved manually.”

Did you install xine-ui as recommended above. Also since I don’t know the name of the avi file, you need to substitute that name for “yourmovie.avi” .

I’m a KDE user, not a gnome user. I don’t use Totem. Nor do I use gstreamer for my codecs.

Still, your gstreamer conflicts are likely solveable. Generically, I find the technique for such is to reduce the installation to as small as an install as possible, until one can localize the precise conflict. Then remove/install as appropriate to sort the conflict in a small removal/update. Then carry on with the update.

I installed xine-ui now and kaffeine. When I try to run kaffeine from the Applications menu it says “Failed to execute child process “kaffeine” (No such file or directory)”.

I can play movies from the command line using xine. Is there a way to change to default program to something other than Totem?

Right click a movie file - properties
next click the small spanner icon
you should get another box listing players already configured to play the file type (ie; .avi)
you can move players up and down in the list and add other player not in the list.
Apply

When do you get that? Immediately from the menu?

What do you get when you type “kaffeine” from the command line? If kaffiene runs, do not forget to change its engine from gstreamer to xine.