Install Mplayer and Multimedia Codecs (libdvdcss2,w32codecs,w64codecs) on ubuntu 11.10 (Oneiric)

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 11.10 (Oneiric)

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


Install w32 video codecs and libdvdcss2 in Ubuntu 11.10

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

10 Responses

  1. ace says:

    awesome, retweeted.

  2. FedeleP says:

    You could also use BleedingEdge and install the same codecs with a few clicks.

  3. dakira says:

    Actually the only reason to use this repo is if your soundcard doesn’t work and you need the alsa-firmware.

    If you need codecs, just install ubuntu-restricted-extras which is in the repos. I don’t see anything else you might need from this outdated repo.

  4. J says:

    sudo apt-get install mozilla-mplayer
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    E: Unable to locate package mozilla-mplayer

  5. Nate says:

    Thank you so much. I couldn’t get the instruction from to work. This is gold. Much appreciated.

  6. Tiyezx says:

    Installing CODECs from ubuntu-restricted-extras didn’t work for me.
    $ sudo apt-cache policy w32codecs
    was showing that the w32codecs were still not installed

  7. iscrunchywithketchup says:

    Sweet! You can also use Movie Player once these codecs are installed.

  8. clover says:

    Doesn’t work.
    Mencoder gives an error saying that the tags are not linked. I believe everyone running amd64 is having the same problem, judging from the searchers on google.

    relocation error: /usr/lib/ symbol ff_codec_bmp_tags, version LIBAVFORMAT_53 not defined in file

  9. Outback says:

    Thank you

  10. Lisa Rudisill says:

    Doing a TV show. Need codecs working to export video to mpeg2 or avi format from OpenShot video editor, not just to PLaY videos…It’s not working for me

Leave a Reply

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