May 1, 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.04 (Lucid)

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.04 (Lucid)

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

Incoming search terms:

Related posts

14 Comments to “Install Mplayer and Multimedia Codecs (libdvdcss2,w32codecs,w64codecs) in Ubuntu 10.04 (Lucid Lynx)”

  1. I personally recommend installing mplayer-nogui and using gnome-mplayer as a front-end.

    [Reply]

  2. Freed says:

    for 64bit:

    sudo apt-get install gecko-mediaplayer

    (mozilla-mplayer does not exists)

    [Reply]

  3. When I try to install the firefox mplayer plugin I get this error:

    E: Couldn’t find package mozilla-mplayer

    Could I be missing a repository somewhere?

    Thanks for the great web site, I use many of the tips posted here.

    John

    [Reply]

  4. joe says:

    or you could just install the packge called non-free-codecs as it will determine your architecture and install 32 or 64 automatically for you without any user input.

    [Reply]

  5. Pedro says:

    I followed your guide but the mplayer isnt showing in applications->multimedia. I dont have a sound & video option

    [Reply]

  6. Pedro says:

    i found how to fix this:

    sudo apt-get install mplayer-gui

    bye

    [Reply]

  7. Kenny Meyer says:

    Very good. This solved my problem.

    [Reply]

  8. Brett Howard says:

    To add the medibuntu repo just run the command they keep for you right their on their site. Works for all distros and does it all in one “command”

    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

    [Reply]

  9. SilverWave says:

    Yeah looks like mplayer-gui is required now…

    [Reply]

  10. Florian Hueppeler says:

    Hi,

    nice article…
    Thank you!!!

    [Reply]

  11. linuxrawkstar says:

    WOW how do I rate this 5 *’s ?! A+!

    [Reply]

  12. orl says:

    Did not work for me. I am running gnome over a ubuntu server 10.04 LTS. The music stop after few seconds.

    [Reply]

  13. rdj says:

    I had to install gecko-mediaplayer on a 32-bit install since I got the “E: Couldn’t find package mozilla-mplayer” error.

    [Reply]

  14. Durga Dutt Singh says:

    Hi Pal,

    Thanks for such a great post. I am grateful for complete solution posted by you. i am able to run the nugget i wanted to study. Thanks a lot.

    [Reply]

Leave a Reply