[HELP] How to configure chrome build to use gstreamer.

1,691 views
Skip to first unread message

Braja Biswal

unread,
Jan 12, 2011, 3:55:07 AM1/12/11
to Chromium-dev
Hi All,

Goal- My goal is to run chrome using gstreamer.
I am able to build chrome.
Now I want to use gstreamer in-stead of FFMPEG.
Is there any flag available to do so?
If NO how can I do this? At least from where I should start modifying?

Thanks
Braja

Andrew Scherkus

unread,
Jan 12, 2011, 3:44:35 PM1/12/11
to be.b...@gmail.com, Chromium-dev
There isn't any flag available as Chrome has no built-in gstreamer support.

We decided to go with FFmpeg over gstreamer since FFmpeg fits inside Chrome's security sandbox model and is easier to port to other platforms.

If you're interested in doing this as a side project or proof of concept, I'd start with implementing your own WebMediaPlayer [1] and returning your implementation in RenderView::createMediaPlayer() [2].

Andrew

--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev

Evan Martin

unread,
Jan 12, 2011, 4:23:26 PM1/12/11
to sche...@chromium.org, be.b...@gmail.com, Chromium-dev
On Wed, Jan 12, 2011 at 12:44 PM, Andrew Scherkus <sche...@chromium.org> wrote:
> There isn't any flag available as Chrome has no built-in gstreamer support.
> We decided to go with FFmpeg over gstreamer since FFmpeg fits inside
> Chrome's security sandbox model and is easier to port to other platforms.
> If you're interested in doing this as a side project or proof of concept,
> I'd start with implementing your own WebMediaPlayer [1] and returning your
> implementation in RenderView::createMediaPlayer() [2].
> Andrew
> [1] http://trac.webkit.org/browser/trunk/WebKit/chromium/public/WebMediaPlayer.h
> [2] http://src.chromium.org/viewvc/chrome/trunk/src/chrome/renderer/render_view.cc?view=markup
>

If you do this on Linux, be sure to verify your test build of Chrome
is still sandboxed by visiting about:sandbox. I suspect it might be
much harder to hook in gstreamer with sandboxing than it would be
without.

Braja

unread,
Jan 17, 2011, 1:32:27 AM1/17/11
to Chromium-dev
Thaks Andrew & Evan.
As its just a side project for proof of concept. I don't need
sandboxing.

On Jan 13, 2:23 am, Evan Martin <e...@chromium.org> wrote:
> On Wed, Jan 12, 2011 at 12:44 PM, Andrew Scherkus <scher...@chromium.org> wrote:
> > There isn't any flag available as Chrome has no built-in gstreamer support.
> > We decided to go with FFmpeg over gstreamer since FFmpeg fits inside
> > Chrome's security sandbox model and is easier to port to other platforms.
> > If you're interested in doing this as a side project or proof of concept,
> > I'd start with implementing your own WebMediaPlayer [1] and returning your
> > implementation in RenderView::createMediaPlayer() [2].
> > Andrew
> > [1] http://trac.webkit.org/browser/trunk/WebKit/chromium/public/WebMediaP...
> > [2] http://src.chromium.org/viewvc/chrome/trunk/src/chrome/renderer/rende...

Braja

unread,
Jan 17, 2011, 8:00:35 AM1/17/11
to Chromium-dev
Hi Andrew,
How about the rendering part.
Do I need to write separate GraphicsContext for the same ya the
existing GraphicsContextSkia will be fine?
Thanks
Braja

On Jan 13, 1:44 am, Andrew Scherkus <scher...@chromium.org> wrote:
> There isn't any flag available as Chrome has no built-in gstreamer support.
>
> We decided to go with FFmpeg over gstreamer since FFmpeg fits inside
> Chrome's security sandbox model and is easier to port to other platforms.
>
> If you're interested in doing this as a side project or proof of concept,
> I'd start with implementing your own WebMediaPlayer [1] and returning your
> implementation in RenderView::createMediaPlayer() [2].
>
> Andrew
>
> [1]http://trac.webkit.org/browser/trunk/WebKit/chromium/public/WebMediaP...
> [2]http://src.chromium.org/viewvc/chrome/trunk/src/chrome/renderer/rende...
>
> On Wed, Jan 12, 2011 at 12:55 AM, Braja Biswal <be.bis...@gmail.com> wrote:
> > Hi All,
>
> > Goal- My goal is to run chrome using gstreamer.
> > I am able to build chrome.
> > Now I want to use gstreamer in-stead of FFMPEG.
> > Is there any flag available to do so?
> > If NO how can I do this? At least from where I should start modifying?
>
> > Thanks
> > Braja
>
> > --
> > Chromium Developers mailing list: chromium-...@chromium.org

Andrew Scherkus

unread,
Jan 20, 2011, 2:08:01 AM1/20/11
to be.b...@gmail.com, Chromium-dev
Existing GraphicsContextSkia should be enough to get some pixels on the screen!

Andrew

Chromium Developers mailing list: chromi...@chromium.org
Reply all
Reply to author
Forward
0 new messages