Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old October 13th, 2005   #1
tseliot
Python Enthusiast
 
tseliot's Avatar
 
Join Date: May 2005
Location: Lecce, Italy
Beans: 6,287
Send a message via AIM to tseliot
HOWTO: Win32 Video Codecs

This HOWTO is aimed at all the users of Ubuntu (both 32 and 64bit although wmv9 files don't work in Ubuntu 64bit) and it is useful because win32 codecs aren't available anymore in the repositories for legal reasons.

This guide is a revised version of a guide of mine specifically aimed at 64bit users. I decided to post this new one in order to avoid misunderstandings.

If you want to watch your movies (avi and wmv) or listen to your music files (wma) which require Win32 codecs this is what you need:

1)You have to OWN A LEGAL COPY of Windows, because these are proprietary codecs (somebody correct me if I'm wrong)

2)Install “xine-ui” and “totem-xine” in Synaptic or type in the command line:
sudo apt-get install xine-ui ; totem-xine

3) Launch Xine (or Totem) and try to play a video (this will create a .config file)

4) Download the codecs from this website:
http://www.mplayerhq.hu/homepage/design7/dload.html
(just download the “essential codecs package”)

if the link above is temporarily down try this mirror:
http://www4.mplayerhq.hu/homepage/design7/dload.html

5) Open the command line(“Konsole” if you are using KDE, “Terminal” if you are using GNOME) and follow these steps:

a) Get to the directory where you have downloaded the file (/home/alberto/downloads in my case)

cd /home/alberto/downloads

b) Create the directory in which you are going to put the codecs (/usr/lib/win32)

sudo mkdir /usr/lib/win32

c) Now, assuming the file you downloaded is “essential-20050412.tar.bz2”:

tar -xjvf essential-20050412.tar.bz2 (this will extract the file)

