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

I'm new to Ubuntu and I'm having difficulty watching videos. How can I install the video codecs needed for most video formats?

share|improve this question
up vote 10 down vote accepted

Normally when you install Ubuntu in the installer it asks you to install 3rd party stuff which includes this codecs for video/audio.

Click here: ubuntu-restricted-extras Install ubuntu-restricted-extras

It will ask for some additional dependencies, just say yes. Then click on the apply button. This will install not only the codecs you need but many other things including fonts, flash support and more.

share|improve this answer

Besides, though on Windows platform software called VLC ( VideoLAN Player ) is "codec-less", in Ubuntu world it also removes you from many small glitches inside gnome offered pre-installed players like Rhythmbox and Totem. I might be mistaking, but some of them rely on GStreamer problems.

Consider downloading and using it also, especially if you prefer DVDs and torrents...

I think upstream version was in ubuntu-univerese repozitory, that should be enabled by default in freshly installed Ubuntu OS, so you only have to open Terminal and write this:

sudo apt-get install vlc

Best wishes.

Hope it helps for not only you, but other readers.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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