G-Streamer For Google's Chrome Proposed But Denied

Written by Michael Larabel in Google on 23 January 2010 at 06:39 AM EST. 20 Comments
GOOGLE
In early December a beta of Google Chrome for Linux was released (though Chromium could be built on Linux in an alpha form for months earlier) while just days prior was the first public code release of Google's Chromium OS. Google's Chrome web-browser has been quick to attract new users on Linux thanks to its speed and features, but some are having issues with this web-browser over its multimedia support.

To provide multimedia support within the Chrome / Chromium web-browser for enabling HTML5 video support, FFmpeg is hooked in at build-time. If Chrome / Chromium is not built with FFmpeg, then there is no video support. There is a problem though and that's Fedora and other Linux distributions don't ship with MPEG-4 and other select video codecs due to patent/legal worries. FFmpeg also doesn't support plug-ins in a way that would allow building FFmpeg support into the Google web-browser without these worrisome codecs. In other words, there is currently no video support on Chrome / Chromium if using packages on some platforms.

To address this issue it has been proposed that Google Chrome receives support for the G-Streamer framework. Using G-Streamer would allow multimedia codecs to be installed ex post facto, whether they be derived from FFmpeg or legally acquired through Fluendo. G-Streamer also supports a variety of hardware acceleration methods like VA-API, VDPAU, XvMC, and even DxVA for Windows users. G-Streamer is also receiving other video playback improvements thanks to a recent hack-fest.

While G-Streamer seems like a good answer and is used by a large number of software projects, Chrome developers so far are unwilling to support this open-source multimedia framework or even consider such support. Google's Andrew Scherkus has basically thrown out the idea of using G-Streamer within the web-browser since support for pluggable codecs as it's a direct conflict with Chrome's security sandbox and goals. To circumvent the sandbox/security issue, G-Streamer could be loaded when Chrome is started, but Scherkus claims there would hurt the browser's performance too much. Another issue that Scherkus has is that while G-Streamer is supported on Mac OS X and Windows too, it's not at the same level as the Linux support, which would lead Google into investing into three different media back-ends.

For now the idea of having G-Streamer support in the Google Chrome / Chromium web-browser is canned. Some though are discussing the possibility of sand-boxing G-Streamer to avoid any security issues. If you are using Fedora or any other strict free software distributions you will just be restrained from using any HTML5 video support within the browser or you must find a third-party package that is built with FFmpeg or build the browser yourself.

Follow the G-Streamer on Chrome discussion in this Google Code bug entry.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week