locked
How to used media foundation to implement Win store app ( Metro app ) in win8?

    Question

  • Hi, 

    I want used media foundation api to implement metro app in Win8.

    I have checked that some of media foundation api like MFCreateAttributes is support desktop apps and Windows Store apps. So i guess media foundation is already support Win store app ( metro app).

    And i have checked the system camera. It's look like used media foundation dll.

    But i only find a lot of media foundation sample in desktop, not metro.

    Is any sample about used media foundation api to implement metro app?

    Thanks.

    Tony

    Thursday, June 13, 2013 5:12 AM

All replies

  • There are several samples which use Media Foundation in the sample gallery. Try searching on "Media Foundation".

    Are you looking for something specific?

    --Rob

    Friday, June 14, 2013 1:03 AM
    Owner
  • Hi, Rob,

    thanks for your reply.

    I want to used media foundation api to implement my metro app like "CaptureEngine video capture sample"

    Is possibly used media foundation api and bound to a Microsoft DirectX swap chain or swap buffer? I have already try to find the operation mechanism about the system camera. And i'm sure it's used media foundation, but i didn't understand how to show preview in metro UI. And a lot of MF* API not support in metro app.

    PS: i have already try WinRT Media Capture API, it work. But i still want to known how to show preview in metro UI by media foundation.

    Please help :)

    Tony

    Friday, June 14, 2013 8:23 AM