Page 2 of 2

Re: How to support mp3 and mp4?

Posted: Thu Jun 20, 2019 3:19 pm
by salvadordf
coater wrote: Thu Jun 20, 2019 2:05 pm I completed use v! nearly 16h for X86 build(8G ram).(CEF 74.1.19 Debug_version ) .
Congrats! :D
coater wrote: Thu Jun 20, 2019 2:05 pm I wonder which files I should used to support cef4?
If you used CEF 74.1.19 then you should use the last CEF4Delphi version that used Chromium 74 :
https://github.com/salvadordf/CEF4Delph ... 0.3729.157
coater wrote: Thu Jun 20, 2019 2:05 pm How to find cef version in builds?
The version numbers you gave are the answer : 74.1.19
If I'm not mistaken, the CEF branch and build are defined in some CEF constants.
coater wrote: Thu Jun 20, 2019 2:05 pm I should use release version or debug version?
Always use the RELEASE version. The debug version of the CEF binaries cause many issues.

Re: How to support mp3 and mp4?

Posted: Tue Jun 25, 2019 12:12 pm
by coater
How to share my build? thank you!
3770 release :
X86: 5h
X64: 7h

Re: How to support mp3 and mp4?

Posted: Tue Jun 25, 2019 12:24 pm
by salvadordf
I'm not sure if it's legal to distribute those libraries with proprietary codecs without a license.

If you think you can give a more detailed guide to build them because the official guides might were unclear for Delphi developers please share your knowledge but please, don't use this forum to share the final binaries.

Re: How to support mp3 and mp4?

Posted: Wed Jun 26, 2019 10:31 am
by coater
It is problem!
copy files for cef4
set /p cefpath=[Please set cef source address not end with\]
set /p aimpath=[Please set aim address not end with\]
::release
xcopy %cefpath%\cef_sandbox.lib %aimpath%\
xcopy %cefpath%\chrome_elf.dll %aimpath%\
xcopy %cefpath%\d3dcompiler_47.dll %aimpath%\
xcopy %cefpath%\libcef.dll %aimpath%\
xcopy %cefpath%\libcef.lib %aimpath%\
xcopy %cefpath%\libEGL.dll %aimpath%\
xcopy %cefpath%\libGLESv2.dll %aimpath%\
xcopy %cefpath%\natives_blob.bin %aimpath%\
xcopy %cefpath%\snapshot_blob.bin %aimpath%\
xcopy %cefpath%\v8_context_snapshot.bin %aimpath%\
::release\swiftshader\
xcopy %cefpath%\swiftshader\libEGL.dll %aimpath%\swiftshader\
xcopy %cefpath%\swiftshader\libGLESv2.dll %aimpath%\swiftshader\
::resource
xcopy %cefpath%\cef.pak %aimpath%\
xcopy %cefpath%\cef_100_percent.pak %aimpath%\
xcopy %cefpath%\cef_200_percent.pak %aimpath%\
xcopy %cefpath%\cef_extensions.pak %aimpath%\
xcopy %cefpath%\devtools_resources.pak %aimpath%\
xcopy %cefpath%\icudtl.dat %aimpath%\
xcopy %cefpath%\locales %aimpath%\locales\

Re: How to support mp3 and mp4?

Posted: Wed Jun 26, 2019 4:29 pm
by thefunkyjoint
Would be awesome if CEF4 support mp3 / mp4... Please make it happen :D

Re: How to support mp3 and mp4?

Posted: Fri Jul 05, 2019 2:51 am
by coater
To support HTML5 auto play:

GlobalCEFApp.AutoplayPolicy:=appNoUserGestureRequired ;

https://www.briskbard.com/forum/viewtop ... 830&p=3706

Re: How to support mp3 and mp4?

Posted: Mon Jul 08, 2019 5:25 am
by coater
yolanda wrote: Sat Jul 06, 2019 9:55 pm
coater wrote: Tue Jun 25, 2019 12:12 pm How to share my build? thank you!
3770 release :
X86: 5h
X64: 7h
on my macpro late 2013 with 32gb under 64bit windows 10 (bootcamp) i need 2h for building the 3770 release in x86 and 1:30h for the x64 release. building is done one a attached ssd via usb 3.0.

// yo
Good computer! :lol:

Re: How to support mp3 and mp4?

Posted: Wed Jul 17, 2019 10:30 am
by Chinyaev
Hi guys! I can't compile cef with codecs. Maybe someone will send in a PM? I will be glad of any version. Thanks.

Re: How to support mp3 and mp4?

Posted: Thu Jun 25, 2020 6:29 am
by coater
4103 build:
1.The jumbo build is no longer supported. Please remove any uses of 'use_jumbo_build', 'jumbo_build_excluded', or 'jumbo_file_merge_limit' from your args.gn file and re-run GN.
See //media/media_options.gni:9:1: whence it was imported

so create.bat should be edited.

Code: Select all

 
set GN_DEFINES=is_component_build=true
set  proprietary_codecs=true ffmpeg_branding=Chrome
set GN_ARGUMENTS=--ide=vs2017 --sln=cef --filters=//cef/*
call cef_create_projects.bat
2.
Windows 10.0.18362.0 SDK or higher required. It should be installed before run create.bat.
Lower editon should be uninstalled first!(I didn't try unchecking bebug option)