Configuring x264 encode settings in Electron/Chromium

614 views
Skip to first unread message

Joel Sutherland

unread,
May 23, 2018, 4:55:35 AM5/23/18
to discuss-webrtc
I’d like to modify the parameters used when invoking the x264 video codec used by Chromium for sharing a desktop using WebRTC. I was directed here from the "chromium-dev" mailing list. I'm looking to use the commercial x264 license. I currently can't find any information about how this could be done or if I need to take a different approach. Any help is greatly appreciated!

Harald Alvestrand

unread,
May 23, 2018, 6:57:20 AM5/23/18
to WebRTC-discuss
The X264 codec is not used by Chromium, so if you want to incorporate that in a Chromium-based browser, it's a new development (GPL code can't be copied to Chromium for license compatibility reasons).

The encoders used by Chrome are either OpenH264 or platform (usually hardware) encoders.
You'll find the initialization code for OpenH264 here:


On Tue, May 22, 2018 at 5:57 PM, Joel Sutherland <jdsuth...@gmail.com> wrote:
I’d like to modify the parameters used when invoking the x264 video codec used by Chromium for sharing a desktop using WebRTC. I was directed here from the "chromium-dev" mailing list. I'm looking to use the commercial x264 license. I currently can't find any information about how this could be done or if I need to take a different approach. Any help is greatly appreciated!

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/e6d6f298-ed9e-4136-8742-2fdd157043b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Joel Sutherland

unread,
May 23, 2018, 9:19:02 AM5/23/18
to discuss...@googlegroups.com
Thanks for the help! I think I understand how things are laid out, so I'll make an attempt at the integration.

On Wed, May 23, 2018 at 6:57 AM 'Harald Alvestrand' via discuss-webrtc <discuss...@googlegroups.com> wrote:
The X264 codec is not used by Chromium, so if you want to incorporate that in a Chromium-based browser, it's a new development (GPL code can't be copied to Chromium for license compatibility reasons).

The encoders used by Chrome are either OpenH264 or platform (usually hardware) encoders.
You'll find the initialization code for OpenH264 here:

On Tue, May 22, 2018 at 5:57 PM, Joel Sutherland <jdsuth...@gmail.com> wrote:
I’d like to modify the parameters used when invoking the x264 video codec used by Chromium for sharing a desktop using WebRTC. I was directed here from the "chromium-dev" mailing list. I'm looking to use the commercial x264 license. I currently can't find any information about how this could be done or if I need to take a different approach. Any help is greatly appreciated!

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/CAOqqYVEnfWTokYG1sd-bOtuOuvvDOix3uP4NNOAhvcXYuM%2BroQ%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages