Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Where do I get the MPEG-4 AAC decoder, and the H.264 decoder.

How to install them and play the multimedia?

share|improve this question
Have you tried sudo apt-get install ubuntu-restricted-extras? – Peachy Nov 8 '12 at 3:55
@Peachy why don't you add that as an answer? – devav2 Nov 8 '12 at 4:07

ubuntu-restricted-extras package allows users to install ability to play popular non-free media formats, including DVD, MP3, Quicktime, and Windows Media formats.

To install ubuntu-restricted-extras package:

  1. Open a terminal by pressing Ctrl+Alt+T.

  2. Run this command:

    sudo apt-get install ubuntu-restricted-extras
  3. Alternatively, you can install the package via Software Center by launching it via Dash and searching the package and clicking on Install.

    enter image description here

Also, try installing libavcodec54 libav-tools and ffmpeg with this command:

sudo apt-get install libavcodec54 libav-tools ffmpeg
share|improve this answer

Support to decode MPEG-4 AAC is provided by gstreamer1.0-libav and to decode H.264 there is gstreamr0.10-ffmpeg:

$ sudo apt-get install gstreamer1.0-libav gstreamer0.10-ffmpeg

For more information have a look at the Ubuntu Documentation.

share|improve this answer

In the last Ubuntu ver 14.04 , 14.10 the best way for setup them is :

To install ubuntu-restricted-extras package:

Open a terminal by pressing Ctrl+Alt+T.

sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update
sudo apt-get install ffmpeg gstreamer0.10-ffmpeg libavcodec-extra-53 libavcodec53

and N-joy

share|improve this answer

protected by Community Dec 27 '13 at 14:42

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.