How to install mpeg-4 aac and h.264 decoder on Ubuntu 10.10?

67,549

You will have to download codecs. To install the proprietary codecs type the following in a terminal window.

sudo apt-get install gstreamer0.10-pitfdll gstreamer0.10-ffmpeg gstreamer0.10-plugins-bad gstreamer0.10-plugins-bad-multiverse gstreamer0.10-plugins-ugly gstreamer0.10-plugins-ugly-multiverse

Once you have installed these codecs you will be able to play nearly any audio/video format.

I also recommend you to Upgrade to 12.04 LTS.

Share:
67,549

Related videos on Youtube

user481913
Author by

user481913

Updated on September 18, 2022

Comments

  • user481913
    user481913 almost 2 years

    I'm trying to play a video which requires the above mentioned plugins. I've looked at a few answers on this topic here but it hasn't resolved the issue for me.

    What I've tried until now :

    1. sudo apt-get install ubuntu-restricted-extras ... But this one's having some issues and skipping downloading some packages... so the whole thing doesn't get downloaded completely.

    2. I've tried sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe restricted multiverse" to add the above repositories to the ubuntu's source.list for download places but it hasn't helped.

    Anyone knows what else can I try to get this working?

    • Uri Herrera
      Uri Herrera over 11 years
      Ubuntu 10.10 is not supported anymore, please use the latest version 12.10 or 12.04 LTS.
    • NickTux
      NickTux over 11 years
      Difficult to get support for an unsupported version.
    • user481913
      user481913 over 11 years
      @UriHerrera - Do you mean a fresh install of ubuntu 12.10 / 12.04 LTS or do you mean i need to get the codec packages meant for ubuntu's 12.x versions ? I'll need help in the later case as i'm not sure where/how to download them...
    • Uri Herrera
      Uri Herrera over 11 years
      Upgrade your OS, and install the ubuntu-restricted-extras package.
    • user481913
      user481913 over 11 years
      @UriHerrera Can i just run the update to upgrade the OS or does this need a fresh install ?
    • Uri Herrera
      Uri Herrera over 11 years
      I would recommend a fresh install. If you upgrade through the Update Manager you have to go through each release 11.04>11.10>12.04 or 12.10, you can (but shouldn't) skip them.
    • user481913
      user481913 over 11 years
      ok thanks ... i'll set up myself for a couple of hours of time waste ... :)
    • strpeter
      strpeter about 10 years
      This question is based on the question askubuntu.com/q/214421/217269 which was asked before. There are good answers provided too!
  • Uri Herrera
    Uri Herrera over 11 years
    All of them contained in the ubuntu-restricted-extras package..., did you tested this on Maverick? did this worked for you on Maverick?.
  • Mr. Robot
    Mr. Robot over 11 years
    Yeah it did work on Maverick..
  • user481913
    user481913 over 11 years
    @Mukund - I tried the command for trhe 32 bit version, however i encountered the following errors. 1)There are problems and -y was used without --force-yes. So i replaced -y with --force-yes and tried again...This time there's problem downloading certain packages i.e issue no. 2 2)Failed to fetch archive.ubuntu.com/ubuntu/pool/multiverse/g/… 404 Not Found [IP: xxx.xxx.xxx.xxx 80] Try runnning apt-get update or --fix-missing. So what next ?