How do I add MP3, MP4 and H.264 support to Chromium on Windows?

19

5

Google Chrome on Windows comes with support for the above media formats, however, Chromium does not.

I want to add support for my own personal use, how can I do this?

I know that on Ubuntu this is solvable by installing the chromium-codecs-ffmpeg-extra and chromium-codecs-ffmpeg-nonfree packages, however I didn't find anything for Windows.

Jay

Posted 2013-10-07T17:35:21.537

Reputation: 191

I'm making this comment so that next time I come here I can hopefully notice the k-lite comment (instead of the solved answer below)... – isaaclw – 2016-11-20T19:57:25.867

You have to copy avcodec*.dll files from Chrome installation to Chromium. http://downloadsquad.switched.com/2010/06/24/play-embedded-mp3-audio-files-chromium/ -- I wonder if k-lite codec pack installation would fix this..

– Savvas Radevic – 2013-10-07T17:57:14.783

1@medigeek - Why is that a comment rather than an answer (assuming you have tested it and are confident it solves the problem)? – nerdwaller – 2013-10-07T18:16:32.857

You assume correctly, I don't have a windows pc at the moment :) – Savvas Radevic – 2013-10-07T18:18:26.067

@medigeek - Fair enough. The source seems legit - but fair enough :) – nerdwaller – 2013-10-07T18:22:08.560

4@medigeek - Looks like Chrome no longer uses those av*.dll files, since I'm not seeing them in the folder. Replacing ffmpegsumo.dll (the Chrome version is bigger) also doesn't make a difference. – Jay – 2013-10-07T18:33:43.830

Answers

10

Google has little incentive to support H.264 when they have their own, competing WebM format that they are trying to push. (Haven’t you ever wondered why such a relatively unknown format is one of the formats the YouTube, a Google subsidiary, supports natively?)

Unfortunately, as you have learned, they re-structured Chromium so that you cannot easily drop in H.264 support as you could before. In fact, they have been planning on dropping support for H.264 altogether (even from Chrome) for a couple of years. They plan on switching completely to the WebM by providing WebM plugins for other browsers. (Hopefully they will continue to support JPG and PNG despite trying to push their WebP format.)

What you can try instead, is to use the Microsoft plugin that lets Chromium play H.264 through Windows Media Player. Because it is a plugin, it should still work—unless Google specifically blocked it.

Synetech

Posted 2013-10-07T17:35:21.537

Reputation: 63 242

7Hopefully they will continue to support JPG and PNG .... Haha, +1 – rustyx – 2014-09-06T09:24:33.547

3Windows Media Player HTML5 Extension for Chrome This extension is deprecated and no longer available for download. – hB0 – 2015-07-16T07:53:44.687

2

I don't know how this is done, but Advanced Chrome fork does support MP3/MP4/H.264. Check it out!

user

Posted 2013-10-07T17:35:21.537

Reputation: 853

This is nice... they distibute pre-compiled binaries with no installer. Just unzip and run! Tested h264 support and it works out of the box. – Andy – 2017-11-07T21:35:00.303