View Full Version : HOWTO: Win32 Video Codecs
tseliot
October 13th, 2005, 07:09 PM
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
emendelson
October 13th, 2005, 09:31 PM
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.
Drakx
October 13th, 2005, 11:19 PM
or add
deb ftp://ftp.nerim.net/debian-marillat/ sarge main
to your sources.list
sudo apt-get update
sudo apt-get install w32codecs
fortytwo
October 14th, 2005, 12:54 AM
When I try to do an update with that repository added, I get:
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
Stealth-X
October 14th, 2005, 01:15 AM
Grrr http://www.mplayerhq.hu/homepage/design7/dload.html is down!
jarrett.wold
October 14th, 2005, 01:58 AM
Mirror
http://ftp5.mplayerhq.hu/mplayer/releases/codecs/essential-20050412.tar.bz2
BLTicklemonster
October 14th, 2005, 02:59 AM
Mirror
http://ftp5.mplayerhq.hu/mplayer/releases/codecs/essential-20050412.tar.bz2
Thank you, I came in here to ask if someone would get a mirror for that.
BLTicklemonster
October 14th, 2005, 03:46 AM
Well, I got them in /usr/lib/win32 but neither totem nor xine will play a dvd
stateq2
October 14th, 2005, 04:29 AM
you need libdvdcss2
ftp://ftp.nerim.net/debian-marillat/pool/main/libd/libdvdcss/
51mmz0rz
October 14th, 2005, 06:03 AM
Both the first set of directions and the download from the repo didn't do it for me. Weird because I installed lame and couldn't play mp3 files. My solution was to install and then uninstall VLC player.
Now it seems like I can play everything in totem fine, except DVDs. With libdvdcss DVD playback is a little choppy in totem, watchable but distracting. In VLC, DVD playback is smooth.
doood81
October 14th, 2005, 08:02 AM
HOWTO worked fine for me, it's how i've always done it in the past as well. Mplayer used to be my main media player.
A pile of avi's mpeg2/3 I have would play fine but have no audio. However my system was lacking libac52, which does not get installed with previous package dependencies.
my 2cents.
manicka
October 15th, 2005, 12:09 AM
or add
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/ubuntu/pool/main/w/w32codecs/w32codecs_20050412-0unofficialubuntu2_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/ubuntu/pool/main/libd/libdvdcss/libdvdcss2_1.2.8-1unofficialubuntu3_i386.deb
BLTicklemonster
October 15th, 2005, 03:25 AM
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/ubuntu/pool/main/w/w32codecs/w32codecs_20050412-0unofficialubuntu2_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/ubuntu/pool/main/libd/libdvdcss/libdvdcss2_1.2.8-1unofficialubuntu3_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.
manicka
October 15th, 2005, 03:38 AM
try totem-xine
manicka
October 15th, 2005, 03:49 AM
As well as trying totem-xine you'll need to have DMA enabled
http://doc.ubuntu.com/gnome/faqi386/C/ch04.html#id3152618
Jujimufu
October 15th, 2005, 04:47 AM
Worked great! THANKS!
webbie180
October 15th, 2005, 05:02 AM
Link to libdvdcss2_1.2.8-1unofficialubuntu3_i386.deb
doesnt seems to work.
BLTicklemonster
October 15th, 2005, 05:08 AM
I have totem-xine, and dma is on.
Segovia
October 15th, 2005, 05:25 AM
I have totem-xine, and dma is on.
I've never been very successful playing DVDs with totem-xine, however xine-ui works nicely.
manicka
October 15th, 2005, 05:30 AM
Link to libdvdcss2_1.2.8-1unofficialubuntu3_i386.deb
doesnt seems to work.
in what way?
Muhammad
October 15th, 2005, 07:47 AM
The http://www.mplayerhq.hu/homepage/design7/dload.html is down :/
tseliot
October 15th, 2005, 11:13 AM
The http://www.mplayerhq.hu/homepage/design7/dload.html is down :/
You're right. Try this mirror http://www4.mplayerhq.hu/homepage/design7/dload.html
pelago
October 15th, 2005, 09:02 PM
Maybe the DVD stuff in this thread should be split off into a different thread, to keep this one Win32codes-only.
angrykeyboarder
October 16th, 2005, 01:04 PM
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/ubuntu/pool/main/w/w32codecs/w32codecs_20050412-0unofficialubuntu2_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/ubuntu/pool/main/libd/libdvdcss/libdvdcss2_1.2.8-1unofficialubuntu3_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.
manicka
October 16th, 2005, 01:20 PM
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.
Don't forget that you're talking about packages that aren't in the main distro or supported by Canonical, so you won't see reference to them on the main wiki. Everything on their part was ready to go from day one.
As for the rest (like info on where to get these packages), the community is doing it's best to get everything up to date. Just be patient and use the forums and how-tos. There's lots of people here willing to help. :D
tseliot
October 16th, 2005, 01:56 PM
With Breezy being just released the "usual sources" of information aren't up to speed as of yet, leaving people hanging.
My guide is thought to overcome the problem. The result is the same and it also works with 64bit systems (the package "w32codecs" is available only for 32bit systems).
Now, I don't think my guide is difficult to follow (even for newbies) and the package "w32codecs" can't be included for legal reasons (this has been discussed over and over). This means that there's no reason to complain about Breezy (at least not for the codecs)
I suggest you (and any other user) to follow my guide and enjoy your codecs ;)
angrykeyboarder
October 16th, 2005, 02:23 PM
Don't forget that you're talking about packages that aren't in the main distro or supported by Canonical, so you won't see reference to them on the main wiki. Everything on their part was ready to go from day one.
As for the rest (like info on where to get these packages), the community is doing it's best to get everything up to date. Just be patient and use the forums and how-tos. There's lots of people here willing to help. :D
I'm fully aware of all of this, but thanks.
I've not looked at the Wiki in a while, but I recall there has been reference to how to install libdvdcss and w32codecs previously.
The documentation in the Wiki is "user Documentation". Any Tom, **** or Harry can contribute to it.
I myself, edited a section on Opera recently.
angrykeyboarder
October 16th, 2005, 02:28 PM
My guide is thought to overcome the problem. The result is the same and it also works with 64bit systems (the package "w32codecs" is available only for 32bit systems).
Now, I don't think my guide is difficult to follow (even for newbies) and the package "w32codecs" can't be included for legal reasons (this has been discussed over and over). This means that there's no reason to complain about Breezy (at least not for the codecs)
I suggest you (and any other user) to follow my guide and enjoy your codecs ;)
Pardon me, I'd forgotten about your guide....
I'd actually just installed the files in question from the dreaded Debian-Marillat repository. I figured everything was cool until I read otherwise a little while ago.
I've since added
deb ftp://cipherfunk.org/pub/packages/ubuntu/ breezy main
to my sources.list file and replaced the files in question.
angrykeyboarder
October 16th, 2005, 02:38 PM
Don't forget that you're talking about packages that aren't in the main distro or supported by Canonical, so you won't see reference to them on the main wiki.
Define "the main wiki". I'm referring to this part (https://wiki.ubuntu.com/UserDocumentation) which any Tom, **** or Harry can contribute to.
Here is an example of the kind of stuff I've been referring to:
https://wiki.ubuntu.com/RestrictedFormats
Everything on their part was ready to go from day one.
I wasn't referring to Ubuntu......
As for the rest (like info on where to get these packages), the community is doing it's best to get everything up to date. Just be patient and use the forums and how-tos. There's lots of people here willing to help. :D
Like I said, next time I'll take my own advice and wait a month to upgrade...... :-)
manicka
October 16th, 2005, 09:41 PM
OK, I should have said the 'main part' of the wiki :D
The advice on the wiki looks OK. The important part is following the advice in bold type and making sure that the repo is commented out after use (I wouldn't add the cypherfunk repo to my list either if I was new to ubuntu).
Downloading the individual packages and using dpkg avoids that (in this case).
Better still, following tselliot's how-to avoids the whole process completely :)
angrykeyboarder
October 16th, 2005, 11:15 PM
OK, I should have said the 'main part' of the wiki :D
Aah but the main part of the wiki doesn't really have any documentation/howto type stuff (from the Ubuntu folks) per se. :-)
The advice on the wiki looks OK. The important part is following the advice in bold type and making sure that the repo is commented out after use (I wouldn't add the cypherfunk repo to my list either if I was new to ubuntu).
True. Mixing repos is never a good idea. I learned the hard way a year or so ago with Fedora core. ;-) As soon as I get what I want from a non-offical repo, I comment it out (and check back every so often for updates).
Downloading the individual packages and using dpkg avoids that (in this case).
True. but I find it's easier to manage the packages if I avoid doing "dpkg -i" as much as possible. I've run into less dependancy issues that way.
manicka
October 17th, 2005, 02:02 AM
Debins may interest you
http://programmer-art.org/debins
Panthios
October 17th, 2005, 03:41 PM
I haven't got (K)Ubuntu to play wmv files (media files that normally requires Windows Media Player).
It worked before on my Debian Testing machine with the w32codecs.
Xine just says that the media is encryptet or scrambled.
Help?? I've done exactly what this guide said.
Anyone who got this working?
tseliot
October 17th, 2005, 03:48 PM
I haven't got (K)Ubuntu to play wmv files (media files that normally requires Windows Media Player).
It worked before on my Debian Testing machine with the w32codecs.
Xine just says that the media is encryptet or scrambled.
Help?? I've done exactly what this guide said.
Anyone who got this working?
Try to install "mplayer" (from Synaptic/kynaptic) and use it to play the file
Segovia
October 17th, 2005, 04:23 PM
I haven't got (K)Ubuntu to play wmv files (media files that normally requires Windows Media Player).
It worked before on my Debian Testing machine with the w32codecs.
Xine just says that the media is encryptet or scrambled.
Help?? I've done exactly what this guide said.
Anyone who got this working?
I don't have the win32codecs installed and I'm able to play them just fine using Kaffeine (with xine backend instead of GStreamer). Are you using xine-ui?
Panthios
October 17th, 2005, 05:17 PM
Sorry, it does work! The wmv files I tried out were bad.
Thanks.
DisposableMike
October 20th, 2005, 06:05 AM
Not to insult your intelligence, but be sure to enable DMA on your DVD drive " /sbin/hdparm -d 1 <your device> " to ensure smooth playback.
fut21
October 20th, 2005, 11:00 AM
W32codec is NOT a problem anymore. Add these serveres, from PLF ubuntu, to your source list:
http://wiki.ubuntu-fr.org/doc/plf
manicka
October 20th, 2005, 12:51 PM
PLF have been around for years with mandrake/mandriva.
Now they've started up a Ubuntu repo last week... very interesting
I'd have to say they were a trustworthy source when I used Mandrake, but it's been a while.
fut21
October 20th, 2005, 02:29 PM
If tou have tecknical skills, and want to spent some time making packages, then PLF ubuntu is a good place to do it.
teaker1s
November 3rd, 2005, 03:30 AM
chech out wilki dma
ENABLE DMA AND IT WILL PLAY SMOOTH
ThomThom
November 12th, 2005, 11:39 PM
Is the Totem Movie Player that's installed by default the same as this Totem-Xine you are talking about?
I've installed the W32codec, but I can't play wma files.
tseliot
November 12th, 2005, 11:44 PM
Is the Totem Movie Player that's installed by default the same as this Totem-Xine you are talking about?
I've installed the W32codec, but I can't play wma files.
Totem-Xine is just an engine which Totem uses.
If Totem-xine doesn't work for you:
Open Synaptic and install "Mplayer"
Then open the file in Mplayer
arnieboy
November 13th, 2005, 04:52 AM
the easiest way to install all codecs and get totem running wma files (and get full multimedia in ur breezy box), run the following:
install and run automatix (http://ubuntuforums.org/showthread.php?t=66563).
install options 1,2,12,13,30
Aphorism
November 15th, 2005, 06:15 AM
Okie... first the HOWTO has lost the part on adjusting the config file. Further, it needs to be edited to reflect where those little files are (~/.gnome2/ and .xine respectively)
Now, having said that, I cannot get the blasted totem-xine nor xine to play avi files. It is still failing with the Indeo 4.1 codec not installed. Soooo... if anyone can enlighten me, please let me know...
Here is the sample avi I have been trying to play (which plays fine on 32bit land):
http://www.engr.colostate.edu/me/facil/dynamics/files/flame.avi
Thanks for anyone who can shed a little light.
tseliot
November 15th, 2005, 09:06 PM
Okie... first the HOWTO has lost the part on adjusting the config file. Further, it needs to be edited to reflect where those little files are (~/.gnome2/ and .xine respectively)
That's absolutely true but also absolutely useless. The point is that you have to edit the config file ONLY if you put the codecs in a folder other than the default one, which is /usr/lib/win32.
Now, having said that, I cannot get the blasted totem-xine nor xine to play avi files. It is still failing with the Indeo 4.1 codec not installed. Soooo... if anyone can enlighten me, please let me know...
Here is the sample avi I have been trying to play (which plays fine on 32bit land):
http://www.engr.colostate.edu/me/facil/dynamics/files/flame.avi
Thanks for anyone who can shed a little light.
Try this thing (so as to figure out what kind of problem is yours):
sudo rm -f /usr/lib/win32
Then:
sudo gedit /etc/apt/sources.list
OR
sudo nano /etc/apt/sources.list)
Add the following lines:
## FTP mirror from http://free.fr (french ISP)
deb ftp://ftp.free.fr/pub/Distributions_Linux/plf/ubuntu/plf/ breezy free non-free
deb-src ftp://ftp.free.fr/pub/Distributions_Linux/plf/ubuntu/plf/ breezy free non-free
Then:
sudo apt-get update
sudo apt-get install w32codecs
Then try to play the file.
Aphorism
November 16th, 2005, 05:36 AM
Tried that.
I am currently running the amd64 version on the box I am trying to get the codecs to work. The w32codecs works fine on the 32 bit box, but again, I am trying to get some support in 64 bit land.
Needless to say, the repository in question did not have 64 bit images available.
Thanks for any further help.
tseliot
November 16th, 2005, 03:18 PM
Tried that.
I am currently running the amd64 version on the box I am trying to get the codecs to work. The w32codecs works fine on the 32 bit box, but again, I am trying to get some support in 64 bit land.
Needless to say, the repository in question did not have 64 bit images available.
Thanks for any further help.
I have used Ubuntu 64bit for a while and I know that this method is fundamental because no AMD64 package of w32codecs is available.
Please do the following things:
1)
cd /usr/lib/win32
ls
and post the output
2) Open a supported video file (one which you can play without the codecs)
then:
sudo gedit /home/your_username/.xine/config
and uncomment (i.e. remove the # before the last line) this part:
# path to Win32 codecs
# string, default: /usr/lib/win32
#decoder.external.win32_codecs_path:/usr/lib/win32
i.e.
make it look like this:
# path to Win32 codecs
# string, default: /usr/lib/win32
decoder.external.win32_codecs_path:/usr/lib/win32
Save the file and exit.
Now try to open the file you had problems with before.
Tell me if it works. In that case I would put this step back to the guide.
Aphorism
November 17th, 2005, 03:35 AM
Nope.
The stream 'flame.avi' use an unsupported codec: Video Codec: Indeo Video 4.1 (IV41) Start playback anyway?
And of course, nothing happens. Here are the contents of the good old /usr/lib/win32 directory:
acelpdec.ax lhacm.acm vdowave.drv
alf2cd.acm lsvxdec.dll vid_3ivX.xa
aslcodec_dshow.dll m3jp2k32.dll ViVD2.dll
atrac3.acm mi-sc4.acm vivog723.acm
atrc.so.6.0 msh261.drv vmnc.dll
AvidQTAVUICodec.qtx msms001.vwp voxmsdec.ax
BeHereiVideo.qtx msscds32.ax vp4vfw.dll
CLRVIDDC.DLL nsrt2432.acm vp5vfw.dll
clrviddd.dll qpeg32.dll vp6vfw.dll
cook.so qtmlClient.dll vssh264core.dll
CtWbJpg.DLL QuickTimeEssentials.qtx vssh264dec.dll
DECVW_32.DLL QuickTimeInternetExtras.qtx vssh264.dll
drvc.so QuickTime.qts vsslight.dll
dspr.so.6.0 README vsswlt.dll
iac25_32.ax rt32dcmp.dll wma9dmod.dll
icmw_32.dll sipr.so.6.0 wmadmod.dll
imc32.acm tm20dec.ax wmsdmod.dll
ir41_32.dll tokf.so.6.0 wmspdmod.dll
ir50_32.dll tokr.so.6.0 wmv9dmod.dll
ivvideo.dll tsd32.dll wmvadvd.dll
jp2avi.dll tssoft32.acm wmvdmod.dll
LCMW2.dll tvqdec.dll wnvwinx.dll
LCODCCMW2E.dll VDODEC32.dll
Thanks for your help. I have no idea why it is flunking. Can you make the avi play http://www.engr.colostate.edu/me/facil/dynamics/files/flame.avi ?
bored2k
November 17th, 2005, 04:22 AM
Weird, I downloaded the video and it's loading perfectly here. Try the w32codecs from PLF.
ftp://ftp.free.fr/pub/Distributions_Linux/plf/ubuntu/plf/pool/non-free/w32codecs/
For extra stuff, try installing divx5linux too. http://www.divx.com/divx/linux/
Aphorism
November 17th, 2005, 04:59 AM
Thanks Bored2K, but I am specifically trying to deal with the amd64 distro.
tseliot
November 17th, 2005, 03:57 PM
Nope.
The stream 'flame.avi' use an unsupported codec: Video Codec: Indeo Video 4.1 (IV41) Start playback anyway?
And of course, nothing happens. Here are the contents of the good old /usr/lib/win32 directory:
acelpdec.ax lhacm.acm vdowave.drv
alf2cd.acm lsvxdec.dll vid_3ivX.xa
aslcodec_dshow.dll m3jp2k32.dll ViVD2.dll
atrac3.acm mi-sc4.acm vivog723.acm
atrc.so.6.0 msh261.drv vmnc.dll
AvidQTAVUICodec.qtx msms001.vwp voxmsdec.ax
BeHereiVideo.qtx msscds32.ax vp4vfw.dll
CLRVIDDC.DLL nsrt2432.acm vp5vfw.dll
clrviddd.dll qpeg32.dll vp6vfw.dll
cook.so qtmlClient.dll vssh264core.dll
CtWbJpg.DLL QuickTimeEssentials.qtx vssh264dec.dll
DECVW_32.DLL QuickTimeInternetExtras.qtx vssh264.dll
drvc.so QuickTime.qts vsslight.dll
dspr.so.6.0 README vsswlt.dll
iac25_32.ax rt32dcmp.dll wma9dmod.dll
icmw_32.dll sipr.so.6.0 wmadmod.dll
imc32.acm tm20dec.ax wmsdmod.dll
ir41_32.dll tokf.so.6.0 wmspdmod.dll
ir50_32.dll tokr.so.6.0 wmv9dmod.dll
ivvideo.dll tsd32.dll wmvadvd.dll
jp2avi.dll tssoft32.acm wmvdmod.dll
LCMW2.dll tvqdec.dll wnvwinx.dll
LCODCCMW2E.dll VDODEC32.dll
Thanks for your help. I have no idea why it is flunking. Can you make the avi play http://www.engr.colostate.edu/me/facil/dynamics/files/flame.avi ?
I can play the avi file but I don't know how to help you. I know you're not the only one to have this problem but I haven't found a solution yet. When I used Ubuntu 64bit this worked on my PC so I fear I can't troubleshoot.
TheCondor
November 26th, 2005, 01:58 AM
Hello people :)
I read and followed this guide's instructions and I solved some of my problems so far.
What I wanted to ask though is why whenever i double click on a wmv file i get the following popup box :
The filename "00017796.wmv" indicates that this file is of type "Microsoft WMV video". The contents of the file indicate that the file is of type "Microsoft ASF video". If you open this file, the file might present a security risk to your system.
Do not open the file unless you created the file yourself, or received the file from a trusted source. To open the file, rename the file to the correct extension for "Microsoft ASF video", then open the file normally. Alternatively, use the Open With menu to choose a specific application for the file.
If I rename the file's extension to asf, it works fine. Also, it works by right clicking on the file, selecting open with and then choosing any media player. Ive had this issue since Warty and I just wanted to know why it happens. Im using Breezy at the moment.
Thanks in advance for any help :)
tseliot
November 26th, 2005, 03:00 PM
Hello people :)
I read and followed this guide's instructions and I solved some of my problems so far.
What I wanted to ask though is why whenever i double click on a wmv file i get the following popup box :
The filename "00017796.wmv" indicates that this file is of type "Microsoft WMV video". The contents of the file indicate that the file is of type "Microsoft ASF video". If you open this file, the file might present a security risk to your system.
Do not open the file unless you created the file yourself, or received the file from a trusted source. To open the file, rename the file to the correct extension for "Microsoft ASF video", then open the file normally. Alternatively, use the Open With menu to choose a specific application for the file.
If I rename the file's extension to asf, it works fine. Also, it works by right clicking on the file, selecting open with and then choosing any media player. Ive had this issue since Warty and I just wanted to know why it happens. Im using Breezy at the moment.
Thanks in advance for any help :)
I don't know the reason of the warning. I think it is just a precaution. Don't you worry and enjoy your codecs
TheCondor
November 26th, 2005, 03:12 PM
I don't know the reason of the warning. I think it is just a precaution. Don't you worry and enjoy your codecs
Im not worrying, I was just asking if you knew of a possible reason to bypass it thats all. :razz:
madmusiq
December 1st, 2005, 01:12 AM
great HOWTO. It worked the first time for me with no problem.
Aphorism
December 1st, 2005, 07:57 AM
What architecture are you running? amd64? I would be interested in what you did if you are...
tseliot
December 1st, 2005, 03:14 PM
What architecture are you running? amd64? I would be interested in what you did if you are...
If the question is addressed to me: I used to run Hoary 64bit on my previous computer (and the codecs worked fine) but now I run a 32bit only (mainly because more packages are available for 32bit systems).
duffman25
December 10th, 2005, 01:48 PM
If the question is addressed to me: I used to run Hoary 64bit on my previous computer (and the codecs worked fine) but now I run a 32bit only (mainly because more packages are available for 32bit systems).
Hi
I can't play wma videos with the plf win32codecs package. Does anybody have the same problem?
tseliot
December 10th, 2005, 02:41 PM
Hi
I can't play wma videos with the plf win32codecs package. Does anybody have the same problem?
1) Did you install totem-xine?
2) If you did it then try to install "mplayer" from synaptic or kynaptic or adept.
Then right click on the wma file and select "Open with Mplayer" or "Open with other application" and then select "Mplayer"
Tell me if it works
duffman25
December 10th, 2005, 03:24 PM
1) Did you install totem-xine?
2) If you did it then try to install "mplayer" from synaptic or kynaptic or adept.
Then right click on the wma file and select "Open with Mplayer" or "Open with other application" and then select "Mplayer"
Tell me if it works
I'm was using totem-xine with w32codecs from plf. Wma files didn't work. Then I went to mplayer website, downloaded the lastest codec pack & extracted them to /usr/local/lib/win32/ After that wma file worked. So, I assume, the w32codec pack from plf is missing something...
tseliot
December 10th, 2005, 04:44 PM
I'm was using totem-xine with w32codecs from plf. Wma files didn't work. Then I went to mplayer website, downloaded the lastest codec pack & extracted them to /usr/local/lib/win32/ After that wma file worked. So, I assume, the w32codec pack from plf is missing something...
I did't get it:razz: . I don't know the reason of the problem (which is weird). Thanks for reporting. I hope we can rely on gstreamer 0.10 on Dapper when it's released and avoid to mess with w32codec too much.
izzydahedgehog
December 21st, 2005, 10:46 PM
Is there a way to get VLC to read these codecs?
I installed all the mplayer codecs into the proper location, and mplayer uses them fine, but I wanted to make it so that I only have to use one media player for everything (and I like VLC more). Looking in /usr/lib/vlc, I can't find any obvious place where it might be searching.
Thanks!
kaamos
December 21st, 2005, 10:59 PM
Is there a way to get VLC to read these codecs?
I installed all the mplayer codecs into the proper location, and mplayer uses them fine, but I wanted to make it so that I only have to use one media player for everything (and I like VLC more). Looking in /usr/lib/vlc, I can't find any obvious place where it might be searching.
Thanks!
VLC is a free cross-platform media player.
* It supports a large number of multimedia formats, without the need for additional codecs
* It is available for almost every OS
* It needs little CPU power
:)
izzydahedgehog
December 22nd, 2005, 06:21 PM
Kaamos:
It obviously does need other codecs, because VLC as it stands now won't play .wmv's that mplayer will. I understand that they probably didn't include these for legal reasons, but I was wondering if there was a way that I could get it to use mplayer's codec package.
tseliot
December 22nd, 2005, 06:38 PM
Kaamos:
It obviously does need other codecs, because VLC as it stands now won't play .wmv's that mplayer will. I understand that they probably didn't include these for legal reasons, but I was wondering if there was a way that I could get it to use mplayer's codec package.
Sorry, I really don't know.
Aphorism
December 23rd, 2005, 11:10 AM
Anyone got avi's working on amd64 yet? If so, I'd love to hear about it...
tseliot
December 23rd, 2005, 04:42 PM
Anyone got avi's working on amd64 yet? If so, I'd love to hear about it...
Only wmv9 don't work on AMD64. avi files work in 64bit if you follow my guide
linuxninja
December 23rd, 2005, 07:03 PM
Thanks for all the info on win32 codecs. :KS
tseliot
December 23rd, 2005, 08:42 PM
You're welcome :)
ShirishAg75
December 23rd, 2005, 10:03 PM
Pardon me for barging in like this but does the win32 codecs also include the divx as well as the xvid codecs. I saw in Automatrix 2 different packages for codecs although not sure which one is right.
tseliot
December 23rd, 2005, 10:36 PM
Pardon me for barging in like this but does the win32 codecs also include the divx as well as the xvid codecs. I saw in Automatrix 2 different packages for codecs although not sure which one is right.
w32codecs include divx and xvid. However if you want to watch DVDs you have to install libdvdcss.
If you use Automatix you can install both of them. Don't you worry: Automatix just works :)
elemental666
December 24th, 2005, 01:52 AM
mkay, I got it all working, cept my audio is like 1-3 seconds ahead of the video...
using alsa drivers on a Thinkpad A31...
any suggestions?
tseliot
December 24th, 2005, 12:38 PM
mkay, I got it all working, cept my audio is like 1-3 seconds ahead of the video...
using alsa drivers on a Thinkpad A31...
any suggestions?
That's a gstreamer issue.
Please install "xine" and "totem-xine" from synaptic.
kaamos
December 24th, 2005, 12:51 PM
Kaamos:
It obviously does need other codecs, because VLC as it stands now won't play .wmv's that mplayer will. I understand that they probably didn't include these for legal reasons, but I was wondering if there was a way that I could get it to use mplayer's codec package.
This blog entry has a link to a deb of VLC compiled with wmv9 support, and it worked for me at least. Give it a try.. And sorry for my foolish post earlier.
http://nanocrew.net/2005/09/01/compiling-vlc/
elemental666
December 24th, 2005, 04:34 PM
That's a gstreamer issue.
Please install "xine" and "totem-xine" from synaptic.
Thanks man, all good now.
gangalee
December 29th, 2005, 11:30 PM
Anyone able to view any of these videos in Hoary or Breezy?- http://www.muzikmedia.com/videotop.aspx
Rory
December 30th, 2005, 05:36 AM
.
Rory
December 30th, 2005, 05:49 AM
Anyone able to view any of these videos in Hoary or Breezy?- http://www.muzikmedia.com/videotop.aspx
Yes, I can view them. Adding backports and PLF should do the trick for you:
http://easylinux.info/wiki/Ubuntu#How_to_add_extra_repositories.3F
To install codecs, libdvdcss, real player 10 and just about everything else, follow these instructions:
http://easylinux.info/wiki/Ubuntu#How_to_install_Multimedia_Codecs.3F
This is the new Breezy version of the much loved/hated UbuntuGuide. The difference this time is that ANYONE can made additions/changes to it. It's turning out to be quite the handy documentation.
Enjoy!!
Rory
aj123
January 9th, 2006, 02:55 AM
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/ubuntu/pool/main/w/w32codecs/w32codecs_20050412-0unofficialubuntu2_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/ubuntu/pool/main/libd/libdvdcss/libdvdcss2_1.2.8-1unofficialubuntu3_i386.deb
I did the steps on a fresh install yet totem cannot play any wmv/mp3 files (no decoders to handle the stream). So why is that? I don't want to start messing about with the system as that usually means it get's cluttered up and I only have limited hd space.
I even tried reinstalling totem and then installing the w32codecs again. :(
tseliot
January 9th, 2006, 02:35 PM
I did the steps on a fresh install yet totem cannot play any wmv/mp3 files (no decoders to handle the stream). So why is that? I don't want to start messing about with the system as that usually means it get's cluttered up and I only have limited hd space.
I even tried reinstalling totem and then installing the w32codecs again. :(
install "totem-xine" from Synaptics
aj123
January 9th, 2006, 04:46 PM
Thank you. It works now. I just wish I understood why.
tseliot
January 9th, 2006, 05:13 PM
Thank you. It works now. I just wish I understood why.
You were supposed to read the entire guide.
Anyhow Totem-xine is the xine engine for Totem. Xine uses the w32codecs. Gstreamer (the other engine you were using) has its plugins (and codecs are included in its plugins)
dcstar
February 9th, 2006, 10:51 PM
W32codec is NOT a problem any more. Add these servers, from PLF ubuntu, to your source list:
http://wiki.ubuntu-fr.org/doc/plf
One thing I found on my system installing the w32codec package from this site was that all the codecs were actually installed in /usr/lib/codecs, but my /usr/lib/win32 directory was empty.
As root I deleted /usr/lib/win32 and then manually made a link from that name to /usr/lib/codecs, then it all was fine and Totem (using totem-xine) played all the stuff it should have.
gabbar_singh
April 5th, 2006, 12:30 AM
I have amd64. How do I make it work?
tseliot
April 5th, 2006, 06:05 AM
I have amd64. How do I make it work?
The method works also on AMD64. However you won't be able to play wmv9.
cberman
April 5th, 2006, 06:47 AM
Okay, so I got Xine working (its quite nice, and thank you so much -- your kernel compilation and nvidia driver howto's both worked for me). Only issue is totem... it players the video it didn't used to but there's still no sound. Everything else has sound working including running the system tests with Cedega. no sound at all from totem.... Any ideas? Anyone know?? I installed the win32codecs as well as whatever was in mplayerhq's essentials pack newest to todays date. Thanks!
****UPDATE**** okay so i just noticed that some videos play fine with sound but there are still a few that work fine through XINE and not totem. Also I've noticed with both totem and xine the sound comes unsynced from the video. am i crazy?
****UPDATE AGAIN***** YES!!! TOTEM-XINE FOR THE WIN! sorry to waste forum space =P I have a question about cedega performance but ill take that to your nvidia guide, thanks!
craftywizard
April 11th, 2006, 07:18 PM
For some reason whenever I type those commands I get "cannot access archive: no such file or directory". I've tried other ways of getting the compressed files into the /usr/lib/win32, but totem player still won't play my avi's.
tseliot
April 12th, 2006, 06:08 PM
For some reason whenever I type those commands I get "cannot access archive: no such file or directory". I've tried other ways of getting the compressed files into the /usr/lib/win32, but totem player still won't play my avi's.
Can you explain you problem more in detail?
issueperson
April 18th, 2006, 01:57 AM
We are encouraging people to not use this repo as it will cause serious damage to your system.
why doesn't a mod just get rid of this thread then? it messed up my sources list. wasn't hard to fix... but yeah.
issueperson
DavidFourer
April 19th, 2006, 04:59 AM
On some videos I'm getting no sound. On others the picture and sound are good but there is a minor problem with synchronization.
For example, today I'm getting New York Times web site videos with sound but Washington Post web site videos still have no sound. The video sample at:
http://www.engr.colostate.edu/me/facil/dynamics/files/flame.avi
is playing but no sound. When I click on the link, it plays in MPlayer plug-in for firefox. Can I make it play in something else?
MPlayer started working with sound in New York Times web site video before I loaded the win32 codecs or xine-ui or tetem-xine. I had just installed Mozilla-MPlayer with Synaptic but no codecs.
I have a real hard time knowing what is going to run, whether it knows about the codecs, what format the video is in, etc. I'm inexperienced with video. I can launch xine-ui and totem-xine OK but don't have files to test them with. (xine-ui does not appear in the Applications menu in Ubuntu, but I launched it from Terminal)
I mostly view videos on-line, preferrably in the browser plug-in. So far I only know how to view these with the Mozilla/Firefox plug-in, which is not xine but MPlayer.
Does anyone recommend some how-to's for background reading?
Thanks
drytear
May 5th, 2006, 06:39 PM
i installed the codesc but when i open movies in totem it will only play the audio of the movie .. no video .... what should i do? help :)
tseliot
May 5th, 2006, 07:27 PM
i installed the codesc but when i open movies in totem it will only play the audio of the movie .. no video .... what should i do? help :)
Install Automatix (you can find it on this forum)
rajaiskandarshah
May 11th, 2006, 06:56 PM
ok worked for me on an amd pc and celeron notebook.
dont mind me, this is just me tracking useful stuff i have found from this forum.
davidyin
May 12th, 2006, 01:28 AM
It is good for the newbie like me.
Thnk you.
4ebees
May 12th, 2006, 01:16 PM
Hi all,
Without being aware of all the politics behind all this (well, to an extent the issues relating to the proprietary nature of some elements I have some comprehension of), I have found the following site useful in setting up 5.10:
http://easylinux.info/wiki/Ubuntu#How_to_install_Multimedia_Codecs
dpm
June 27th, 2006, 05:29 PM
Having read this thread and the "restricted formats" ubuntu wiki page, I've got a question:
I am more or less aware of the legal issues of using the codecs hosted at the websites indicated (http://www4.mplayerhq.hu/homepage/design7/dload.html or http://www.debian-multimedia.org/), but what about distributing Windows binaries for free?
Will the webmasters of those sites not run into legal troubles by making win32 binaries available to everyone?
walkerx
June 27th, 2006, 09:44 PM
thanks for this how to
i tried this because i had issues with kaffeine not decoding the audio for my dvb-t stream, but it didn't make any difference.
It did make the audio for my xvid files work, everything else was fine
In the end I got the audio for my dvb-t stick working by following the automatix thread
regards
walkerx
SonWon
October 4th, 2006, 03:32 PM
Any ideas why Paul Harvey will not play? I have the W32 codecs installed. I am using Dapper Drake with Firefox and Totem. You can try for yourself at www.paulharvey.com, jus click on the day of the week name to play.
Thank you,
SonWon
Flawed77
October 23rd, 2006, 11:10 PM
Thanks, TS. This helped me more than anything else that I've been able to find on the subject. I was thinking for awhile that it was going to be impossible for someone like me (new to Ubuntu) to install such codecs with such ease. Thank you kindly.
agenkin
November 21st, 2006, 06:00 AM
How much of this HOWTO is still relevant for the Ubuntu Edgy, 1 year past the article was written?
Thanks!
OmegaNine
November 24th, 2006, 11:30 AM
Just get the ALL, it has more codecs and its only like 3 megs more.
http://www3.mplayerhq.hu/MPlayer/releases/codecs/all-20060501.tar.bz2
charliebrownau
July 12th, 2008, 09:54 PM
Is there any quick and easy way without needing
a billion files using apt-get to just
add XviD video codec and MP3 sound codec
to Ubuntu Linux without using these AIO codec packs ?
Or am I asking the impossible ?
On Windows I have a small XviD Codec install file
which gets me up and running and I use Portable MPC
to play back the files
narutoxela
February 1st, 2009, 08:02 PM
What about .mp4 .m4v .flv...
4ebees
February 4th, 2009, 12:04 AM
Have a look here:
http://www.ubuntugeek.com/install-mplayer-and-multimedia-codecs-libdvdcss2w32codecsw64codecs-in-ubuntu-804-hardy-heron.html
Check under:
Install libdvdcss2 and w32 video codecs in Ubuntu 8.04 (Hardy Heron)
Or, whack a disk in your machine and try to play an audio file (windows anything or quicktime). You'll be asked if you want to install the appropriate codecs.
4ebees
February 4th, 2009, 12:05 AM
edited due to double posting
Deardead
November 4th, 2009, 11:00 AM
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
Ok..some problem remain.. files *.wma even in rhytmbox play "NOPROBLEM"..BUT!!! Some *.wma -refuse!!! How can I play these files? May I send "good" and "bad" files to you ?
Powered by vBulletin® Version 4.2.2 Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.