locked
IMFByteStream & Streams from Capture Devices RRS feed

  • Question

  • Hi,

    How can I get streams from capture devices in current MF architecture which doesnt support that ?

    I guess the only way is :
     
            a.Creating an IMFByteStream by getting streams from a device ( I assume the device
           driver gives approriate data in ReadFile dispatch routine to handle ReadFile calls from user-mode
           or have special IOCTLs handled by IOCTL dispatch routine of driver. )
     
           b.Creating IMFSourceResolver from the stream in step a , by calling
           IMFSourceResolver::CreateObjectFromByteStream .


    Akın
    Tuesday, December 4, 2007 11:52 PM

Answers

  • MF currently does not support a built-in capture device source yet, we are planning to add one in the future version. You can write your own by implementing IMFMediaSource if need. Registering the source into the source resolver is optional.  

    Wednesday, December 5, 2007 10:32 PM

All replies

  • MF currently does not support a built-in capture device source yet, we are planning to add one in the future version. You can write your own by implementing IMFMediaSource if need. Registering the source into the source resolver is optional.  

    Wednesday, December 5, 2007 10:32 PM
  • Thanks
    Friday, December 7, 2007 11:32 PM