Ubuntu – How to get H.264 support

html5

Canonical Limited is shown as a licensee of H.264. I am interested in being able to play H.264 video online when using the Chrome web-browser in Ubuntu (and in the future on Firefox when Firefox supports H.264).

Is H.264 support enabled on self-installs of Ubuntu? If not, is there some way I can buy H.264 support for my Ubuntu install? Assume a scenario where I self-installed Ubuntu on a computer that came pre-installed with Windows OS. I'd like to know any and all options available to me for getting H.264 to work on Ubuntu.

Best Answer

The ubuntu-restricted-extras has all the multimedia decoding packages in and working for me on the decoding end. And chromium automatically used the ffmpeg plug-in.

If there are packages in restricted-extras you are sure you don't want you could try just
chromium-codecs-ffmpeg-extra from the Software Center:

Install via the software center

Or in Terminal:

sudo apt-get update
sudo apt-get install chromium-codecs-ffmpeg-extra

Just to be sure it makes it in to chromium and you don't just get the codec.

Related Question