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) -- By ZeD _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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. -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
In reply to this post by Vito De Tullio
I don't think this will work. You may try. In the past, I've seen demo exposing GStreamer to WebKit using seedkit. The project is probably unmaintained by now. > -- _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
On Sa, 2016-06-11 at 07:00 -0400, Nicolas Dufresne wrote:
> > Le 11 juin 2016 3:32 AM, "Vito De Tullio" <[hidden email]> a > écrit : > > > > 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) > > > I don't think this will work. You may try. In the past, I've seen > demo exposing GStreamer to WebKit using seedkit. The project is > probably unmaintained by now. modified version of) GStreamer with emscripten would give you a plain JavaScript version that would run in any JavaScript engine (and thus browser). -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
In reply to this post by Sebastian Dröge-3
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. dependency of GLib. > > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (188 bytes) Download Attachment |
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. As another "platform" next to x86, arm, etc ;) -- Sebastian Dröge, Centricular Ltd · http://www.centricular.com _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel signature.asc (968 bytes) Download Attachment |
Free forum by Nabble | Edit this page |