[webkit-dev] Enabling video with GStreamer on WinCairo
Alex Christensen
alex.christensen at flexsim.com
Thu Dec 19 14:30:14 PST 2013
With https://bugs.webkit.org/show_bug.cgi?id=126015 I am ready to enable
video with GStreamer on the WinCairo port. I owe a big thank you to all
who have maintained the code I used, and especially Philippe Normand who
made the proof-of-concept a few years ago.
Building WebKit with video enabled using GStreamer requires the GStreamer
binaries. I
used gstreamer-1.0-x86-1.2.0.msi, gstreamer-1.0-x86_64-1.2.0.msi,
gstreamer-1.0-devel-x86-1.2.0.msi,
and gstreamer-1.0-devel-x86_64-1.2.0.msi from
http://gstreamer.freedesktop.org/data/pkg/windows/1.2.0/ which would all be
required for a machine building 32-bit and 64-bit WinCairo on Windows.
This would also need to be stated on
http://www.webkit.org/building/tools.html
The 32-bit GStreamer and GLib dlls on Windows are about 95Mb, and they
compress to about 35Mb. The 64-bit dlls are about 120Mb, and they compress
to about 38Mb. They are also registered upon installation, unlike the rest
of the WinCairo dlls. I understand that several WinCairo users would like
to ship WebKit without this overhead, and I have made this as simple as
possible by just removing the ENABLE_MEDIA_CONTROLS_SCRIPT,
ENABLE_VIDEO_TRACK, and ENABLE_VIDEO definitions from
FeatureDefinesCairo.props. This can also be automated by doing a string
replace before building, but the maintainers of the WinCairo bot have
agreed to install GStreamer to help me maintain this code.
I don't anticipate this being a large maintenance burden, though.
Portability is a project goal of both WebKit and GStreamer, and both
groups have done a good job of maintaining operating system independent
code.
I will not make the change before Christmas to give everyone a chance to
install GStreamer, try my code, and find any unanticipated problems. I'm
open to discussion, but I hope everyone will see the value of this new
technology.
Merry Christmas!
Alex Christensen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20131219/9a2d020e/attachment.html>
More information about the webkit-dev
mailing list