-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BLUI With CEF support ffmpeg_branding and properietary_codecs - Live stream videos #72
Comments
Hello Sorry for not responding. This was a little old project. so ma not sure this is working or not for now. Anyhow please use this guideline and if there is any trouble, let me know it. Regards |
Hi,
Thanks for the quick response.
Followed your script with the latest version - worked perfectly (took a
while though).
You said that you compiled the cefsimple with the BluBrowser repository
using Ninja,
What was the code changed and why ?
And why not using VS to compile the cef?
Hope you are Ok with all of my questions - I'm not that familiar with this
compilation process..
Thanks again,
Peleg
|
Hello
I am happy it worked well in your side.
What was the code changed and why ?
in my memory, i changed some codes as followings;
browser->SendProcessMessage() => browser->GetMainFrame()->SendProcessMessage
frame->LoadString() => frame->LoadURL(test_runner::GetDataURL(ss.str(), "text/html"));
And why not using VS to compile the cef?
The cef is the Chromium project and it uses ninja instead of Visual Studio. i think it is similar with almost of all cross platform support open source libraries are using cmake, makefile or etc.. by using ninja, it fetches their own developer tools from online and by using it, it compiles the CEF librarires.
Regards
|
Thx @TopDeveloper-333
About the code change, in the end I figured it out from your
previous message.
But as for the ninja compiler, I didn't get it - should I use a simple
"ninja -C out\Debug_GN_x64 cefsimple" command after I copy the BluBrowser
files. Or should I change the ninja file that is building the cefsimple so
it will build it as blu_ue4_process.exe?
Peleg
|
cefsimple was the project name in the code repository, so i think it could be a little complex to change it in ninja file. Also that ninja commands 's meaning is to compile CEF library and its example codes which are independent with blu_browser source code, so i am worried it could be not good about the meaning to change "cefsimple" to "blue_ue4_process"...
|
Ok got it, |
well.. i think you compiled the cef library successfully and get some result files.
after that you can copy and paste include, lib, shipping directories from output result files inside BLUI/ThirdParty/cef/Win directory inside BLUI source code.
|
Nope, just copying those files didn't worked. are you sure this is it ? no need to compile the CefSimple/blu_ue4_process? |
[cid:79112d6b-7864-49a9-8112-ff9b039f2c99]
The above image is the screenshot for my past project.
|
Can't access to the Image |
Sorry for all of my questions - but I really don't understand. I see in the image that you did compiled the blu_ue4_process.exe |
1. After CEF compilation
2. Copy BluBrowser -> CEF/tests/cefsimple directory
3. Modify cef/cef_paths2.gypi file, indicates blubrowser files for cefsimple
4. Compile
4.1 without toolchain update
# set DEPOT_TOOLS_WIN_TOOLCHAIN=0
4.2.recompile cefsimple
# ninja -C out\Debug_GN_x64 cefsimple
5. fix the source code
5.1
browser->SendProcessMessage() => browser->GetMainFrame()->SendProcessMessage
frame->LoadString() => frame->LoadURL(test_runner::GetDataURL(ss.str(), "text/html"));
- compilation
# set PATH=C:\MyWork\CEF\CEF-4430\depot_tools;%PATH%
# ninja -C out\Debug_GN_x64 cefsimple
This was my past operations for it.
|
If you managed to update the chromium version, can you share it? Thanks |
Hi,
I'm trying to compile my own CEF version that will support ffmpeg & properietary_codecs for live stream videos and encounter some difficulties. I know @TopDeveloper-333 tried to do that as well in this issue and closed it.
Will you be able to create a CEF version compatible with the plugin that support it? With some license limitations of course.
Thanks,
Peleg
The text was updated successfully, but these errors were encountered: