Install Mplayer and Multimedia Codecs (libdvdcss2,w32codecs) in Ubuntu Feisty Fawn
Sponsored Link
Install Mplayer in Ubuntu Feisty Fawn
You need to add the following lines to /etc/apt/sources.list file or you need to make sure you have enabled Universe and multiverse repositories in /etc/apt/sources.list file
gedit /etc/apt/sources.list
enter these two lines and save your file
deb http://archive.ubuntu.com/ubuntu feisty universe multiverse
deb-src http://archive.ubuntu.com/ubuntu feisty universe multiverse
Now you need to run the following command to update the source list
sudo apt-get update
Install mplayer using the following command
sudo apt-get install mplayer
if you want to open mplayer just type
gmplayer
or
You can Open from Applications—>Sound&Video—> Mplayer Movie Player
Once it opens you should see the following screen
Installing libdvdcss2 and w32 video codecs in Ubuntu Feisty Fawn
Support for WMV, RealMedia and other formats has been bundled into the w32codecs package. This package is not available from the Ubuntu repositories due to licensing and legal restrictions.
Edit /etc/apt/sources.list file and enter the following repositories save and exit the file
sudo gedit /etc/apt/sources.list
For Ubuntu Feisty Fawn Users
deb http://medibuntu.sos-sts.com/repo/ feisty free non-free
deb-src http://medibuntu.sos-sts.com/repo/ feisty free non-free
Now you need to copy the key using the following command
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add --
Update the source list using the following command
sudo apt-get update
Install Codecs using the following command
sudo apt-get install w32codecs libdvdcss2
Using above download locations you can install most of the mutimedia codecs for ubuntu.
sudo apt-get update
Mplayer Plugin for Firefox
If you want to install Mplayer with plug-in for Mozilla Firefox run the following command
sudo apt-get install mozilla-mplayer
i used
01. main menu > add/remove, clicked on ‘preferences’ and enabled the first four options which include restricted and multiverse. as also the ‘third party’ tab and enabled the medibuntu sources. then closed the preferences.
02. then clicked on ‘sound and video’, scrolled down and enabled all the gstream plug ins, that include mp3, mpeg, divx, etc.
03. using the built-in Totem media player, can play any media file. using amarok, can play all music files in a nice, organized manner.
by doing the above steps, just to get it to play with mplayer, would i ‘break’ or ‘disintegrate’ my installation so maybe it wouldn’t work with totem either?
can’t i just point mplayer to the installed codecs lying on my hard disk?
btw, i installed vlc, and it worked straight outofthebox too.
tia
niyam
Thanks, great guide!
THx for the help. I am anewbie(kinda…have been using ubuntu for under an year now). your tutorial really helped a lot.
THx.
i dont have an internet connection on my ubuntu machine …
please help me with the codecs intallation …. is there any way to download then install it .?
Thanks!
I love the thought of going with an OS that is free, not only free of charge, but free of MS.
However, I am not comfortable with command line entry. I will have to get used to it if I want to run Ubuntu, but your instructions here are better than anything I was able to find on Ubuntu’s website.
This article has been very useful. What most of my friends wants first is to be able to play their music. I use christmas edition of ubuntu and really all the codecs came preinstalled, so this article is just what i need
I followed the instructions but I get this message:
Package w32codecs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package w32codecs has no installation candidate
@#7 sudo apt-get install w64codecs libdvdcss2
for those of us using x64 versions of ubuntu
Now you need to copy the key using the following command
wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add –
Hi, it cam back and said gnh file not found. My work round download the medibuntu-key to desktop then open a terminal cd to desktop and sudo apt-key add and that did it.
2nd hick cbc.ca use only wmv files and fire fox tries to play em in totem.
Firefox/edit/preferences content manage and I can see open wmv open with widow stuff but a lot of things open with flash and Real and that’s ok. A few thins are listed as open with mplayerplug-in 3.31. I could change the win stuff if only I could find where it is. I guess it is not the .so or .xpt stuff in /usr/lib/firefox/plugins?
At last I feel I am getting close to having the CBC news over firefox on an AMD64 Feisty.
Any help most welcome. Regards Ian.
Hi,
On tryigng to get Win 32 codecs i am getting the following error:
root@xyz:/etc/apt# sudo apt-get install w32codecs libdvdcss2
Reading package lists… Done
Building dependency tree… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libdvdcss2: Depends: libc6 (>= 2.5-0ubuntu1) but 2.3.6-0ubuntu20.5 is to be installed
w32codecs: Depends: libc6 (>= 2.5-0ubuntu1) but 2.3.6-0ubuntu20.5 is to be installed
E: Broken packages
How to correct the same?
You need to replace ‘feisty’ with the proper name. You are running dapper or something earlier.
good work by the ubuntu producers….
i like it very much.
but installing the softwares are so difficult….
And for debian etch? How do I do this? This is the last thing I have to do to be done configuring. love the site.
And I have done it. go to this site: http://debian-multimedia.org/. it’s all there.
is ther a way of loadind media codecs if you have no internet.like cut and paste or dowload and run?