Re: [webkit-dev] [WinCairo] : ENABLE_VIDEO = how to activate HTML5 video tag ?

2013-10-12 Thread Urbain EGIS
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 ?

2013-10-12 Thread Philippe Normand
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