user3090223
user3090223

Reputation: 71

How can cef support H.264 and flash?

I'm now developing an app with cef3 for Windows. I know that chromium has just dropped supprort for H.264. But is there another way that I can make my application play mp4 and flash video?

Upvotes: 7

Views: 3943

Answers (2)

Eugen
Eugen

Reputation: 567

the options to enable proprietary codecs (i.e. H.264) have been moved.

you can read my answer with all the details.

Upvotes: 1

Cristian Amarie
Cristian Amarie

Reputation: 160

You need to reconfigure CEF build with at least

GYP_DEFINES="proprietary_codecs=1 ffmpeg_branding=Chrome"

The full GYP_DEFINES is

GYP_DEFINES="branding=Chromium buildtype=Official proprietary_codecs=1 ffmpeg_branding=Chrome", GYP_GENERATORS="ninja,msvs-ninja", GYP_MSVS_VERSION="2013"

More info:

https://groups.google.com/forum/#!topic/delphichromiumembedded/8jisGiqxD-Y https://code.google.com/p/chromiumembedded/issues/detail?id=371

You will need license for codecs. Chromium/CEF do not include them for licensing reasons.

Upvotes: 3

Related Questions