locked
IMFVideoMixerBitmap::SetAlphaBitmap method

All replies

  • Hi Thom,

    Thanks for your inquiry. 

    Not only is Direct3D9 not available in Metro but EVR\IMFVideoMixerBitmap\MFVideoAlphaBitmap aren't available either.
    Your application would need to use MediaEngine (IMFMediaEngine) in frameserver mode and then blend the bitmap with the video frame using Direct3D 11 APIs directly.

    Alternatively, if you're writing a JavaScript Metro style app, you can use the <canvas> tag to overlay whatever you like over the <video> tag.

     

    Monday, November 14, 2011 7:37 PM
  • Hi Thom,

    Thanks for your inquiry. 

    Not only is Direct3D9 not available in Metro but EVR\IMFVideoMixerBitmap\MFVideoAlphaBitmap aren't available either.
    Your application would need to use MediaEngine (IMFMediaEngine) in frameserver mode and then blend the bitmap with the video frame using Direct3D 11 APIs directly.

    Alternatively, if you're writing a JavaScript Metro style app, you can use the <canvas> tag to overlay whatever you like over the <video> tag.

    Hi, is the Media Engine frame-server mode really avalaible in Metro App ? The function MFCreateDXGIDeviceManager seems to be defined under WINAPI_PARTITION_DESKTOP.

    "MF_MEDIA_ENGINE_DXGI_MANAGER, In frame-server mode, this attribute enables the Media Engine to use hardware acceleration for video decoding and video processing. If the attribute is not set, the Media Engine uses software decoding and processing."
    Monday, November 14, 2011 10:27 PM
  • Hi, sorry for the late response.  You are correct that MFCreateDXGIDeviceManager is not available at BUILD. We are working on making this available in Beta.

    Thanks,

    Lisa

    Wednesday, November 23, 2011 6:26 PM
  • Thanks.
    Thursday, November 24, 2011 3:29 AM