Re: [webkit-dev] MAC :: building gstreamer by WebKit but without CAIRO

2013-12-09 Thread Urbain EGIS
Happy to see progresses made by Gstreamer integrated within WK1 for MAC.
Hugo shared files and I reached the same stage of execution.
Logshttp://hugo.machefer.free.fr/GstreamerByMac/MacGstreamer.txt
(that
look encouraging) are worth being re-caped for further support as excerpt
just below:

*MediaPlayerPrivateGStreamer::isAvailable*
*initializeGStreamerAndRegisterWebKitElements*
*MediaPlayerPrivateGStreamer::isAvailablefactory is NOT NULL *
*MediaPlayer::MediaPlayer*
*MediaPlayer::paint m_private-paint(p, r);*
*MediaPlayer::MediaPlayer*
*MediaPlayer::load(const KURL url, const ContentType contentType, const
String keySystem)*
*MediaPlayer::loadWithNextMediaEngine*
*initializeGStreamerAndRegisterWebKitElements*
*MediaPlayerPrivateGStreamer::create*
*MediaPlayerPrivateGStreamer::MediaPlayerPrivateGStreamer*
*void MediaPlayerPrivateGStreamer::setDownloadBuffering();   shouldDownload
== 1*
*MediaPlayer::loadWithNextMediaEngine::  m_private-load(m_url.string());*
*MediaPlayer::paint m_private-paint(p, r);*
*MediaPlayerPrivateGStreamerBase::paint  context-paintingDisabled() ==
0*
*MediaPlayerPrivateGStreamerBase::paint  m_player-visible() == 1*
*MediaPlayerPrivateGStreamerBase::paint  =  RefPtrImageGStreamer
gstImage = ImageGStreamer::createImage(m_buffer, caps.get());*
*ImageGStreamer::ImageGStreamer*
*MediaPlayerPrivateGStreamerBase::paint context-drawImage*
*MediaPlayer::play*

Hope someone gives hints for debugging soon.

-- Egis

PS: Class PlatformVideoWindowMac.cpp has not been implemented yet. Probably
useless for this first step of integration ;-)


On Sat, Dec 7, 2013 at 6:49 PM, Hugo Machefer hugo.mache...@gmail.comwrote:

 Hi, run-time doesn't look bad according to logs placed in gstreamer .CPP
 files and MediaPlayerPrivate.cpp
 Executions seem to be consistent with one another in both cases of QT and
 GSTREAMER. Logs have been
 put here for QT http://hugo.machefer.free.fr/GstreamerByMac/MacQt.txt and
 there for GSThttp://hugo.machefer.free.fr/GstreamerByMac/MacGstreamer.txt.
 paint() and play() methods are called. However nothing at screen: video is
 never displayed. Any tip from specialist would be greatly appreciated to
 enhance investigation at this stage.

   -- hmachefe

 PS: I commented piece of code from gstreamer in WK dedicated to subtitles
 for the sake of progress-making


 On Sat, Dec 7, 2013 at 2:26 AM, Hugo Machefer hugo.mache...@gmail.comwrote:

 Actually, despite similarities with WIN32 situation, this patch seemed to
 be useless in our case. I managed to go one step beyond by adding (sadly
 but surely ;-) Glibutilies.o + GOwnPtr.o + GrefPtr.o in WebCore.xcodeproj
 manually by XCODE to force LINK with these file objects... That are
 generated elsewhere by WTF.xcodeproj... Then, symbols that were assumed
 unresolved by WebCore are in fact defined in other locations == in WTF.


   -- hmachefe

 PS : now = the time has come to execute binary/libraries. Lets' stay
 tuned.


 On Thu, Nov 28, 2013 at 3:46 PM, Philippe Normand ph...@igalia.comwrote:

 I think https://bugs.webkit.org/show_bug.cgi?id=124861 is about fixing
 this issue.

 Philippe

 On Wed, 2013-11-27 at 22:47 +0100, Pascal Brianceau wrote:
  Files shared by Hugo raised the same issue on my side. Did anyone make
  a step forward ? Any tip Philippe ?
 
 
  /* Pascal */
 
 
  On Mon, Nov 25, 2013 at 9:52 AM, Hugo Machefer
  hugo.mache...@gmail.com wrote:
  Indeed: I didn't solve this yet; I can only say that the
  following line is responsible for these unresolved symbols:
 
 
  GOwnPtrGError error;
 
 
-- hmachefe
 
 
  On Sun, Nov 24, 2013 at 10:04 PM, gstreamer MACOSX
  gstreamermac...@gmail.com wrote:
  I managed to restore  ImageGStreamerCG.cpp however
  LINK fails :
 
 
__ZN3WTF13freeOwnedGPtrI7_GErrorEEvPT_, referenced
  from:
 
 
 __ZN7WebCore27MediaPlayerPrivateGStreamer13handleMessageEP11_GstMessage in
 MediaPlayerPrivateGStreamer.o
__ZN7WebCore19initializeGStreamerEv in
  GStreamerUtilities.o
 
 
-- gstreamermacosx
 
 
  PS: special thanks to hmachefe for precious
  restoration tips and to Philippe of course
 
 
 
  On Sat, Nov 23, 2013 at 9:59 AM, Philippe Normand
  ph...@igalia.com wrote:
  The ImageGStreamerCG implementation was
  removed in
  http://trac.webkit.org/changeset/118610
 
  Philippe
 
  On Sat, 2013-11-23 at 00:44 +0100, Urbain EGIS
  wrote:
   I compiled most of
  Source/WebCore/platform/graphics/gstreamer
  apart
   from ImageGstreamerCairo.cpp which has

[webkit-dev] MAC :: building gstreamer by WebKit but without CAIRO

2013-11-22 Thread Urbain EGIS
I compiled most of Source/WebCore/platform/graphics/gstreamer apart from
ImageGstreamerCairo.cpp which has a strong dependency on CAIRO.

It seems to be *overkill* to build WebKit by enabling CAIRO... Because
(only ;-) one file ImageGstreamerCairo requires a specific CAIRO
surface.

So What would be the best strategy in case of MAC ?
1° activate CAIRO by WebKit and generate it again (+gstreamer) ... ? Really
?
2° get rid of CAIRO and find an alternative by CF/CG rather in terms of
surface

-- Egis
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] [WinCairo] : Gstreamer claimed as a default player = CPP files needed (ex: ...gobject\GlibUtilities.cpp)

2013-10-14 Thread Urbain EGIS
We came to obvious conclusions that a new topic shall be opened, not to
break other parallel discussions yielded  around Video tag by
https://lists.webkit.org/pipermail/webkit-dev/2013-October/025723.html

Our request remains highly common, much simple (we hope ;-)
Alex: could you pls provide us with Webkit files related to Gstreamer
integration ?

Thanks in advance.
Best Regards.

-- Egis
___
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 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


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

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


[webkit-dev] [WinCairo] : is ACCELERATED COMPOSITING under progress ?

2013-10-07 Thread Urbain EGIS
Expecting ACCELERATED_COMPOSITING along with WinCairo, I noticed come
conflicts raised by building WebKit over MsDev 2010. Looks like
ACCELERATED_COMPOSITING is sort of  wired to CoreAnimation (and
CoreGraphics).

So is there any plan to make WinCairo sensitive to HW acceleration ?
Regardless of Corexxx stuff... ?
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev