Skip to content

AudioVideo

cztomczak edited this page May 25, 2016 · 3 revisions

Audio and Video support

CEF 3

CEF 3 supports WebM & Ogg Theora video codecs. MPEG-4 & H.264 are proprietary codecs and are not included in Chromium builds, as there are licensing issues:

Codecs like MP3 and AAC are included in Google Chrome releases but not Chromium builds. This is because these formats are not open and require licensing. Distributing these codecs with your application without a licensing agreement may violate the law in certain countries. You should discuss with a lawyer if appropriate.

The quote above is from comment #7 in the CEF Issue 371:
"Cannot play proprietary audio or video formats"

Audio support

Open http://html5test.com/ in CEF 3 and go to audio section, results as of cefpython3 v0.12:

audio element - Yes ✔
PCM audio support - Yes ✔
AAC support - No ✘
MP3 support - No ✘
Ogg Vorbis support - Yes ✔
Ogg Opus support - No ✘
WebM support - Yes ✔

Video support

Open http://html5test.com/ in CEF 3 and go to video section, results as of cefpython3 v0.12:

video element - Yes ✔
Subtitle support - Yes ✔
Poster image support - Yes ✔
MPEG-4 support - No ✘
H.264 support - No ✘
Ogg Theora support - Yes ✔
WebM support - Yes ✔

CEF 1

Support for audio & video was removed from CEF 1, see Issue 18.

Clone this wiki locally