What codec handles .avi's?

I’m running SuSE 11.2 and I have Xine, Kaffeine, and Media Player. They can play DVD’s (I got the libdvd packages from the repositories recommended by Novell on their page). However, Xine (and therefore SeaMonkey and FireFox) cannot handle .avi’s. What codec handles it? I was sure that I got them all (win32codecs).
My previous SuSE version was 10.0 and it played .avi’s fine.

The version of Xine that I installed was not from the pacman repository and when I just tried the “Switch version” (as shown here: ImageBam - Fast, Free Image Hosting and Photo Sharing) Yast gave me all sorts of error messages such as Mozilla XUL runner being broken. I of course don’t want my packages broken.

My other media packages are K3B, Kino, Amarok, XMMS, Audacity, and Audacious. So if I had to switch these to a certain repository, it might end up being a nightmare for this total n00b.

btw, this is the result of zypper lr -d:


zypper lr -d
#  | Alias                               | Name                        | Enabled | Refresh | Priority | Type   | URI                                                               | Service
---+-------------------------------------+-----------------------------+---------+---------+----------+--------+-------------------------------------------------------------------+--------
1  | 11.1                                | 11.1                        | No      | No      |   99     | rpm-md | http://download.nvidia.com/opensuse/11.1                          |
2  | Libdvdcss repository                | Libdvdcss repository        | No      | No      |   99     | rpm-md | http://opensuse-guide.org/repo/11.2/                              |
3  | Packman Repository                  | Packman Repository          | Yes     | Yes     |   99     | rpm-md | http://packman.inode.at/suse/11.2/                                |
4  | Printing                            | Printing                    | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/Printing/openSUSE_11.2/ |
5  | games                               | games                       | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/games/openSUSE_11.2/    |
6  | http-download.opensuse.org-7f346026 | Updates for openSUSE 11.2-0 | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/update/11.2/                         |
7  | mozilla/openSUSE_11.2               | mozilla/openSUSE_11.2       | Yes     | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/mozilla/openSUSE_11.2/  |
8  | openSUSE 11.2-0                     | openSUSE 11.2-0             | Yes     | No      |   99     | yast2  | cd:///                                                            |
9  | repo-debug                          | openSUSE-11.2-Debug         | No      | Yes     |   99     | NONE   | http://download.opensuse.org/debug/distribution/11.2/repo/oss/    |
10 | repo-non-oss                        | openSUSE-11.2-Non-Oss       | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.2/repo/non-oss/      |
11 | repo-oss                            | openSUSE-11.2-Oss           | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/11.2/repo/oss/          |
12 | repo-source                         | openSUSE-11.2-Source        | No      | Yes     |   99     | NONE   | http://download.opensuse.org/source/distribution/11.2/repo/oss/   |

First of all, xine is a wrapper, with many different types of codecs possible inside. There is no one codec that always goes with the avi wrapper.

Second, you already discovered your problem IMHO and that is you installed your xine from the wrong repository. Typically libdvdcss repository (or videolan) put their codecs in a place where packman packaged xine can not use them. Plus the Novell/SuSE-GmbH packaged xine is deliberately crippled NOT to use codecs from a 3rd party site.

So IMHO you need to sort the dependency warnings that frightened you, and replace any libdvdcss packaged apps (except for libdvdcss itself) including any non-packman packaged xine apps, with the packman packaged version.

Everytime I install openSUSE, I always refer to Multi-media and Restricted Format Installation Guide for multimedia setup.

Hope this helps

On 2010-08-08 23:06, gymnart wrote:
>
> I’m running SuSE 11.2 and I have Xine, Kaffeine, and Media Player. They
> can play DVD’s (I got the libdvd packages from the repositories
> recommended by Novell on their page). However, Xine (and therefore
> SeaMonkey and FireFox) cannot handle .avi’s. What codec handles it? I
> was sure that I got them all (win32codecs).
> My previous SuSE version was 10.0 and it played .avi’s fine.

Follow the instructions here:

<http://opensuse-community.org/Restricted_Formats>

Simply use yast to install the list of software they say from packman:

ffmpeg flash-player libxine1-codecs w32codec-all lame

and libdvdcss from videolan.

You also need xine and xine-ui (or others if you like), and/or mplayer.

AVI format is a container, the actual codec varies a lot.

> btw, this is the result of zypper lr -d:

I see you have some for 11.1 which you should change.

I give the packman repo a priority of 110 or so, and 112 to videolan, so that they don’t interfere
too much :slight_smile:

I mean that it suggested to change mozilla because it has the same priority as the oss repo. Or it
came from the mozilla repo you have activated with 99 too.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” GM (Elessar))

AVI is not itself a codec but just a container which contains audio and video, each in any possible codec…

You might also want to install the xvid codec

Thanks so much all of you. :smiley:

It was this video that I had tried ( http://www.artofillusion.com.ar/img_al_foro/errores/AnimationPreview.avi ) and when it wouldn’t load or play, I thought I had a problem. I tried it again today and it played fine (I had to hit ‘reload’ a few times and then it played). I guess that it was the site being slow.

Your fine advice will help me in the future and help others who have a problem now. :slight_smile: