locked
How to create a media foundation source reader from WinRT component?

    Question

  • Hi, I want to create a media foundation source from winRT component.

    I found

    MFCreateSourceReaderFromByteStream

    and

    MFCreateSourceReaderFromURL

    looks fine for me.

    But then I found I can't find a way to create ByteStream for metro app in the first function.

    and get access deny or error: -107287583 when I use the second function.

    I pass the file path in the video library(ex: C:\\Users\\Eric\\Videos\\test.mp4, I opened the permission already) and uri (ex: blob:xxxxxx)

    Both failed.

    Can somebody tell me how to create a source reader?

    Thank you~~

     

    Eric


    Tuesday, November 08, 2011 9:57 AM

Answers

All replies