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 August 4th, 2005   #1
tseliot
Ubuntu Developer
 
tseliot's Avatar
 
Join Date: May 2005
Location: Lecce, Italy
Beans: 6,300
Send a message via AIM to tseliot
HOWTO: Win32 Video Codecs (AMD64 and 64bit systems)

This HOWTO is mainly aimed at all the users of Ubuntu 64bit (although it would work also on a 32bit system) who can't (obviously) install these codecs using the repositories.

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”)

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 -xjf 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!

Alberto

UPDATE: It seems wmv9 don't work with my HOWTO.

Last edited by tseliot; September 29th, 2005 at 09:40 AM.. Reason: Revision of the entire process
tseliot is offline   Reply With Quote
Old August 4th, 2005   #2
Tamir
Way Too Much Ubuntu
 
Tamir's Avatar
 
Join Date: Jun 2005
Beans: 236
Send a message via MSN to Tamir
Re: HOWTO: Win32 Video Codecs (AMD64 and 64bit systems)

Wow! is this realy working on 64bit? cool.
__________________
Ubuntu 64 Backports. More details on this post.
Tamir is offline   Reply With Quote
Old August 4th, 2005   #3
tseliot
Ubuntu Developer
 
tseliot's Avatar
 
Join Date: May 2005
Location: Lecce, Italy
Beans: 6,300
Send a message via AIM to tseliot
Re: HOWTO: Win32 Video Codecs (AMD64 and 64bit systems)

Yes, this is one more reason not to switch back to Ubuntu 32bit. C'mon let's improve Ubuntu 64 support!
tseliot is offline   Reply With Quote
Old August 4th, 2005   #4
poofyhairguy
SADFL's Commando
 
poofyhairguy's Avatar
 
Join Date: Nov 2004
Location: Texas
Beans: 2,351
Send a message via AIM to poofyhairguy
Re: HOWTO: Win32 Video Codecs (AMD64 and 64bit systems)

Someone, please add this to the wiki.
__________________
Quote:
Those folks who try to impose analog rules on digital content will find themselves on the wrong side of the tidal wave.
- Mark Shuttleworth
poofyhairguy is offline   Reply With Quote
Old August 4th, 2005   #5
tseliot
Ubuntu Developer
 
tseliot's Avatar
 
Join Date: May 2005
Location: Lecce, Italy
Beans: 6,300
Send a message via AIM to tseliot
Re: HOWTO: Win32 Video Codecs (AMD64 and 64bit systems)

This would be an honour for me. Thanks
tseliot is offline   Reply With Quote
Old August 5th, 2005   #6
tseliot
Ubuntu Developer
 
tseliot's Avatar
 
Join Date: May 2005
Location: Lecce, Italy
Beans: 6,300
Send a message via AIM to tseliot
Re: HOWTO: Win32 Video Codecs (AMD64 and 64bit systems)

I meant it would be an honour for me if someone put it in the Wiki. I don't know how to do it.
tseliot is offline   Reply With Quote
Old August 5th, 2005   #7
Kuolio
Just Give Me the Beans!
 
Kuolio's Avatar
 
Join Date: Jun 2005
Location: Seinäjoki, Finland
Beans: 57
Ubuntu Breezy 5.10
Re: HOWTO: Win32 Video Codecs (AMD64 and 64bit systems)

Thank you for this
Kuolio is offline   Reply With Quote
Old August 5th, 2005   #8
kostkon
Tall Cafè Ubuntu
 
kostkon's Avatar
 
Join Date: Apr 2005
Location: EU - UK
Beans: 2,601
Ubuntu 10.04 Lucid Lynx
Send a message via ICQ to kostkon Send a message via MSN to kostkon Send a message via Yahoo to kostkon Send a message via Skype™ to kostkon
Re: HOWTO: Win32 Video Codecs (AMD64 and 64bit systems)

Impressive!!

Let's try to reach 100% equallity between 32 and 64 bit!! We can do it!!
kostkon is offline   Reply With Quote
Old August 5th, 2005   #9
Tamir
Way Too Much Ubuntu
 
Tamir's Avatar
 
Join Date: Jun 2005
Beans: 236
Send a message via MSN to Tamir
Re: HOWTO: Win32 Video Codecs (AMD64 and 64bit systems)

Quote:
Originally Posted by kostkon
Impressive!!

Let's try to reach 100% equallity between 32 and 64 bit!! We can do it!!
That's the spirit
__________________
Ubuntu 64 Backports. More details on this post.
Tamir is offline   Reply With Quote
Old August 5th, 2005   #10
etitor
Just Give Me the Beans!
 
etitor's Avatar
 
Join Date: Mar 2005
Location: Buenos Aires, Argentina
Beans: 71
Ubuntu 9.10 Karmic Koala
Re: HOWTO: Win32 Video Codecs (AMD64 and 64bit systems)

Quote:
Originally Posted by tseliot

/home/.xine/config
Thank you tseliot, but I think you lack something there between "/home" and "/.xine". Maybe you can say just ~/.xine/config.

By the way, even with that corrected, after following your directions I tried to play a WMV (version 9) in my AMD64 K8 Ubuntu, to no avail.

Last edited by etitor; August 5th, 2005 at 06:25 PM..
etitor 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 04:06 AM.


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