Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 11-15-2007, 03:21 PM   #1
Registered: Jan 2005
Location: san salvador, el salvador
Distribution: Debian Stable, UbuntuStudio Karmic Koala
Posts: 190

Rep: Reputation: 30
how to play divx movies in debian etch

Hi, recently I got some AVI files that use Divx codec, when I try to see them using Totem the application just crash, I guess that this happens because I donīt have the codecs installed.

So where I can download the codec? I donīt have access to apt-get so at least I need the name of the packages.

Thanks for your help
Old 11-15-2007, 03:27 PM   #2
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
You can get the Win32codec Pack from the MPlayer website:
Old 11-15-2007, 08:23 PM   #3
Registered: Mar 2007
Posts: 191

Rep: Reputation: 31
You can install them that way, but Totem might not use them. If you'd go to and follow the instructions to add their repository to /etc/apt/sources.list, you will have access to some things distro's normally don't include because of patent laws in some countries.

Then you can install his w32codecs-all, mplayer (plays more codecs than the Debian official version and if you use Etch is a newer version too), mplayer-skin-blue, mplayer-doc, and searching for gstreamer might offer some more gstreamer plugins to install. If you install totem-xine you'll get the version of Totem that uses the libxine1 engine, which generally plays more of these sort of codecs by default than does the totem-gstreamer you probably have now. You can also install libdvdcss2 from there, which activates encrypted dvd playback.

That'll likely get your divx, and more, going. There's more to install for other things but you can take a look around and see what you'd like.
Old 11-15-2007, 08:27 PM   #4
Senior Member
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Originally Posted by dahveed3 View Post
...If you'd go to and follow the instructions to add their repository to /etc/apt/sources.list...
htamayo said he doesn't have access to apt-get.
Old 11-15-2007, 09:40 PM   #5
Senior Member
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid
Posts: 4,734
Blog Entries: 12

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463

will get you most if not all of the codecs you will need.If the above doesn't do it try:
will get you mplayer itself.

Although it would be much easier if you could simply use apt-get.
Old 11-17-2007, 02:35 PM   #6
Registered: Mar 2007
Posts: 191

Rep: Reputation: 31
He could also grab the packages from debian-multimedia's Etch repo and install the deb's. Or, since that might be difficult as far as knowing what dependencies those bring in when apt installs them, he could download the deb-src versions and built those the Debian way, bringing in associated dependencies.

I figure, better to build from packages designed specifically for Etch as long as they're available.

Another way, since we're talking about an offline system with the whole of Etch on DVD or CD, he could do the same with Download the entire etch repo from there and make an installation folder for apt or aptitude to use. Then, aptitude would have full access to be able to install its depends, recommends, suggests, whatever. It could automatically install whatever it would normally with an internet connected setup.

He wouldn't get updates, but on Etch they're generally just for security anyway. Normally there aren't new package versions.

He could do the same with Shame's Etch repo and get better Compiz Fusion stuff, albeit without ccsm or fusion-icon as those don't run on Etch.

I've never made my own repos in folders but there are instructions on how to do that around. Just access the repos from a computer with a high-speed connection, download all packages and associated keys and what not, put them on a cdr, move it to his computer and follow whatever needs to be done.

He wouldn't be missing a thing then.
Old 01-15-2008, 12:37 PM   #7
LQ Newbie
Registered: Aug 2006
Posts: 5

Rep: Reputation: 0
playing divx

It is always a good idea to get the w32codecs and libdvdcss2 packages from repository. After putting it all files work.
As for specifically divx I would suggest to install the vlc player (aptitude install -y vlc) which i think works out of the box and is available in the first dvd itself.
However note that w32codecs won't work for vlc i.e. rm files don't work there specifically. For that totem or kaffeine or xfmedia are good choices for players.
Old 01-15-2008, 03:12 PM   #8
Registered: Nov 2007
Location: Dhaka, Bangladesh
Distribution: KDE Neon
Posts: 114

Rep: Reputation: 16
I installed mplayer but it couldn't play the avi files of one of my favourite cartoons 'Shaun the Sheep'.

When I try to open a file, it gives this error:
Failed to open file:///media/cdrom0/11%20The%20kite.avi.
I have w32codecs installed on my Debian Lenny.

VLC, however, can play the files, but why couldn't mplayer?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Sound refuses to play on Audigy 4 after alsaconf in Debian Etch Rettic AC Linux - Hardware 3 05-02-2007 04:50 PM
DivX files don't play duffmckagan Linux - Software 2 02-25-2005 03:33 AM
Wich program can i use for debian to play movies? mpho Debian 8 12-22-2004 10:52 AM
divx play problem saavik Linux - Software 12 05-14-2002 09:37 AM
How do I watch Divx movies in linux? Cheese Linux - Newbie 3 12-22-2001 04:53 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:03 AM.

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