gstreamer pipeline to playback as HTML5 backend

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

gstreamer pipeline to playback as HTML5 backend

Dece Bel
Hello,

I am interested in having my gstreamer pipeline (with custom elements doing text analysis for subtitles etc) be used as the backend for HTML5 based video.

Meaning, if a browser with HTML5 capabilities is playing a streamed video, how can I make HTML5 to use my gstreamer pipeline to playback the video. Ofcourse it would mean, installing the pipeline on the machine to be used for playback. 

I could not find any good resource on how to do this.

Gracias
Dece



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer pipeline to playback as HTML5 backend

Philippe Normand
On Thu, 2013-11-14 at 00:13 -0500, Dece Bel wrote:

> Hello,
>
>
> I am interested in having my gstreamer pipeline (with custom elements
> doing text analysis for subtitles etc) be used as the backend for
> HTML5 based video.
>
>
> Meaning, if a browser with HTML5 capabilities is playing a streamed
> video, how can I make HTML5 to use my gstreamer pipeline to playback
> the video. Ofcourse it would mean, installing the pipeline on the
> machine to be used for playback.
>
>
> I could not find any good resource on how to do this.
>

Hi,

WebKit(GTK,Qt,EFL) already use GStreamer for multimedia playback and so
does (or will?) Firefox under certain conditions.

It would help to know which browser you are targeting.

Philippe


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Re: gstreamer pipeline to playback as HTML5 backend

Dece Bel
In reply to this post by Dece Bel
Thanks Philippe for your inputs. 
What I am looking for is chrome browser on windows. But I am not sure if this is possible. 
The chrome browser needs to be aware of my custom gst pipeline based video player. 

Dece




   1. Re: gstreamer pipeline to playback as HTML5 backend
      (Philippe Normand)
----------------------------------------------------------------------

Message: 1
Date: Thu, 14 Nov 2013 08:25:34 +0100
From: Philippe Normand <[hidden email]>
To: [hidden email]
Subject: Re: gstreamer pipeline to playback as HTML5 backend
Message-ID: <[hidden email]>
Content-Type: text/plain; charset="UTF-8"

On Thu, 2013-11-14 at 00:13 -0500, Dece Bel wrote:
> Hello,
>
>
> I am interested in having my gstreamer pipeline (with custom elements
> doing text analysis for subtitles etc) be used as the backend for
> HTML5 based video.
>
>
> Meaning, if a browser with HTML5 capabilities is playing a streamed
> video, how can I make HTML5 to use my gstreamer pipeline to playback
> the video. Ofcourse it would mean, installing the pipeline on the
> machine to be used for playback.
>
>
> I could not find any good resource on how to do this.
>

Hi,

WebKit(GTK,Qt,EFL) already use GStreamer for multimedia playback and so
does (or will?) Firefox under certain conditions.

It would help to know which browser you are targeting.

Philippe





_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Re: gstreamer pipeline to playback as HTML5 backend

Sebastian Dröge-3
On Do, 2013-11-14 at 20:38 -0500, Dece Bel wrote:
> Thanks Philippe for your inputs.
> What I am looking for is chrome browser on windows. But I am not sure if
> this is possible.
> The chrome browser needs to be aware of my custom gst pipeline based video
> player.

Chrome is using its own multimedia backend developed by Google and based
on ffmpeg. Without changing Chrome to implement another multimedia
backend that uses GStreamer you can't do that.

With the GTK/EFL/Qt ports of WebKit you should be able to do what you
want.

--
Sebastian Dröge <[hidden email]>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (985 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer pipeline to playback as HTML5 backend

Brendan Long
In reply to this post by Dece Bel

On 11/13/2013 11:13 PM, Dece Bel wrote:
> Meaning, if a browser with HTML5 capabilities is playing a streamed
> video, how can I make HTML5 to use my gstreamer pipeline to playback
> the video. Ofcourse it would mean, installing the pipeline on the
> machine to be used for playback.

Look here for how we do it in WebKit:

https://github.com/WebKit/webkit/tree/master/Source/WebCore/platform/graphics/gstreamer

It's not going to be an easy drop-in replacement though, since we use
playbin pretty heavily.


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (567 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer pipeline to playback as HTML5 backend

Baby Octopus
Administrator
Is it possible to develop an equivalent of jwplayer which will use gstreamer at the backend?
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer pipeline to playback as HTML5 backend

Baby Octopus
Administrator
And would that be a javascript which would call gstreamer API?