Install Mplayer and Multimedia Codecs (libdvdcss2,w32codecs,w64codecs) in Ubuntu 10.10 (Maverick Meerkat)

Sponsored Link
MPlayer is a movie and animation player that supports a wide range of codecs and file formats, including MPEG 1/2/4,DivX 3/4/5, Windows Media 7/8/9, RealAudio/Video up to 9, Quicktime 5/6, and Vivo 1/2. It has many MX/SSE (2)/3Dnow(Ex) optimized native audio and video codecs, but allows using XAnim’s and RealPlayer’s binary codec plugins, and Win32 codec DLLs. It has basic VCD/DVD playback functionality, including DVD subtitles, but supports many text- based subtitle formats too. For video output, nearly every existing interface is supported. It’s also able to convert any supported files to raw/divx/mpeg4 AVI (pcm/mp3 audio), and even video grabbing from V4L devices.

Install Mplayer in Ubuntu 10.10 (Maverick)

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


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.10 (Maverick)

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$(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

You may also wish to add the following packages. The first will cause many apps from the Medibuntu repository to appear in Ubuntu Software Center (Ubuntu 9.10+) or Add/Remove Applications (versions prior to 9.10). The second will allow users to generate crash reports against Medibuntu packages and submit them to the Medibuntu bugtracker.

sudo apt-get --yes install app-install-data-medibuntu apport-hooks-medibuntu

Please note you may have to use --force-yes instead of --yes in order for this command to succeed.
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


Sponsored Link

You may also like...

24 Responses

  1. dEV says:

    I didn’t think Medibuntu for Maverick had been released yet?

  2. Hi, its not easier to install ubuntu-restricted-extras !? or.. kubuntu-restricted-extras. and so on

  3. Fábio Emilio Costa says:

    Could you help me? I’m with problems involving PSP encoding. I think AAC support was gone away. Any suggestions?

  4. Kenbo says:

    Nice article. However I still needed to install a Front-end for mplayer in order to see it in the menu.

  5. claus says:

    how did u do that, kenbo

  6. drewsus says:

    @ claus and Kenbo:
    sudo apt-get install mozilla-mplayer

  7. Jack H. says:

    “E: Unable to locate package mozilla-mplayer”

    What am I doing wrong?

  8. claus says:

    u probably need to add certain repository from mozilla or mplayer. or u can settle with the packages gnome player and smplayer that u will probably find in synaptic

  9. drewsus says:

    in my reply above I meant to say:
    sudo apt-get install mplayer gecko-mediaplayer gnome-mplayer mplayer-gui
    INSTEAD of:
    sudo apt-get install mozilla-mplayer

    That was for the front end for mplayer. namely the gnome-mplayer package

    as for mozilla-mplayer, I get the same error as Jack H and I need this plugin…
    Currently I am using mozilla-plugin-vlc but it really doesnt cut it. Won’t let me pause, doesn’t show a seeker bar or anything.

  10. drewsus says:

    Well, its listed right in this post as something they installed. So, they must have gotten it to work someone.
    Maybe Im wrong, but the authors of articles on UbuntuGeek don’t seem to reply to the comments much.
    I have main, Universe, Restricted and Multiverse enabled. I also have Canonical Partners and Independent as well as a host of my own selected PPAs. I cannot find one that has mozilla-mplayer.

  11. drewsus says:

    ANYWAY, so, forget mozilla-mplayer.
    Just run the command I mentioned above and you will be able to stream them will nice functionality.
    Again, that command is:
    sudo apt-get install mplayer gecko-mediaplayer gnome-mplayer mplayer-gui

  12. Greg says:

    The GPG wget command didn’t work for me, I took this one from the medibuntu section of

    sudo wget –output-document=/etc/apt/sources.list.d/medibuntu.list$(lsb_release -cs).list && sudo apt-get –quiet update && sudo apt-get –yes –quiet –allow-unauthenticated install medibuntu-keyring && sudo apt-get –quiet update

    It has all the commands anded together, so theoretically it’s the same as the 4 commands given to add the repository here. Only difference is (for me) the write-ups directions do not work while these do.

    The reasoning is that if you’re going to write-out a flag (ie. -y instead of –yes), you need two hyphens in front of it. So “-output-document” should be “–output-document”, and so-on. If you were using the short-hand flags it would be one hyphen.

  13. Greg says:

    Oh, it’s the blog/response’s fault. The website merges double hyphens into single character hyphens – page source puts in one “&#8211” instead of the double hyphen which the bash prompt will not accept. So to fix either:
    A) Type it into the prompt, don’t copy/paste, and when you see a dash before a more than one character flag (ie. –yes), type 2 hyphens explicitly (no spaces), followed by “yes” in the command prompt. Single character flags such as “q” can either have one hyphen (“-q”) or can be written out (“–quiet”) with 2.

    B) Go here:

    Copy/paste the command for adding the repository (first one).

    B is probably easier/less tedious…

  14. DeeK says:

    You people so totally rock! And so does ubuntu!

    Now when I get a new machine, I do not sweat the O/S install, just stick in the cd, wait for boot up, click a few commands, wait a little bit, go do something on the other machine, press “Install”, a few minutes later, brand new O/S full of great open source programs.

    Got a minor problem. type the issue into google, come to a page like this: bingo! problem solved. Time from scratch to a fully functional o/s (including firewall), a few hours.

    Oh, yeah, the 1st medibuntu cmd didn’t work for me either; Greg’s did. Thanks,Greg!

    Oh yeah I think it is so cool hoe ubuntu gets better with each version. Like how while your selecting time zones, it loads files in the background. A great touch that shows how much ubuntu cares about the user.

    finest O/S EVAH!

  15. Siva says:

    Thanks a lot & lot. More than a week i have searched for a solution to play vp7 encoded video. Your blog solved all. Thanks again.

  16. wtfUbuntuGeek says:

    Where do I get mozilla-mplayer?
    Only place I could find that has it, Debian archive.
    Will the Iceweasel dependency cause issues?

  17. new_Ubuntu_user says:

    I have dual boot Win 7 and Ubuntu 10.10 64bit in my Dell XPS 15R.
    however I am not able to play any Video from Ubuntu.I have VLC but it is only playing audio there is no video and while playing video my system stucks it did not responde so I have to forcebly swich-off the system.

    Please help me….
    Many thanks in Advance…


  18. new_Ubuntu_user says:

    I have installed the restricted packages..after that I am able to play MP3 and I can heare the sound while playing the video file but there is not Video.. 🙁


  19. sazawal says:

    I have installed w64codecs along with the mplayer in my 64-bit Ubuntu 10.10 but videos with vp7 codecs doesn’t appear. The sound works perfectly without the video. I did a little search and found that w64codecs lack vp7 codec. Can you help?

  20. Greg says:

    Sazawal, I don’t know, sorry. Never even heard of the VP7 format.

    Go to 11.10 😛

  21. sazawal says:

    Its okay. I don’t think moving to 11.10 would help. Infact, I am thinking to move from ubuntu to some other distro. I do not like the unity toolbar and all that show off.

  22. Greg says:

    If you don’t have a problem with Gnome3, give the latest Mint a try. It’s based on Ubuntu, but you’re not forced to use Unity. Pretty sure you can also work KDE with them (but then again you can also use KDE through Ubuntu).

    It’s going to be hard to switch distros if you want the latest and greatest simply because the newest stuff is the latest and greatest.

    Check that out, MATE is a Gnome2 fork because not everybody is happy with Gnome3 or Unity. Most people who don’t like it switched to XFCE, KDE, or one of the *box distros if you can stand any of them as a daily UI..

  23. Sazawal says:

    Hi Siva. Are you using a 64-bit distro? I need to know if it works on a 64 bit Ubuntu. w32codecs pack which includes vm7 codec anyways work on a 32 bit distro.

Leave a Reply

Your email address will not be published. Required fields are marked *