Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?
On Oct 14, 2013, at 8:29 PM, Justin Haygood justin.hayg...@reaktix.com wrote: Would it be possible to use Media Foundation with a fall back? You can’t depend on Media Foundation even on Windows Vista+ anyway (N editions don’t have it), but it’s a COM API so you can detect that it is not available to use something else. Sure. The media code currently has fallback support (at least in the Apple port) to cascade from AVFoundation back to QuickTime if needed. The only downside is needing to provide implementations for each fallback path you want to support. -Brent___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
[webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?
Unless we missed something, sources tied to GSTREAMER (like wtf\gobject\GlibUtilities.cpp) appear, sort of, unobtainable. Anyone under position to shed lights on these missing .CPP files required by Webkit ? -- gstreamerForEver On Sun, 2013-10-13 at 14:22 +0200, Urbain EGIS wrote: Probably a painful and hackful job in sight, as we have been told. And as a prototype, to start with. Your forewords are appreciate of course. Would you mind providing some guidance to where/how to source files may be located. Example : \wtf\gobject\GlibUtilities.cpp Thanks in advance, Philippe. Regards, EGIS On Sat, Oct 12, 2013 at 3:59 PM, Philippe Normand ph...@igalia.com wrote: On Sat, 2013-10-12 at 14:53 +0200, Urbain EGIS wrote: Of course, I'm part of the challenge, Hugo. I started to analyse .diff files gently provided by Alex. Let's focus on one example : --- Source/WTF/WTF.vcxproj/WTF.vcxproj (revision 156730) +++ Source/WTF/WTF.vcxproj/WTF.vcxproj (working copy) @@ -73,6 +73,9 @@ ... +ClCompile Include=..\wtf\gobject \GlibUtilities.cpp / ... Then my question is : where can I find this CPP file wtf\gobject \GlibUtilities.cpp ? I have done: git clone http://git.igalia.com/webkit.git but is it the right way to get GSTREAMER-centric source files for/by WebKit ? It seems it's not enough/accurate Please don't forget that branch is more than 3 years old. A lot of code changed in WebKit since then. And most of the commits in that branch were not really ready to be upstreamed as it was mostly a proof-of-concept. Philippe On Fri, Oct 11, 2013 at 11:05 PM, Hugo Machefer hugo.mache...@gmail.com wrote: Utterly, I'd be glad to take a serious and deep step forwards into this direction. Therefore, on both Brendan Alex's instructions I'm gona opt for GSTREAMER as a default player, oviously. Urbain, are you with me/us ? The more, the merrier, you know ;-) First, as mentionned earlier, check with ENABLE(VIDEO) = shall be disclosing as a consequence many CPP files impacted. On my side, I am gona set WTF_USE_GSTREAMER, and look closely at previous clues by http://git.igalia.com/cgi-bin/gitweb.cgi?p=webkit.git;a=shortlog;h=refs/heads/win-gst. Of course, Alex, any piece of your updated code (off of the webkit-dev list) will be more than welcome. On Fri, Oct 11, 2013 at 10:34 PM, Alex Christensen alex.christen...@flexsim.com wrote: I would like WinCairo to have video enabled, also, but it would take some work. This was done successfully a few years ago by Phillippe Normand, but his code needs to be updated. I got it compiling a few days ago, but something was wrong with my GStreamer installation. Here's Phillippe's branch: http://git.igalia.com/cgi-bin/gitweb.cgi?p=webkit.git;a=shortlog;h=refs/heads/win-gst If anyone wants to look at my updated code, let me know and I'll email a diff off of the webkit-dev list. Alex Christensen On Fri, Oct 11, 2013 at 2:25 PM, Brendan Long s...@brendanlong.com wrote: On 10/11/2013 02:13 PM, Urbain EGIS wrote: Playing a bit with WebKit sources for Windows (using WinCairo port) I expected to activate HTML5 video tag. I just simply put : #define ENABLE_VIDEO 1 and rebuilt everything. But I realized that only few files are concerned by USE(ENABLE_VIDEO) and are not even .CPP files. It would be ENABLE(VIDEO), not USE(ENABLE_VIDEO). So
Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?
On Mon, 2013-10-14 at 11:51 +0200, gstreamer MACOSX wrote: Unless we missed something, sources tied to GSTREAMER (like wtf \gobject\GlibUtilities.cpp) appear, sort of, unobtainable. Anyone under position to shed lights on these missing .CPP files required by Webkit ? Have you actually searched in source tree? See Source/WTF/wtf/gobject/GlibUtilities.cpp ... Philippe -- gstreamerForEver On Sun, 2013-10-13 at 14:22 +0200, Urbain EGIS wrote: Probably a painful and hackful job in sight, as we have been told. And as a prototype, to start with. Your forewords are appreciate of course. Would you mind providing some guidance to where/how to source files may be located. Example : \wtf\gobject\GlibUtilities.cpp Thanks in advance, Philippe. Regards, EGIS On Sat, Oct 12, 2013 at 3:59 PM, Philippe Normand ph...@igalia.com wrote: On Sat, 2013-10-12 at 14:53 +0200, Urbain EGIS wrote: Of course, I'm part of the challenge, Hugo. I started to analyse .diff files gently provided by Alex. Let's focus on one example : --- Source/WTF/WTF.vcxproj/WTF.vcxproj (revision 156730) +++ Source/WTF/WTF.vcxproj/WTF.vcxproj (working copy) @@ -73,6 +73,9 @@ ... +ClCompile Include=..\wtf\gobject \GlibUtilities.cpp / ... Then my question is : where can I find this CPP file wtf\gobject \GlibUtilities.cpp ? I have done: git clone http://git.igalia.com/webkit.git but is it the right way to get GSTREAMER-centric source files for/by WebKit ? It seems it's not enough/accurate Please don't forget that branch is more than 3 years old. A lot of code changed in WebKit since then. And most of the commits in that branch were not really ready to be upstreamed as it was mostly a proof-of-concept. Philippe On Fri, Oct 11, 2013 at 11:05 PM, Hugo Machefer hugo.mache...@gmail.com wrote: Utterly, I'd be glad to take a serious and deep step forwards into this direction. Therefore, on both Brendan Alex's instructions I'm gona opt for GSTREAMER as a default player, oviously. Urbain, are you with me/us ? The more, the merrier, you know ;-) First, as mentionned earlier, check with ENABLE(VIDEO) = shall be disclosing as a consequence many CPP files impacted. On my side, I am gona set WTF_USE_GSTREAMER, and look closely at previous clues by http://git.igalia.com/cgi-bin/gitweb.cgi?p=webkit.git;a=shortlog;h=refs/heads/win-gst. Of course, Alex, any piece of your updated code (off of the webkit-dev list) will be more than welcome. On Fri, Oct 11, 2013 at 10:34 PM, Alex Christensen alex.christen...@flexsim.com wrote: I would like WinCairo to have video enabled, also, but it would take some work. This was done successfully a few years ago by Phillippe Normand, but his code needs to be updated. I got it compiling a few days ago, but something was wrong with my GStreamer installation. Here's Phillippe's branch: http://git.igalia.com/cgi-bin/gitweb.cgi?p=webkit.git;a=shortlog;h=refs/heads/win-gst If anyone wants to look at my updated code, let me know and I'll email a diff off of the webkit-dev list. Alex Christensen On Fri, Oct 11, 2013 at 2:25 PM, Brendan Long s...@brendanlong.com wrote: On 10/11/2013 02:13 PM, Urbain EGIS wrote: Playing a bit with WebKit sources for Windows (using WinCairo port) I expected to activate HTML5 video tag. I just simply put : #define ENABLE_VIDEO 1 and rebuilt everything. But I realized that only few
Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?
Exactly, Philippe: I searched everywhere by D:\Users\gstreamermacosx\webkit\Source but without any success. I applyed this command like my counterparts ... : *git clone http://git.igalia.com/webkit.git* Is it correct ? In fact, there is not even any Source/*WTF *sub-folder. -- gstreamerForEver On Mon, Oct 14, 2013 at 11:59 AM, Philippe Normand ph...@igalia.com wrote: On Mon, 2013-10-14 at 11:51 +0200, gstreamer MACOSX wrote: Unless we missed something, sources tied to GSTREAMER (like wtf \gobject\GlibUtilities.cpp) appear, sort of, unobtainable. Anyone under position to shed lights on these missing .CPP files required by Webkit ? Have you actually searched in source tree? See Source/WTF/wtf/gobject/GlibUtilities.cpp ... Philippe -- gstreamerForEver On Sun, 2013-10-13 at 14:22 +0200, Urbain EGIS wrote: Probably a painful and hackful job in sight, as we have been told. And as a prototype, to start with. Your forewords are appreciate of course. Would you mind providing some guidance to where/how to source files may be located. Example : \wtf\gobject\GlibUtilities.cpp Thanks in advance, Philippe. Regards, EGIS On Sat, Oct 12, 2013 at 3:59 PM, Philippe Normand ph...@igalia.com wrote: On Sat, 2013-10-12 at 14:53 +0200, Urbain EGIS wrote: Of course, I'm part of the challenge, Hugo. I started to analyse .diff files gently provided by Alex. Let's focus on one example : --- Source/WTF/WTF.vcxproj/WTF.vcxproj (revision 156730) +++ Source/WTF/WTF.vcxproj/WTF.vcxproj (working copy) @@ -73,6 +73,9 @@ ... +ClCompile Include=..\wtf\gobject \GlibUtilities.cpp / ... Then my question is : where can I find this CPP file wtf\gobject \GlibUtilities.cpp ? I have done: git clone http://git.igalia.com/webkit.git but is it the right way to get GSTREAMER-centric source files for/by WebKit ? It seems it's not enough/accurate Please don't forget that branch is more than 3 years old. A lot of code changed in WebKit since then. And most of the commits in that branch were not really ready to be upstreamed as it was mostly a proof-of-concept. Philippe On Fri, Oct 11, 2013 at 11:05 PM, Hugo Machefer hugo.mache...@gmail.com wrote: Utterly, I'd be glad to take a serious and deep step forwards into this direction. Therefore, on both Brendan Alex's instructions I'm gona opt for GSTREAMER as a default player, oviously. Urbain, are you with me/us ? The more, the merrier, you know ;-) First, as mentionned earlier, check with ENABLE(VIDEO) = shall be disclosing as a consequence many CPP files impacted. On my side, I am gona set WTF_USE_GSTREAMER, and look closely at previous clues by http://git.igalia.com/cgi-bin/gitweb.cgi?p=webkit.git;a=shortlog;h=refs/heads/win-gst. Of course, Alex, any piece of your updated code (off of the webkit-dev list) will be more than welcome. On Fri, Oct 11, 2013 at 10:34 PM, Alex Christensen alex.christen...@flexsim.com wrote: I would like WinCairo to have video enabled, also, but it would take some work. This was done successfully a few years ago by Phillippe Normand, but his code needs to be updated. I got it compiling a few days ago, but something was wrong with my GStreamer installation. Here's Phillippe's branch: http://git.igalia.com/cgi-bin/gitweb.cgi?p=webkit.git;a=shortlog;h=refs/heads/win-gst If anyone wants to look at my updated code, let me know and I'll email a diff off of the webkit-dev list. Alex Christensen On Fri, Oct 11, 2013 at 2:25 PM, Brendan Long s...@brendanlong.com wrote: On 10/11/2013
Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?
On Mon, 2013-10-14 at 12:14 +0200, gstreamer MACOSX wrote: Exactly, Philippe: I searched everywhere by D:\Users\gstreamermacosx \webkit\Source but without any success. I applyed this command like my counterparts ... : git clone http://git.igalia.com/webkit.git Is it correct ? In fact, there is not even any Source/WTF sub-folder. Like I said earlier, that repository is 3 years old, a lot of changes were made, including the move of wtf from JavascriptCore/ to Source/ Seriously, get in touch with Alexander. IIUC he got the patches updated for trunk already... Philippe -- gstreamerForEver On Mon, Oct 14, 2013 at 11:59 AM, Philippe Normand ph...@igalia.com wrote: On Mon, 2013-10-14 at 11:51 +0200, gstreamer MACOSX wrote: Unless we missed something, sources tied to GSTREAMER (like wtf \gobject\GlibUtilities.cpp) appear, sort of, unobtainable. Anyone under position to shed lights on these missing .CPP files required by Webkit ? Have you actually searched in source tree? See Source/WTF/wtf/gobject/GlibUtilities.cpp ... Philippe -- gstreamerForEver On Sun, 2013-10-13 at 14:22 +0200, Urbain EGIS wrote: Probably a painful and hackful job in sight, as we have been told. And as a prototype, to start with. Your forewords are appreciate of course. Would you mind providing some guidance to where/how to source files may be located. Example : \wtf\gobject\GlibUtilities.cpp Thanks in advance, Philippe. Regards, EGIS On Sat, Oct 12, 2013 at 3:59 PM, Philippe Normand ph...@igalia.com wrote: On Sat, 2013-10-12 at 14:53 +0200, Urbain EGIS wrote: Of course, I'm part of the challenge, Hugo. I started to analyse .diff files gently provided by Alex. Let's focus on one example : --- Source/WTF/WTF.vcxproj/WTF.vcxproj (revision 156730) +++ Source/WTF/WTF.vcxproj/WTF.vcxproj (working copy) @@ -73,6 +73,9 @@ ... +ClCompile Include=..\wtf\gobject \GlibUtilities.cpp / ... Then my question is : where can I find this CPP file wtf \gobject \GlibUtilities.cpp ? I have done: git clone http://git.igalia.com/webkit.git but is it the right way to get GSTREAMER-centric source files for/by WebKit ? It seems it's not enough/accurate Please don't forget that branch is more than 3 years old. A lot of code changed in WebKit since then. And most of the commits in that branch were not really ready to be upstreamed as it was mostly a proof-of-concept. Philippe On Fri, Oct 11, 2013 at 11:05 PM, Hugo Machefer hugo.mache...@gmail.com wrote: Utterly, I'd be glad to take a serious and deep step forwards into this direction. Therefore, on both Brendan Alex's instructions I'm gona opt for GSTREAMER as a default player, oviously. Urbain, are you with me/us ? The more, the merrier, you know ;-) First, as mentionned earlier, check with ENABLE(VIDEO) = shall be disclosing as a consequence many CPP files impacted. On my side, I am gona set WTF_USE_GSTREAMER, and look closely at previous clues by http://git.igalia.com/cgi-bin/gitweb.cgi?p=webkit.git;a=shortlog;h=refs/heads/win-gst. Of course, Alex, any piece of your updated code (off of the webkit-dev list) will be more
Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?
On 10/14/2013 04:14 AM, gstreamer MACOSX wrote: Exactly, Philippe: I searched everywhere by D:\Users\gstreamermacosx\webkit\Source but without any success. I applyed this command like my counterparts ... : *git clone /http://git.igalia.com/webkit.git/* Is it correct ? In fact, there is not even any Source/*WTF *sub-folder. I think he meant you should use the normal repo: git clone git://git.webkit.org/WebKit.git (Or use SVN if you're into that?) Rebasing a patch from a 3-year-old checkout would be extremely difficult, so it's easier to figure out what the patch does, and re-apply it manually on a new checkout. signature.asc Description: OpenPGP digital signature ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?
Hi, I have few questions regarding move to Gstreamer. * are we gonna replace the existing openssl and curl with libsoup ? * are we considering any other possibilities besides gstreamer like ffmpeg ( http://www.ffmpeg.org/) or any other. By moving to gstreamer would increase dependencies size a lot as the all GTK base libraries would be included by default and this would be concern to atleast few of us who does not want to increase the webkit base dependencies library by huge amount. I may be missing something here.. can anybody clarify the advantages of moving to gtk based gstreamer over the other side like the binary size increase. Regards, Mital Vora. On Mon, Oct 14, 2013 at 9:54 PM, Brendan Long s...@brendanlong.com wrote: On 10/14/2013 04:14 AM, gstreamer MACOSX wrote: Exactly, Philippe: I searched everywhere by D:\Users\gstreamermacosx\webkit\Source but without any success. I applyed this command like my counterparts ... : *git clone http://git.igalia.com/webkit.git* Is it correct ? In fact, there is not even any Source/*WTF *sub-folder. I think he meant you should use the normal repo: git clone git://git.webkit.org/WebKit.git (Or use SVN if you're into that?) Rebasing a patch from a 3-year-old checkout would be extremely difficult, so it's easier to figure out what the patch does, and re-apply it manually on a new checkout. ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?
On Mon, 2013-10-14 at 22:09 +0530, Mital Vora wrote: Hi, I have few questions regarding move to Gstreamer. * are we gonna replace the existing openssl and curl with libsoup ? 1. GStreamer doesn't depend on those libraries. 2. For HTTP(S) media access we have a dedicated source element in WebKit that uses the WebCore ResourceLoader to fetch data. * are we considering any other possibilities besides gstreamer like ffmpeg (http://www.ffmpeg.org/) or any other. Feel free to provide a MediaPlayerPrivateFFMpeg if you want. But be ready to maintain it too :) By moving to gstreamer would increase dependencies size a lot as the all GTK base libraries would be included by default and this would be concern to atleast few of us who does not want to increase the webkit base dependencies library by huge amount. I may be missing something here.. can anybody clarify the advantages of moving to gtk based gstreamer over the other side like the binary size increase. Regards, Mital Vora. On Mon, Oct 14, 2013 at 9:54 PM, Brendan Long s...@brendanlong.com wrote: On 10/14/2013 04:14 AM, gstreamer MACOSX wrote: Exactly, Philippe: I searched everywhere by D:\Users \gstreamermacosx\webkit\Source but without any success. I applyed this command like my counterparts ... : git clone http://git.igalia.com/webkit.git Is it correct ? In fact, there is not even any Source/WTF sub-folder. I think he meant you should use the normal repo: git clone git://git.webkit.org/WebKit.git (Or use SVN if you're into that?) Rebasing a patch from a 3-year-old checkout would be extremely difficult, so it's easier to figure out what the patch does, and re-apply it manually on a new checkout. ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?
On 10/14/2013 10:39 AM, Mital Vora wrote: I have few questions regarding move to Gstreamer. * are we gonna replace the existing openssl and curl with libsoup ? The GStreamer media player https://github.com/WebKit/webkit/tree/master/Source/WebCore/platform/graphics/gstreamer already exists. You don't need to write it from scratch, you just need to make your port use it. * are we considering any other possibilities besides gstreamer like ffmpeg (http://www.ffmpeg.org/) or any other. Chrome uses FFMPEG, so if you look at the source when the Blink fork happened, there might be a working FFMPEG media player. I'm not familiar enough to say why it might be better, but Chrome and Firefox both use FFMPEG, so it's clearly workable. The downside will be that no other ports are currently using FFMPEG, so your media player might get less attention. By moving to gstreamer would increase dependencies size a lot as the all GTK base libraries would be included by default and this would be concern to atleast few of us who does not want to increase the webkit base dependencies library by huge amount. GStreamer depends on GLib, not GTK. I don't know how GLib will effect the binary size though. signature.asc Description: OpenPGP digital signature ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?
On 10/14/2013 10:39 AM, Mital Vora wrote: * are we considering any other possibilities besides gstreamer like ffmpeg (http://www.ffmpeg.org/) or any other. By the way, if this is just for Windows, you may want to look at Media Foundation https://en.wikipedia.org/wiki/Media_Foundation. Also, I took at look at the media players before Chromium was removed, and I didn't see an FFMPEG media player. Maybe Chromium's media player has always been in the Chromium tree instead of the WebKit tree. signature.asc Description: OpenPGP digital signature ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?
Alex, Brendan: I do think that something like Media Foundation would be a useful way to go, since WinCairo is pretty solidly Windows-only. -Brent On Oct 14, 2013, at 10:00 AM, Brendan Long s...@brendanlong.com wrote: On 10/14/2013 10:39 AM, Mital Vora wrote: * are we considering any other possibilities besides gstreamer like ffmpeg (http://www.ffmpeg.org/) or any other. By the way, if this is just for Windows, you may want to look at Media Foundation. Also, I took at look at the media players before Chromium was removed, and I didn't see an FFMPEG media player. Maybe Chromium's media player has always been in the Chromium tree instead of the WebKit tree. ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?
The only problem with Media Foundation is that it is Vista-and-newer only. There is no Windows XP version. -Brent On Oct 14, 2013, at 10:23 AM, Brent Fulgham bfulg...@apple.com wrote: Alex, Brendan: I do think that something like Media Foundation would be a useful way to go, since WinCairo is pretty solidly Windows-only. -Brent On Oct 14, 2013, at 10:00 AM, Brendan Long s...@brendanlong.com wrote: On 10/14/2013 10:39 AM, Mital Vora wrote: * are we considering any other possibilities besides gstreamer like ffmpeg (http://www.ffmpeg.org/) or any other. By the way, if this is just for Windows, you may want to look at Media Foundation. Also, I took at look at the media players before Chromium was removed, and I didn't see an FFMPEG media player. Maybe Chromium's media player has always been in the Chromium tree instead of the WebKit tree. ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?
On 10/14/2013 12:08 PM, Brent Fulgham wrote: The only problem with Media Foundation is that it is Vista-and-newer only. There is no Windows XP version. Does WebKit still build on XP? signature.asc Description: OpenPGP digital signature ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?
On 10/14/2013 12:18 PM, Brent Fulgham wrote: On Oct 14, 2013, at 11:12 AM, Brendan Long s...@brendanlong.com wrote: Does WebKit still build on XP? Yes. And it is intended to stay that way for the foreseeable future. In that case, it may be better to use DirectShow https://en.wikipedia.org/wiki/DirectShow. signature.asc Description: OpenPGP digital signature ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?
Hi Alex, So Our Choices so far: GStreamer FFMPeg (http://www.ffmpeg.org/) Media Foundation ( http://msdn.microsoft.com/en-us/library/windows/desktop/ms696274(v=vs.85).aspx ) WebM (http://www.webmproject.org/) Chrome's part source code for: FFMpeg: http://src.chromium.org/viewvc/chrome/trunk/src/media/ffmpeg/ WebM: http://src.chromium.org/viewvc/chrome/trunk/src/media/webm/ Regards, Mital Vora. On Mon, Oct 14, 2013 at 11:38 PM, Brent Fulgham bfulg...@apple.com wrote: The only problem with Media Foundation is that it is Vista-and-newer only. There is no Windows XP version. -Brent On Oct 14, 2013, at 10:23 AM, Brent Fulgham bfulg...@apple.com wrote: Alex, Brendan: I do think that something like Media Foundation would be a useful way to go, since WinCairo is pretty solidly Windows-only. -Brent On Oct 14, 2013, at 10:00 AM, Brendan Long s...@brendanlong.com wrote: On 10/14/2013 10:39 AM, Mital Vora wrote: * are we considering any other possibilities besides gstreamer like ffmpeg (http://www.ffmpeg.org/) or any other. By the way, if this is just for Windows, you may want to look at Media Foundation https://en.wikipedia.org/wiki/Media_Foundation. Also, I took at look at the media players before Chromium was removed, and I didn't see an FFMPEG media player. Maybe Chromium's media player has always been in the Chromium tree instead of the WebKit tree. ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?
Would it be possible to use Media Foundation with a fall back? You can't depend on Media Foundation even on Windows Vista+ anyway (N editions don't have it), but it's a COM API so you can detect that it is not available to use something else. From: webkit-dev-boun...@lists.webkit.org [mailto:webkit-dev-boun...@lists.webkit.org] On Behalf Of Mital Vora Sent: Monday, October 14, 2013 10:29 PM To: Brent Fulgham Cc: webkit-dev@lists.webkit.org Subject: Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ? Hi Alex, So Our Choices so far: GStreamer FFMPeg (http://www.ffmpeg.org/) Media Foundation (http://msdn.microsoft.com/en-us/library/windows/desktop/ms696274(v=vs.85).aspx) WebM (http://www.webmproject.org/) Chrome's part source code for: FFMpeg: http://src.chromium.org/viewvc/chrome/trunk/src/media/ffmpeg/ WebM: http://src.chromium.org/viewvc/chrome/trunk/src/media/webm/ Regards, Mital Vora. On Mon, Oct 14, 2013 at 11:38 PM, Brent Fulgham bfulg...@apple.commailto:bfulg...@apple.com wrote: The only problem with Media Foundation is that it is Vista-and-newer only. There is no Windows XP version. -Brent On Oct 14, 2013, at 10:23 AM, Brent Fulgham bfulg...@apple.commailto:bfulg...@apple.com wrote: Alex, Brendan: I do think that something like Media Foundation would be a useful way to go, since WinCairo is pretty solidly Windows-only. -Brent On Oct 14, 2013, at 10:00 AM, Brendan Long s...@brendanlong.commailto:s...@brendanlong.com wrote: On 10/14/2013 10:39 AM, Mital Vora wrote: * are we considering any other possibilities besides gstreamer like ffmpeg (http://www.ffmpeg.org/) or any other. By the way, if this is just for Windows, you may want to look at Media Foundationhttps://en.wikipedia.org/wiki/Media_Foundation. Also, I took at look at the media players before Chromium was removed, and I didn't see an FFMPEG media player. Maybe Chromium's media player has always been in the Chromium tree instead of the WebKit tree. ___ webkit-dev mailing list webkit-dev@lists.webkit.orgmailto:webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.orgmailto:webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.orgmailto:webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?
Of course, I'm part of the challenge, Hugo. I started to analyse .*diff *files gently provided by Alex. Let's focus on one example : --- Source/WTF/WTF.vcxproj/WTF.vcxproj (revision 156730) +++ Source/WTF/WTF.vcxproj/WTF.vcxproj (working copy) @@ -73,6 +73,9 @@ ... +ClCompile Include=..\wtf\gobject\GlibUtilities.cpp / ... Then my question is : where can I find this CPP file wtf\gobject\GlibUtilities.cpp ? I have done: git clone http://git.igalia.com/webkit.git but is it the right way to get GSTREAMER-centric source files for/by WebKit ? It seems it's not enough/accurate On Fri, Oct 11, 2013 at 11:05 PM, Hugo Machefer hugo.mache...@gmail.comwrote: Utterly, I'd be glad to take a serious and deep step forwards into this direction. Therefore, on both Brendan Alex's instructions I'm gona opt for GSTREAMER as a default player, oviously. Urbain, are you with me/us ? *The more, the merrier, you know* ;-) First, as mentionned earlier, check with ENABLE(VIDEO) = shall be disclosing as a consequence many CPP files impacted. On my side, I am gona set *WTF_USE_GSTREAMER*, and look closely at previous clues by http://git.igalia.com/cgi-bin/gitweb.cgi?p=webkit.git;a=shortlog;h=refs/heads/win-gst . Of course, Alex, any piece of your updated code (off of the webkit-dev list) will be more than welcome. On Fri, Oct 11, 2013 at 10:34 PM, Alex Christensen alex.christen...@flexsim.com wrote: I would like WinCairo to have video enabled, also, but it would take some work. This was done successfully a few years ago by Phillippe Normand, but his code needs to be updated. I got it compiling a few days ago, but something was wrong with my GStreamer installation. Here's Phillippe's branch: http://git.igalia.com/cgi-bin/gitweb.cgi?p=webkit.git;a=shortlog;h=refs/heads/win-gst If anyone wants to look at my updated code, let me know and I'll email a diff off of the webkit-dev list. Alex Christensen On Fri, Oct 11, 2013 at 2:25 PM, Brendan Long s...@brendanlong.comwrote: On 10/11/2013 02:13 PM, Urbain EGIS wrote: Playing a bit with WebKit sources for Windows (using WinCairo port) I expected to activate HTML5 video tag. I just simply put : #define ENABLE_VIDEO 1 and rebuilt everything. But I realized that only few files are concerned by USE(ENABLE_VIDEO) and are not even .CPP files. It would be ENABLE(VIDEO), not USE(ENABLE_VIDEO). So something may have been falling through the net... But what ? What is missing from Visual Studio generation ? Which procedure shall be applied to get .CPP files included into MS projects ? Most likely you need to specifiy which media player to use. For example, to use GStreamer you would define WTF_USE_GSTREAMER. I don't see a DirectShow media player, so GStreamer is probably your best bet. You can look through the players by looking at file starting with MediaPlayerPrivate, for example: - AV Foundation (Mac) - Blackberry - GStreamer - QTKit (QuickTime?) - WinCE ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev -- Alex Christensen FlexSim Software Products, Inc. *1577 North Technology Way | Building A | Suite 2300 | Orem, Utah 84097* *Voice: 801-224-6914 | Fax: 801-224-6984* *Email:* al...@flexsim.com k...@flexsim.com *URL:* www.flexsim.com This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed. ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?
On Sat, 2013-10-12 at 14:53 +0200, Urbain EGIS wrote: Of course, I'm part of the challenge, Hugo. I started to analyse .diff files gently provided by Alex. Let's focus on one example : --- Source/WTF/WTF.vcxproj/WTF.vcxproj (revision 156730) +++ Source/WTF/WTF.vcxproj/WTF.vcxproj (working copy) @@ -73,6 +73,9 @@ ... +ClCompile Include=..\wtf\gobject\GlibUtilities.cpp / ... Then my question is : where can I find this CPP file wtf\gobject\GlibUtilities.cpp ? I have done: git clone http://git.igalia.com/webkit.git but is it the right way to get GSTREAMER-centric source files for/by WebKit ? It seems it's not enough/accurate Please don't forget that branch is more than 3 years old. A lot of code changed in WebKit since then. And most of the commits in that branch were not really ready to be upstreamed as it was mostly a proof-of-concept. Philippe On Fri, Oct 11, 2013 at 11:05 PM, Hugo Machefer hugo.mache...@gmail.com wrote: Utterly, I'd be glad to take a serious and deep step forwards into this direction. Therefore, on both Brendan Alex's instructions I'm gona opt for GSTREAMER as a default player, oviously. Urbain, are you with me/us ? The more, the merrier, you know ;-) First, as mentionned earlier, check with ENABLE(VIDEO) = shall be disclosing as a consequence many CPP files impacted. On my side, I am gona set WTF_USE_GSTREAMER, and look closely at previous clues by http://git.igalia.com/cgi-bin/gitweb.cgi?p=webkit.git;a=shortlog;h=refs/heads/win-gst. Of course, Alex, any piece of your updated code (off of the webkit-dev list) will be more than welcome. On Fri, Oct 11, 2013 at 10:34 PM, Alex Christensen alex.christen...@flexsim.com wrote: I would like WinCairo to have video enabled, also, but it would take some work. This was done successfully a few years ago by Phillippe Normand, but his code needs to be updated. I got it compiling a few days ago, but something was wrong with my GStreamer installation. Here's Phillippe's branch: http://git.igalia.com/cgi-bin/gitweb.cgi?p=webkit.git;a=shortlog;h=refs/heads/win-gst If anyone wants to look at my updated code, let me know and I'll email a diff off of the webkit-dev list. Alex Christensen On Fri, Oct 11, 2013 at 2:25 PM, Brendan Long s...@brendanlong.com wrote: On 10/11/2013 02:13 PM, Urbain EGIS wrote: Playing a bit with WebKit sources for Windows (using WinCairo port) I expected to activate HTML5 video tag. I just simply put : #define ENABLE_VIDEO 1 and rebuilt everything. But I realized that only few files are concerned by USE(ENABLE_VIDEO) and are not even .CPP files. It would be ENABLE(VIDEO), not USE(ENABLE_VIDEO). So something may have been falling through the net... But what ? What is missing from Visual Studio generation ? Which procedure shall be applied to get .CPP files included into MS projects ? Most likely you need to specifiy which media player to use. For example, to use GStreamer you would define WTF_USE_GSTREAMER. I don't see a DirectShow media player, so GStreamer is probably your best bet. You can look through the players by looking at file starting with MediaPlayerPrivate, for example: * AV Foundation (Mac) * Blackberry * GStreamer * QTKit (QuickTime?) * WinCE ___ webkit-dev mailing list webkit-dev@lists.webkit.org
[webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?
Playing a bit with WebKit sources for Windows (using WinCairo port) I expected to activate HTML5 video tag. I just simply put : #define ENABLE_VIDEO 1 and rebuilt everything. But I realized that only few files are concerned by USE(ENABLE_VIDEO) and are not even .CPP files. So something may have been falling through the net... But what ? What is missing from Visual Studio generation ? Which procedure shall be applied to get .CPP files included into MS projects ? ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?
On 10/11/2013 02:13 PM, Urbain EGIS wrote: Playing a bit with WebKit sources for Windows (using WinCairo port) I expected to activate HTML5 video tag. I just simply put : #define ENABLE_VIDEO 1 and rebuilt everything. But I realized that only few files are concerned by USE(ENABLE_VIDEO) and are not even .CPP files. It would be ENABLE(VIDEO), not USE(ENABLE_VIDEO). So something may have been falling through the net... But what ? What is missing from Visual Studio generation ? Which procedure shall be applied to get .CPP files included into MS projects ? Most likely you need to specifiy which media player to use. For example, to use GStreamer you would define WTF_USE_GSTREAMER. I don't see a DirectShow media player, so GStreamer is probably your best bet. You can look through the players by looking at file starting with MediaPlayerPrivate, for example: * AV Foundation (Mac) * Blackberry * GStreamer * QTKit (QuickTime?) * WinCE signature.asc Description: OpenPGP digital signature ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?
I would like WinCairo to have video enabled, also, but it would take some work. This was done successfully a few years ago by Phillippe Normand, but his code needs to be updated. I got it compiling a few days ago, but something was wrong with my GStreamer installation. Here's Phillippe's branch: http://git.igalia.com/cgi-bin/gitweb.cgi?p=webkit.git;a=shortlog;h=refs/heads/win-gst If anyone wants to look at my updated code, let me know and I'll email a diff off of the webkit-dev list. Alex Christensen On Fri, Oct 11, 2013 at 2:25 PM, Brendan Long s...@brendanlong.com wrote: On 10/11/2013 02:13 PM, Urbain EGIS wrote: Playing a bit with WebKit sources for Windows (using WinCairo port) I expected to activate HTML5 video tag. I just simply put : #define ENABLE_VIDEO 1 and rebuilt everything. But I realized that only few files are concerned by USE(ENABLE_VIDEO) and are not even .CPP files. It would be ENABLE(VIDEO), not USE(ENABLE_VIDEO). So something may have been falling through the net... But what ? What is missing from Visual Studio generation ? Which procedure shall be applied to get .CPP files included into MS projects ? Most likely you need to specifiy which media player to use. For example, to use GStreamer you would define WTF_USE_GSTREAMER. I don't see a DirectShow media player, so GStreamer is probably your best bet. You can look through the players by looking at file starting with MediaPlayerPrivate, for example: - AV Foundation (Mac) - Blackberry - GStreamer - QTKit (QuickTime?) - WinCE ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev -- Alex Christensen FlexSim Software Products, Inc. *1577 North Technology Way | Building A | Suite 2300 | Orem, Utah 84097* *Voice: 801-224-6914 | Fax: 801-224-6984* *Email:* al...@flexsim.com k...@flexsim.com *URL:* www.flexsim.com This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed. ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev
Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?
Utterly, I'd be glad to take a serious and deep step forwards into this direction. Therefore, on both Brendan Alex's instructions I'm gona opt for GSTREAMER as a default player, oviously. Urbain, are you with me/us ? *The more, the merrier, you know* ;-) First, as mentionned earlier, check with ENABLE(VIDEO) = shall be disclosing as a consequence many CPP files impacted. On my side, I am gona set *WTF_USE_GSTREAMER*, and look closely at previous clues by http://git.igalia.com/cgi-bin/gitweb.cgi?p=webkit.git;a=shortlog;h=refs/heads/win-gst . Of course, Alex, any piece of your updated code (off of the webkit-dev list) will be more than welcome. On Fri, Oct 11, 2013 at 10:34 PM, Alex Christensen alex.christen...@flexsim.com wrote: I would like WinCairo to have video enabled, also, but it would take some work. This was done successfully a few years ago by Phillippe Normand, but his code needs to be updated. I got it compiling a few days ago, but something was wrong with my GStreamer installation. Here's Phillippe's branch: http://git.igalia.com/cgi-bin/gitweb.cgi?p=webkit.git;a=shortlog;h=refs/heads/win-gst If anyone wants to look at my updated code, let me know and I'll email a diff off of the webkit-dev list. Alex Christensen On Fri, Oct 11, 2013 at 2:25 PM, Brendan Long s...@brendanlong.comwrote: On 10/11/2013 02:13 PM, Urbain EGIS wrote: Playing a bit with WebKit sources for Windows (using WinCairo port) I expected to activate HTML5 video tag. I just simply put : #define ENABLE_VIDEO 1 and rebuilt everything. But I realized that only few files are concerned by USE(ENABLE_VIDEO) and are not even .CPP files. It would be ENABLE(VIDEO), not USE(ENABLE_VIDEO). So something may have been falling through the net... But what ? What is missing from Visual Studio generation ? Which procedure shall be applied to get .CPP files included into MS projects ? Most likely you need to specifiy which media player to use. For example, to use GStreamer you would define WTF_USE_GSTREAMER. I don't see a DirectShow media player, so GStreamer is probably your best bet. You can look through the players by looking at file starting with MediaPlayerPrivate, for example: - AV Foundation (Mac) - Blackberry - GStreamer - QTKit (QuickTime?) - WinCE ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev -- Alex Christensen FlexSim Software Products, Inc. *1577 North Technology Way | Building A | Suite 2300 | Orem, Utah 84097* *Voice: 801-224-6914 | Fax: 801-224-6984* *Email:* al...@flexsim.com k...@flexsim.com *URL:* www.flexsim.com This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed. ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev ___ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev