[Webkit-unassigned] [Bug 132143] New: implement video using media foundation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 24 14:01:26 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=132143

           Summary: implement video using media foundation
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Windows Vista
            Status: NEW
          Severity: Enhancement
          Priority: P2
         Component: Media Elements
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: alex.christensen at flexsim.com
                CC: bfulgham at webkit.org, peavo at outlook.com


I have a hacky proof-of-concept with much of the functionality of the media foundation example at http://msdn.microsoft.com/en-us/library/windows/desktop/ff728866(v=vs.85).aspx

I wrote the seek functionality and a few other things.  The mimeTypeCache is taken directly from GStreamer and needs to be replaced.  The CPlayer needs to be put into MediaPlayerPrivateMediaFoundation instead of using a global variable for one player.  I need to figure out how to get the pixels from the other window into the GraphicsContext in the paint method and hide the video window.  WebKit.dll needs to link with mf.lib, mfplat.lib, mfuuid.lib, strmiids.lib, and Shlwapi.lib.  WTF_USE_MEDIA_FOUNDATION needs to be defined in Platform.h instead of the glib, gstreamer, and gst api definitions.  The functionality needs to be refined, but it works with http://www.w3.org/2010/05/video/mediaevents.html and play/pause/seek controls work.

I'm not sure how much I'll be able to work on this in the near future, so I'm uploading what I have in case someone wants to play with it.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list