Building CEF For WPF To Use Propriety Codecs

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 9

Building CEF for WPF

to use Propriety
Codecs
CEF & CEFSharp 99+
1. Install Git (Skip if already installed)
2. Install Python 2.7.10 or above from:
https://www.python.com/downloads/
3. Add Python to System Path variables

A) Windows Key + S, type in Edit System, click on Edit The


System Environment Variables.
B) Click on Advanced Button.

C) Clicking on the Environment Variables button on the


bottom right.
D) In the System variables section, selecting the Path
variable and clicking on Edit. The next screen will show
all the directories that are currently a part of the PATH
variable.
E) Clicking on New and entering Python’s install directory.

4. Install build prerequisites for your operating system and


dev environment. Check following link for Windows Pre-req:
http://www.chromium.org/developers/hot-tos/build-
instructions-windows
5. Download following python script which automatically
downloads all chromium dependent projects instead of manual
download.
http://bitbucket.org/chromiumembedded/cef/raw/master/tools/a
utomate/automate-git.py
6. On main hard drive, create folder CEF3. Inside CEF3, create
folder Automate. Place downloaded automate-git.py inside the
CEF3\Automate folder.
7. Open Notepad++ or Windows Notepad and create
CreateCefx64.bat inside CEF3 folder:

set GN_DEFINES=is_official_build=true
proprietary_codecs=true ffmpeg_branding=Chrome
set GYP_MSVS_VERSION=2019
set CEF_ARCHIVE_FORMAT=tar.bz2
python automate\automate-git.py --download-dir=CEF3\
chromium_git --branch=4844 --minimal-distrib --client-
distrib --force-clean --x64-build
8. Ensure you have the same VC++ Redistributable. Typically,
4.5.2~4.8.

Page | 2
9. Run Command Prompt through Administration Mode, type in:
10. Execute CreateCefx64.bat
11.

Page | 3
12.

Page | 4
Page | 5
Page | 6
Page | 7
Page | 8
Page | 9

You might also like