A
A
Alex2020-12-05 22:49:22
C++ / C#
Alex, 2020-12-05 22:49:22

How to build CefSharp with h264 codec and include it in a Visual Studio project?

Hello! There is an instruction for building CEF with h264 codecs
And I also found an instruction about new parameters in create\update:

create\update code
update.bat:
set CEF_USE_GN=1
set GN_DEFINES=is_official_build=true proprietary_codecs=true ffmpeg_branding=Chrome
set GN_ARGUMENTS=--ide=vs2019 --sln=cef --filters=//cef/*
python ..\automate\automate-git.py --download-dir=C:\code\chromium_git --depot-tools-dir=C:\code\depot_tools --no-distrib --no-build

create.bat:
set CEF_USE_GN=1
set GN_DEFINES=is_win_fastlink=true proprietary_codecs=true ffmpeg_branding=Chrome
set GN_ARGUMENTS=--ide=vs2019 --sln=cef --filters=//cef/*
call cef_create_projects.bat

There was a question after step 7 (creating projects for VS and Ninja) on bitbucket I don’t quite understand how to compile cef and then add it to the Visual Studio project. Can anyone perform the assembly and tell me what to do next?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question