Enabling h264 for cefclient (chromium51_2704_103)

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Enabling h264 for cefclient (chromium51_2704_103)

Postby dverma05 » Fri Oct 07, 2016 7:17 am

Hi,

Now open h264 support is available in chrome. Which is the flag needed to enable it at compile time while building chromium.
I have gone through below thread below and applied some of the mentioned flags to my chromium but h264 doesn't work with cefclient.
https://codereview.webrtc.org/1306813009/#ps1010001

At the end it's not clear what all the flags need to be enabled while building chromium. I wanted to enable it for version chromium_51_2704_103.
Any help will be appreciated.

Thanks,
Dileep
dverma05
Techie
 
Posts: 35
Joined: Wed Apr 01, 2015 5:23 am

Re: Enabling h264 for cefclient (chromium51_2704_103)

Postby magreenblatt » Fri Oct 07, 2016 9:21 am

What makes you think open h264 is supported in chrome?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Enabling h264 for cefclient (chromium51_2704_103)

Postby dverma05 » Fri Oct 07, 2016 3:09 pm

Below link is the defect logged for the same and current status is fixed.
https://bugs.chromium.org/p/chromium/is ... ?id=500605

I tested h264 in chrome 53 and it's working.
dverma05
Techie
 
Posts: 35
Joined: Wed Apr 01, 2015 5:23 am

Re: Enabling h264 for cefclient (chromium51_2704_103)

Postby magreenblatt » Fri Oct 07, 2016 3:57 pm

h264 support is not the same as "open h264" support. Chrome supports h264 via the ffmpeg library which requires a license from MPEG.LA. "open h264" is a product from Cisco that provides h264 playback without requiring a license. Chrome does not support "open h264".
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Enabling h264 for cefclient (chromium51_2704_103)

Postby dverma05 » Sat Oct 08, 2016 5:08 pm

Hi magreenblatt,

You are right. I am OK with the licencing part as encoding is using h264 and decoding is done using ffmpeg and both (h264 & ffmpeg) have their own licencing terms and condition.
That is what I want to achieve in cef3. I tried setting "proprietary_codecs=1 and ffmpeg_branding=Chrome" in cef.gyp file but this didn't work for me.
Can you please let me know where exactly I need to modify these values? Or what all the values or flag do i need to set? and in which file do i need to set these values to achieve this h264 support in cef3?
dverma05
Techie
 
Posts: 35
Joined: Wed Apr 01, 2015 5:23 am

Re: Enabling h264 for cefclient (chromium51_2704_103)

Postby magreenblatt » Sat Oct 08, 2016 7:43 pm

2704 branch is too old to have the Chromium changes that you linked above. You can set the flags using the GYP_DEFINES environment variable and then building CEF using automate-git.py.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Enabling h264 for cefclient (chromium51_2704_103)

Postby dverma05 » Mon Oct 10, 2016 2:59 am

Hi magreenblatt,

Thanks for the valuable info. I will try with the latest chromium available.
dverma05
Techie
 
Posts: 35
Joined: Wed Apr 01, 2015 5:23 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 64 guests