locked
Grabbing Frames from the Web Cam

    Question

  • I need to grab frames from a live video stream from the computer's web cam. From what I see the only way to do this is to implement a custom media transform. While that transform won't actually be modifying the video it would serve as the object I would use to get access to the stream. I wanted to see if any one else could confirm that this is a recommended way of accessing the video stream and that there isn't another method for grabbing frames at a high speed. 

    Thanks. 


    Joel Ivory Johnson | http://www.j2i.net | Windows Phone Developer MVP
    It takes all the running you can do to stay in one place.If you want to get somewhere else,you must try to run at least twice as fast as that.

    Tuesday, November 20, 2012 4:43 PM

Answers

  • Hello,

    While creating a custom MFT to siphon off the video stream is certainly a viable option there is a much simpler way to go about taking stills from a video feed. Try using the CameraCaptureUI. This interface should be "good enough" for a vast majority of the still capture needs.

    I hope this helps,

    James


    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Tuesday, November 20, 2012 10:28 PM
    Moderator

All replies

  • Hello,

    While creating a custom MFT to siphon off the video stream is certainly a viable option there is a much simpler way to go about taking stills from a video feed. Try using the CameraCaptureUI. This interface should be "good enough" for a vast majority of the still capture needs.

    I hope this helps,

    James


    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Tuesday, November 20, 2012 10:28 PM
    Moderator
  • Thanks!

    Joel Ivory Johnson | http://www.j2i.net | Windows Phone Developer MVP
    It takes all the running you can do to stay in one place.If you want to get somewhere else,you must try to run at least twice as fast as that.

    Wednesday, November 21, 2012 2:54 PM