sudo mv essential-20050412/* /usr/lib/win32 (this command will move the files to the desired folder)

d) Now restart xine (if you were using it)

Congratulations, now you can open wma, wmv, and avi files by using Totem and Xine!


NOTE: It seems wmv9 don't work with my HOWTO if you use Ubuntu 64bit.

Alberto

Last edited by tseliot; April 12th, 2006 at 01:07 PM..
tseliot is offline   Reply With Quote
Old October 13th, 2005   #2
emendelson
A Carafe of Ubuntu
 
Join Date: Apr 2005
Beans: 125
Re: HOWTO: Win32 Video Codecs

I've got Gxine playing audio .wma files very nicely, following these instructions, but I can't get those .wma files to play in Totem. When I looked at your instructions, I neglected to run Totem before installing the w32 codecs, and I wonder if that was the problem. Do you know where the config file is so that I could try deleting it and starting over???

EDIT: Found the answer: needed to install gstreamer0.8-ffmpeg from universe.

Last edited by emendelson; October 13th, 2005 at 04:39 PM..
emendelson is offline   Reply With Quote
Old October 13th, 2005   #3
Drakx
Gee! These Aren't Roasted!
 
Join Date: Mar 2005
Beans: 181
Send a message via ICQ to Drakx Send a message via Skype™ to Drakx
Re: HOWTO: Win32 Video Codecs

or add

Code:
deb ftp://ftp.nerim.net/debian-marillat/ sarge main
to your sources.list

sudo apt-get update
sudo apt-get install w32codecs
Drakx is offline   Reply With Quote
Old October 13th, 2005   #4
fortytwo
Just Give Me the Beans!
 
Join Date: Jan 2005
Beans: 72
Re: HOWTO: Win32 Video Codecs

When I try to do an update with that repository added, I get:

Code:
W: GPG error: ftp://ftp.nerim.net sarge Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907
fortytwo is offline   Reply With Quote
Old October 13th, 2005   #5
Stealth-X
5 Cups of Ubuntu
 
Stealth-X's Avatar
 
Join Date: Apr 2005
Beans: 5
Re: HOWTO: Win32 Video Codecs

Grrr http://www.mplayerhq.hu/homepage/design7/dload.html is down!
__________________
(\ /)
(O.o)
(> <)
This is Bunny. Copy Bunny into your signature to help him on his way to world domination.
Stealth-X is offline   Reply With Quote
Old October 13th, 2005   #6
jarrett.wold
Just Give Me the Beans!
 
Join Date: May 2005
Beans: 45
Re: HOWTO: Win32 Video Codecs

Mirror

http://ftp5.mplayerhq.hu/mplayer/rel...050412.tar.bz2
jarrett.wold is offline   Reply With Quote
Old October 14th, 2005   #7
manicka
Guest
 
Beans: n/a
Re: HOWTO: Win32 Video Codecs

Quote:
Originally Posted by Drakx
or add

Code:
deb ftp://ftp.nerim.net/debian-marillat/ sarge main
to your sources.list

sudo apt-get update
sudo apt-get install w32codecs

We are encouraging people to not use this repo as it will cause serious damage to your system.

to install the w32codecs please download this file

ftp://cipherfunk.org/pub/packages/ub...untu2_i386.deb

and install it with

sudo dpkg -i w32codecs_20050412-0unofficialubuntu2_i386.deb


libdvdcss2 can be downloaded here and installed with dpkg in the same way

ftp://cipherfunk.org/pub/packages/ub...untu3_i386.deb

Last edited by manicka; October 14th, 2005 at 07:18 PM..
  Reply With Quote
Old October 14th, 2005   #8
BLTicklemonster
Tall Cafè Ubuntu
 
BLTicklemonster's Avatar
 
Join Date: Oct 2005
Location: Rome, Ga
Beans: 2,611
Ubuntu 8.10 Intrepid Ibex
Send a message via MSN to BLTicklemonster Send a message via Yahoo to BLTicklemonster
Re: HOWTO: Win32 Video Codecs

Quote:
Originally Posted by manicka
We are encouraging people to not use this repo as it will cause serious damage to your system.

to install the w32codecs please download this file

ftp://cipherfunk.org/pub/packages/ub...untu2_i386.deb

and install it with

sudo dpkg -i w32codecs_20050412-0unofficialubuntu2_i386.deb


libdvdcss2 can be downloaded here and installed with dpkg in the same way

ftp://cipherfunk.org/pub/packages/ub...untu3_i386.deb
Thank you! Sort of. In Hoary, I had no problems getting my dvd player to work, but in Breezy, I couldn't use it until just now thanks to your post. But I am having the same problem in Breezy as I was having in Hoary, and that is that the dvd is horrible. It is real jumpy.

VLC is about as confounding a device as I think I have seen yet.

Can't wait til some resolution comes about.
__________________
Al Gore didn't invent the Internet, but he did make up global warming.

-David Rockefeller, March 08, 2009
BLTicklemonster is offline   Reply With Quote
Old October 14th, 2005   #9
manicka
Guest
 
Beans: n/a
Re: HOWTO: Win32 Video Codecs

try totem-xine
  Reply With Quote
Old October 16th, 2005   #10
angrykeyboarder
Quad Shot of Ubuntu
 
angrykeyboarder's Avatar
 
Join Date: Mar 2005
Location: Phoenix, Arizona, USA
Beans: 371
Ubuntu 9.04 Jaunty Jackalope
Send a message via ICQ to angrykeyboarder Send a message via AIM to angrykeyboarder Send a message via MSN to angrykeyboarder Send a message via Yahoo to angrykeyboarder Send a message via Skype™ to angrykeyboarder
Re: HOWTO: Win32 Video Codecs

Quote:
Originally Posted by manicka
We are encouraging people to not use this repo as it will cause serious damage to your system.

to install the w32codecs please download this file

ftp://cipherfunk.org/pub/packages/ub...untu2_i386.deb

and install it with

sudo dpkg -i w32codecs_20050412-0unofficialubuntu2_i386.deb


libdvdcss2 can be downloaded here and installed with dpkg in the same way

ftp://cipherfunk.org/pub/packages/ub...untu3_i386.deb
This is the first I've seen of this. These packages are [b[]very important to most everyone and I would encourage those in the "we" group you mentioned to document these URLs in the Wiki.

With Breezy being just released the "usual sources" of information aren't up to speed as of yet, leaving people hanging.

One of these days I'll follow my own advice and wait 30 days to install a newly released Linux distro when everything is "really" ready.
__________________
Scott
© 2009 angrykeyboarder™ & Elmer Fudd. All Wites Wesewved.
I never used an OS that I didn't (dis)like.
I'm angrykeyboarder™ and I approved this message.
angrykeyboarder is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:33 PM.


vBulletin ©2000 - 2009, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry