Can't show H264 videos

Having problems with building or using the JCEF Java binding? Ask your questions here.

Re: Can't show H264 videos

Postby magreenblatt » Tue Apr 23, 2019 11:36 am

What CEF version are you building?
magreenblatt
Site Admin
 
Posts: 9839
Joined: Fri May 29, 2009 6:57 pm

Re: Can't show H264 videos

Postby quadlex » Tue Apr 23, 2019 3:54 pm

magreenblatt wrote:What CEF version are you building?


I just do the steps from https://bitbucket.org/chromiumembedded/ ... ckStart.md
Where can i check version?
quadlex
Techie
 
Posts: 11
Joined: Thu Apr 18, 2019 7:48 am

Re: Can't show H264 videos

Postby quadlex » Wed Apr 24, 2019 7:55 am

I successfully build CEF local with '-C out\Release_GN_x64' and build binary from it.
But when i try build JCEF with that binary, i get errors in Visual Studio.
In bitbucket current cef version is 3.3683.1920.g9f41a27.
Maybe i should download a specific version of CEF for current JCEF?
If its true, how can i do it, what branch specify for JCEF?
quadlex
Techie
 
Posts: 11
Joined: Thu Apr 18, 2019 7:48 am

Re: Can't show H264 videos

Postby magreenblatt » Wed Apr 24, 2019 10:51 am

The CEF version is controlled by the top-level CMakeLists.txt file.
magreenblatt
Site Admin
 
Posts: 9839
Joined: Fri May 29, 2009 6:57 pm

Re: Can't show H264 videos

Postby quadlex » Wed Apr 24, 2019 11:13 am

magreenblatt wrote:The CEF version is controlled by the top-level CMakeLists.txt file.

Thanks!
Does it mean that in jcef i can use any cef-version if i edit it in CMakeLists.txt?
quadlex
Techie
 
Posts: 11
Joined: Thu Apr 18, 2019 7:48 am

Re: Can't show H264 videos

Postby magreenblatt » Wed Apr 24, 2019 11:38 am

quadlex wrote:
magreenblatt wrote:The CEF version is controlled by the top-level CMakeLists.txt file.

Thanks!
Does it mean that in jcef i can use any cef-version if i edit it in CMakeLists.txt?

Yes, if you fix any compile errors that result from changes in the CEF API. To use newer builds with the new version number format you'll also need https://bitbucket.org/chromiumembedded/ ... equests/37
magreenblatt
Site Admin
 
Posts: 9839
Joined: Fri May 29, 2009 6:57 pm

Re: Can't show H264 videos

Postby quadlex » Wed Apr 24, 2019 12:32 pm

magreenblatt wrote:
quadlex wrote:
magreenblatt wrote:The CEF version is controlled by the top-level CMakeLists.txt file.

Thanks!
Does it mean that in jcef i can use any cef-version if i edit it in CMakeLists.txt?

Yes, if you fix any compile errors that result from changes in the CEF API. To use newer builds with the new version number format you'll also need https://bitbucket.org/chromiumembedded/ ... equests/37

Unfortunately, i cant fix compile errors(know only java).
Hence i need to download sources of specific cef - now it is 3.3683.1920.g9f41a27.

What i need specify in upload.bat to get it (its refers to some commit)?
quadlex
Techie
 
Posts: 11
Joined: Thu Apr 18, 2019 7:48 am

Re: Can't show H264 videos

Postby magreenblatt » Wed Apr 24, 2019 12:51 pm

Adding —branch=3683 to the automate-git.py command line should be enough.
magreenblatt
Site Admin
 
Posts: 9839
Joined: Fri May 29, 2009 6:57 pm

Re: Can't show H264 videos

Postby quadlex » Thu Apr 25, 2019 1:33 pm

So, i build CEF with proprietary codecs support, and build JCEF with this version.
When i run "run.bat" java app starts successfully and support codecs, but when i try to run MainFrame.java in IntelliJ IDEA - a blank program window is displayed.
I i have no errors in output information.
What could be the problem?

Windows 10.
ReleaseX64 build.
JDK in both situations one: "1.8.0_171"
quadlex
Techie
 
Posts: 11
Joined: Thu Apr 18, 2019 7:48 am

Re: Can't show H264 videos

Postby quadlex » Fri Apr 26, 2019 5:39 am

quadlex wrote:So, i build CEF with proprietary codecs support, and build JCEF with this version.
When i run "run.bat" java app starts successfully and support codecs, but when i try to run MainFrame.java in IntelliJ IDEA - a blank program window is displayed.
I i have no errors in output information.
What could be the problem?

Windows 10.
ReleaseX64 build.
JDK in both situations one: "1.8.0_171"


Sorry, my mistake. I had two jcef builds in PATH env variable.
All is ok.
Many thanks!
quadlex
Techie
 
Posts: 11
Joined: Thu Apr 18, 2019 7:48 am

PreviousNext

Return to JCEF Forum

Who is online

Users browsing this forum: No registered users and 2 guests