-2

What is the easiest way to install all the media codec available for Ubuntu? I am having issues with multiple applications prompting me to install codecs before they can play my files.

amanthethy
  • 1,251

2 Answers2

2

If you are missing Codecs, you can try this command:

sudo apt-get update && sudo apt-get install ubuntu-restricted-extras

That should install the missing packages for multimedia.

amanthethy
  • 1,251
AllGamer
  • 1,197
  • murtaza@murtaza-Presario-CQ57-Notebook-PC:~$ sudo apt-get install ubuntu-restricted-extras Reading package lists... Done Building dependency tree
    Reading state information... Done E: Unable to locate package ubuntu-restricted-extras murtaza@murtaza-Presario-CQ57-Notebook-PC:~$
    – Murtaza Moiz Aug 07 '14 at 16:21
  • I edited this with a revised command for you to try. – amanthethy Aug 08 '14 at 00:33
1

MP3 is an audio format. Ubuntu can play both out of the box. Use Rhythmbox Music Player for audio and Ubuntu's default video player.

You can also use VLC which plays both.

Eliah Kagan
  • 117,780
xyz
  • 1,786
  • 1
  • 12
  • 22
  • But I am not able to install VLC media player, say 'code' Package dependencies couldn't be resolved 'code' – Murtaza Moiz Aug 07 '14 at 15:27
  • Alternatives like VLC media player and Rhythmbox Music Player – Murtaza Moiz Aug 07 '14 at 15:28
  • Correct Ubuntu plays all the popular media formats out of the box, if you don't like the default players, there are many other alternatives like Gnome Player, SM Player, Audacious, XBMC, etc. That's just a small sample of the popular ones, there are of course many many more to choose from. – AllGamer Aug 07 '14 at 15:37
  • I am looking for alternatives because I am having trouble in installing VLC and while running MP3 files from Rhythmbox player, it says, to install codecs, – Murtaza Moiz Aug 07 '14 at 15:41