How to install Mplayer and Multimedia codecs in ubuntu 9.10(Karmic)
Posted Under: General
Mplayer is a popular movie player for Linux that supports reading from network and a wide range of codecs.
Install Mplayer:
Install mplayer in ubuntu karmic is very easy, just need one command in terminal(Applications/Accessories/Terminal):
sudo apt-get install mplayer
Then you can launch this from Applications—>Sound&Video—> Mplayer Movie Player.
Install libdvdcss2 and w32 video codecs:
You need to install w32codecs for playing WMV,RealMedia and other formats files and libdvdcss2 for playing encrypted DVDs.
Use following command to add Medibuntu’s repository.
sudo wget http://www.medibuntu.org/sources.list.d/karmic.list \
--output-document=/etc/apt/sources.list.d/medibuntu.list
Add the keyring:
sudo apt-get update && sudo apt-get --yes -q --allow-unauthenticated install medibuntu-keyring && sudo apt-get update
Install codecs:
for i386 user:
sudo apt-get install w32codecs libdvdcss2
for amd64 user:
sudo apt-get install w64codecs libdvdcss2
Tips:
If encounter:“ Error opening/initializing the selected video_out(-vo) device.”
Try this:
Right click on mplayer window,select “Preferences”.In Video tab/Available drivers,choose “xv”(or try other drivers) and click OK.Log out and back in,and mplayer should work now.

Related posts:
- Install Mplayer and Multimedia codecs in ubuntu 9.04
- Install Mplayer and Multimedia codecs in Ubuntu 10.04(Lucid)
- Add medibuntu sources to install more useful softwares in Ubuntu
- Easy way to install Skype on Ubuntu
- Make your Mplayer Movie Player Vivid with Mplayer Skins

Reader Comments
please i install mplayer to play .mov files by
http://ubuntuguide.net/install-mplayer-and-multimedia-codecs-in-ubuntu-904
it worked in ubuntu 9.04 but now after upgrade to 9.10 it doesn’t work
i tried to remove mplayer and codecs then install them again but noting happening .please i need your help
[Reply]
admin Reply:
November 7th, 2009 at 4:46 am
Hi,x-max! I have the post updated,read the Tips.Hope this helps!
[Reply]
hemant Reply:
March 25th, 2010 at 10:15 am
Hey try it you !!
apt-get install mplayer*
everything would be up and running.
[Reply]
i am so sorry but i tried every one in video tab nothing happened
but i have question in codecs & demuxer tab
in codec video what is the right choose for .mov?
its quick time ?
or what?
[Reply]
It works after choosing the XV option from the preferences..
Thanks for the great help.
[Reply]
Hi, i am a newbie to Linux. Really loving to play and learn Ubuntu. The above instruction really helped me to play my CBT videos. Thanks a lot
[Reply]