<div dir="ltr">With <a href="https://bugs.webkit.org/show_bug.cgi?id=126015">https://bugs.webkit.org/show_bug.cgi?id=126015</a> 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.
<div><br></div><div>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 <a href="http://gstreamer.freedesktop.org/data/pkg/windows/1.2.0/">http://gstreamer.freedesktop.org/data/pkg/windows/1.2.0/</a> 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 <a href="http://www.webkit.org/building/tools.html">http://www.webkit.org/building/tools.html</a></div>
<div><br></div><div>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.</div>
<div><br></div><div>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.</div>
<div><br></div><div>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.</div>
<div><br></div><div>Merry Christmas!</div><div>Alex Christensen</div></div>