October 11, 2010 · General · Email This Post

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

or

Click on the following link

apt://mplayer

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

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

apt://mozilla-mplayer

Sponsored Link

Incoming search terms:

Related posts

24 Comments to “Install Mplayer and Multimedia Codecs (libdvdcss2,w32codecs,w64codecs) in Ubuntu 10.10 (Maverick Meerkat)”

  1. dEV says:

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

    [Reply]

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

    [Reply]

  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?

    [Reply]

  4. Kenbo says:

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

    [Reply]

  5. claus says:

    how did u do that, kenbo

    [Reply]

  6. drewsus says:

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

    [Reply]

  7. Jack H. says:

    “E: Unable to locate package mozilla-mplayer”

    What am I doing wrong?

    [Reply]

  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

    [Reply]

  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.

    [Reply]

  10. drewsus says:

    @claus
    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.

    [Reply]

  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

    [Reply]

  12. Greg says:

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

    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

    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.

    [Reply]

  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:
    https://help.ubuntu.com/community/Medibuntu

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

    B is probably easier/less tedious…

    [Reply]

  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!

    [Reply]

  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.

    [Reply]

    Sazawal Reply:

    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.

    [Reply]

  16. wtfUbuntuGeek says:

    Where do I get mozilla-mplayer?
    Only place I could find that has it, Debian archive.
    http://packages.debian.org/search?keywords=mozilla-mplayer
    Will the Iceweasel dependency cause issues?

    [Reply]

  17. new_Ubuntu_user says:

    Hi,
    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…

    Cheers,
    new_ubuntu_user.

    [Reply]

    new_Ubuntu_user Reply:

    FYI
    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.. :(

    New_ubuntu_user…

    [Reply]

  18. 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?

    [Reply]

  19. Greg says:

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

    Go to 11.10 :-P

    [Reply]

    sazawal Reply:

    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.

    [Reply]

    Greg Reply:

    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.

    http://www.addictivetips.com/ubuntu-linux-tips/install-linux-mint-mate-desktop-in-ubuntu-11-10/

    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..

    [Reply]

Leave a Reply