December 15, 2007 · 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 Gutsy Gibbon Feisty Fawn

You need to add the following lines to /etc/apt/sources.list file or you need to make sure you have enabled Universe and multiverse repositories in /etc/apt/sources.list file

gedit /etc/apt/sources.list

enter these two lines and save your file

deb http://archive.ubuntu.com/ubuntu gutsy universe multiverse
deb-src http://archive.ubuntu.com/ubuntu gutsy universe multiverse

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

if you want to open mplayer just type

gmplayer

or

You can Open from Applications—>Sound&Video—> Mplayer Movie Player

Once it opens you should see the following screen

Installing libdvdcss2 and w32 video codecs in Ubuntu Gutsy Gibbon

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.

For Ubuntu Gutsy Gibbon Users run the following command

sudo wget http://www.medibuntu.org/sources.list.d/gutsy.list -O /etc/apt/sources.list.d/medibuntu.list

Now you need to copy the key using the following command

wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add --

Update the source list using the following command

sudo apt-get update

Install Codecs using the following command

sudo apt-get install w32codecs libdvdcss2

Using above download locations you can install most of the mutimedia codecs for ubuntu.

sudo apt-get update

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

Sponsored Link

Incoming search terms:

Related posts

18 Comments to “Install Mplayer and Multimedia Codecs (libdvdcss2,w32codecs) in Ubuntu 7.10 (Gutsy Gibbon)”

  1. Meneer R says:

    You claim this also supports RealMedia files.

    But that seems broken with Medibuntu/Gutsy.
    I’m not sure why.

    Have you tested it? Or did you just assume it still worked?

    [Reply]

  2. amit says:

    thanx for the info.

    [Reply]

  3. Kik says:

    Yes, you can also view RealMedia files with it :P.
    Thanks to this tut I’m able again to watch anime ^^.

    [Reply]

  4. louisburger says:

    Hi Folks. Have used this info to try to install the codecs . All goes well until I get to

    Install Codecs using the following command
    sudo apt-get install w32codecs libdvdcss2

    Then the following message comes up in my terminal:

    E: Could not open lock file /var/lib/dpkg/lock – open (13 Permission denied)
    E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

    I am logged in to my installation account { I haven’t set up another user account yet as I am trying to get this system up and running , so I presume I must be root user). Any clues? I am a relative newbie at using command terminal. Finally figured out why my password didnt show up in it . Now I am working on this project.
    Any help would be appreciated.
    P.S. WINDOZE sucks..lol

    [Reply]

  5. tuxman says:

    louisburger- make sure you don’t have package manager running when you do a dpkg or apt-get. package managers lock the file mentioned

    [Reply]

  6. knuwe1 says:

    louisburger – please try “sudo su” + userpassword. That should grant you root permissions.

    [Reply]

  7. Sam says:

    Somehow I got the following error with sudo apt-get install mplayer

    The following packages have unmet dependencies:
    mplayer: Depends: libartsc0 (>= 1.5.0-1) but it is not installable
    Depends: libaudio2 but it is not installable
    Depends: libmad0 (>= 0.15.1b) but it is not installable
    Depends: libmpcdec3 but it is not installable
    Depends: libungif4g (>= 4.1.4) but it is not installable
    Depends: libxvmc1 but it is not installable
    E: Broken packages

    [Reply]

  8. admin says:

    @sam

    try to run the following command this should fix the errors

    sudo apt-get -f install

    [Reply]

  9. stevec says:

    Sorry my admin mate, I tried that command (I assume you meant to add “mplayer” on the end), and get exactly the same errors??
    any thoughts?

    [Reply]

  10. Culex says:

    He meant without mplayer at the end.

    Running the command:

    sudo apt-get -f install

    Will run through the packages and check for any breakage, hopefully prompting you to fix it on the way.

    [Reply]

  11. Rajiv says:

    Hi

    I have the same issue as Sam. I did a
    sudo apt-get -f install but that didn’t help either. I get:

    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

    [Reply]

  12. thatgeekguy says:

    wow!!

    it works perfectly fine and plays real media files flawlessly
    no need for real player

    [Reply]

  13. coolfusion says:

    thanks man its working !

    [Reply]

  14. ginger says:

    I get the following error when trying to install the codecs. Please help me out.
    $ sudo apt-get install w32codecs libdvdcss2
    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package w32codecs is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package w32codecs has no installation candidate

    [Reply]

  15. akash says:

    i am using totem player
    when i am playing a sound file no sound is cuming but its running..
    plz help me i am a new user to ubuntu 8.04

    [Reply]

  16. KillmySelf says:

    So sorry to tell you this, but all these are scrap, It didn’t help most newbies of linux out there, and one of that newbies is me. I want to install all this application, but I didn’t have any network connection here at my home. So, all I can do is by downloading the sources packages one by one, but I didn’t have deep knowledge about this. Can you help on these please?
    I want to install all the codecs such as win32 and libdvdXXX like that, since I have a lot of .avi movie files and Divx movie too.
    I’m using ubuntu 8.04 and running on intel core duo 2.0

    [Reply]

  17. Domain says:

    I’m using Mplayer before on my ubunto 7.10, but now I shifted to VLC player. This is way better I think than the Mplayer (that is based on my experience.:) )

    [Reply]

  18. Josue says:

    I want to watch a movie that i have on a cd, i’ve tried installing libdvdcss2 from ubuntu software center, from synaptics package manager, from command line, but i still can’t watch :| any ideas why? :'(

    [Reply]

Leave a Reply