Install Mplayer and Multimedia Codecs (libdvdcss2,w32codecs,w64codecs) in Ubuntu 9.10 (Karmic)

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 9.10 (Karmic)

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 9.10 (Karmic)

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

apt://mozilla-mplayer

Sponsored Link

You may also like...

12 Responses

  1. T says:

    Upgraded to Karmic from Jaunty tonight. In Jaunty, I had no problems playing wmv, flv, etc files in MPlayer. After upgrade, I cannot. I tried what is proposed in this article (even tried reinstalling mplayer, w32codecs, etc) with no luck.

    I took a look at medibuntu’s site, and it appears that they do not have the karmic version of mplayer up yet, so I wonder if that’s the reason.

    Any ideas?

  2. T says:

    Nevermind. Turns out I had a problem with my libx264-67 library. I uninstalled it, uninstalled mplayer completely, and reinstalled. Good to go, thanks!

  3. howie says:

    guys, what is with the two dashes on gray background in the commands above? Does it seem correct?

  4. admin says:

    That is only code background for wordpress double dashes so you just use the full command fixed now

  5. GAMaus says:

    There’s an Error in the wget line on the medibuntu repo. delete the Space between

    — and output-document

    This is the corrected line:

    sudo wget http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list –output-document=/etc/apt/sources.list.d/medibuntu.list

  6. yetanothersteve says:

    No need to install libdvdcss from a third party.
    https://help.ubuntu.com/community/RestrictedFormats/PlayingDVDs

  7. stock99 says:

    please remove the space between ‘–‘ and ‘output-document……’

  8. Thanks so much for the tips, I actually need to install Mplayer Plugin for Firefox, now I can watch online TV on my FF 🙂

  9. Don Birdsall says:

    The plugin ‘mozilla-mplayer’ does not get along with the ‘totem-mozilla’ that may be installed by default. Therefore, remove it.

    sudo apt-get remove totem-mozilla

  10. raja says:

    thank you man!
    your instructions worked out to be perfect.

  11. Maxtreme69 says:

    Hi guys, thanx for the links and updates, but i just install karmic from an old cd, was kindoff fedup of XP, and im trouble with video codecs, cant install vlc or mplayer, even after the above steps work fine, still cant get MPlayer in synaptec or software centre. need help. plz. have tried several repositories, but always get a dependency error.

  12. masoud says:

    am using ubuntu 9.10 but i cant play music or watching movie, i need some help

Leave a Reply

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