Building with H.264 support

333 views
Skip to first unread message

James Willcox

unread,
Feb 3, 2010, 2:12:39 PM2/3/10
to Chromium-discuss
Hi,

I am trying to build Chromium with support for H.264 video support enabled.  AFAICT, it looks like adding ffmpeg_branding=Chrome to the gyp defines should be all that is necessary.  This does build the relevant ffmpeg bits, but I still have no H.264 support in HTML5 videos.  A little help?  What else do I need to do?

Thanks,
James

James Willcox

unread,
Feb 3, 2010, 3:27:52 PM2/3/10
to Chromium-discuss
Of course, shortly after sending this I found out what was going on.  There is a ifdef guard in net/base/mime_util.cc that evidently caused the relevant mime types to be ignored.  Kind of difficult to find.  I wonder, why there is this hard coded list instead of simply asking ffmpeg "can you decode this"?

James

Nico Weber

unread,
Feb 3, 2010, 4:10:11 PM2/3/10
to sn...@snorp.net, Chromium-discuss
Hi,

I don't know, but since this is a pretty developement-level question,
you might get a better answer on chromium-dev.

Nico

> --
> Chromium Discussion mailing list: chromium...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-discuss
>

Eric Roman

unread,
Feb 3, 2010, 8:38:07 PM2/3/10
to sn...@snorp.net, Chromium-discuss
On Wed, Feb 3, 2010 at 12:27 PM, James Willcox <sn...@snorp.net> wrote:
Of course, shortly after sending this I found out what was going on.  There is a ifdef guard in net/base/mime_util.cc that evidently caused the relevant mime types to be ignored.  Kind of difficult to find.  I wonder, why there is this hard coded list instead of simply asking ffmpeg "can you decode this"?



On Wed, Feb 3, 2010 at 2:12 PM, James Willcox <sn...@snorp.net> wrote:
Hi,

I am trying to build Chromium with support for H.264 video support enabled.  AFAICT, it looks like adding ffmpeg_branding=Chrome to the gyp defines should be all that is necessary.  This does build the relevant ffmpeg bits, but I still have no H.264 support in HTML5 videos.  A little help?  What else do I need to do?

Thanks,
James

Reply all
Reply to author
Forward
0 new messages