compiling gstreamer to javascript

Sebastian Dröge sebastian at centricular.com
Sat Jun 11 16:12:07 UTC 2016


On Sa, 2016-06-11 at 11:00 -0400, Nicolas Dufresne wrote:
> Le samedi 11 juin 2016 à 11:35 +0300, Sebastian Dröge a écrit :
> > On Sa, 2016-06-11 at 10:25 +0200, Vito De Tullio wrote:
> > > 
> > > did anyone tried to compile (for example with emscripten)
> > > gstreamer
> > > to pure 
> > > js code?
> > > is it possible to try it in the browser?
> > > 
> > > (I am interested to make an html5-video-tag extension with gst +
> > > a
> > > custom 
> > > video codec)
> > GStreamer itself should be possible to some degree, the problem is
> > that
> > you will also have to compile all dependencies of GStreamer and the
> > plugins you want to use, and you need to find replacements for a)
> > assembly code and b) platform specific APIs (dlopen() for example).
> > 
> > It will be possible but you'll have to put quite some effort into
> > this
> > and modify the code accordingly.
> 
> Specially for things using assembly, like libffi which is no a hard
> dependency of GLib.

You would have to implement these using JavaScript mechanisms I guess.
As another "platform" next to x86, arm, etc ;)

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160611/bf7db3cf/attachment.sig>


More information about the gstreamer-devel mailing list