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

Philippe Normand philn at igalia.com
Mon Oct 14 03:21:21 PDT 2013


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 <philn at 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
>         <philn at 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.machefer at 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.christensen at 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
>         > >         >                 <self at 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 at 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: alexc at 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 at lists.webkit.org
>         > >         >
>         > >
>         https://lists.webkit.org/mailman/listinfo/webkit-dev
>         > >         >
>         > >         >
>         > >         >
>         > >         >
>         > >         >
>         _______________________________________________
>         > >         >         webkit-dev mailing list
>         > >         >         webkit-dev at lists.webkit.org
>         > >         >
>         > https://lists.webkit.org/mailman/listinfo/webkit-dev
>         > >         >
>         > >         >
>         > >         >
>         > >         > _______________________________________________
>         > >         > webkit-dev mailing list
>         > >         > webkit-dev at lists.webkit.org
>         > >         >
>         https://lists.webkit.org/mailman/listinfo/webkit-dev
>         > >
>         > >
>         > >         _______________________________________________
>         > >         webkit-dev mailing list
>         > >         webkit-dev at lists.webkit.org
>         > >
>         https://lists.webkit.org/mailman/listinfo/webkit-dev
>         > >
>         > >
>         > >
>         >
>         >
>         > _______________________________________________
>         > webkit-dev mailing list
>         > webkit-dev at lists.webkit.org
>         > https://lists.webkit.org/mailman/listinfo/webkit-dev
>         
>         
>         _______________________________________________
>         webkit-dev mailing list
>         webkit-dev at lists.webkit.org
>         https://lists.webkit.org/mailman/listinfo/webkit-dev
>         
> 
> 




More information about the webkit-dev mailing list