Install Mplayer and Multimedia Codecs (libdvdcss2,w32codecs,w64codecs) in Ubuntu 10.04 (Lucid Lynx)
Sponsored Link
Install Mplayer in Ubuntu 10.04 (Lucid)
You have to make sure you have enabled universe,multiverse repositories
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
or
Click on the following link
If you want to open mplayer go to Applications—>Sound&Video—> Mplayer Movie Player
Install w32 video codecs and libdvdcss2 in Ubuntu 10.04 (Lucid)
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.To play encrypted DVDs, the libdvdcss2 package is essential.
The following command adds Medibuntu's repository to Ubuntu. It also adds Medibuntu's GPG key to your keyring, which is needed to authenticate the Medibuntu packages.
sudo wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list --output-document=/etc/apt/sources.list.d/medibuntu.list
sudo apt-get -q update
sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring
sudo apt-get -q update
For i386 Users install Codecs using the following command
sudo apt-get install w32codecs libdvdcss2
For amd64 Users install Codecs using the following command
sudo apt-get install w64codecs libdvdcss2
Using above download locations you can install most of the mutimedia codecs for ubuntu.
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
or click on the following link
I personally recommend installing mplayer-nogui and using gnome-mplayer as a front-end.
for 64bit:
sudo apt-get install gecko-mediaplayer
(mozilla-mplayer does not exists)
When I try to install the firefox mplayer plugin I get this error:
E: Couldn’t find package mozilla-mplayer
Could I be missing a repository somewhere?
Thanks for the great web site, I use many of the tips posted here.
John
or you could just install the packge called non-free-codecs as it will determine your architecture and install 32 or 64 automatically for you without any user input.
I followed your guide but the mplayer isnt showing in applications->multimedia. I dont have a sound & video option
i found how to fix this:
sudo apt-get install mplayer-gui
bye
Very good. This solved my problem.
To add the medibuntu repo just run the command they keep for you right their on their site. Works for all distros and does it all in one “command”
sudo wget –output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo apt-get –quiet update && sudo apt-get –yes –quiet –allow-unauthenticated install medibuntu-keyring && sudo apt-get –quiet update
Yeah looks like mplayer-gui is required now…
Hi,
nice article…
Thank you!!!
WOW how do I rate this 5 *’s ?! A+!
Did not work for me. I am running gnome over a ubuntu server 10.04 LTS. The music stop after few seconds.
I had to install gecko-mediaplayer on a 32-bit install since I got the “E: Couldn’t find package mozilla-mplayer” error.
Hi Pal,
Thanks for such a great post. I am grateful for complete solution posted by you. i am able to run the nugget i wanted to study. Thanks a lot.