Question about MediaCapture::AddEffectAsync.


  • We can insert a video effect to webcam video stream by call AddEffectAsync:

    1. From MSDN, the parameter 'mediaStreamType ' specifies the streams to which the effect will be applied.

    When I set the 'mediaStreamType ' to MediaStreamType::VideoRecord, I found that the effect also be applied to the preview.

    Is this a BUG or original design?

    2. 'effectActivationID ', The class identifier of the activatable runtime class that implements the effect. The runtime class must implement the IMediaPlugin interface.

    But I didn't see the sample MFT_GrayScale implement 'IMediaPlugin ', but it still can work.

    Any one can help to answer these 2 questions?

    Thanks in advance.


    Wednesday, May 30, 2012 6:45 AM


  • Hello,


    Thanks for your feedback, I will involve more experts to investigate it.


    Best regards,


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

    • Marked as answer by ytshe Monday, June 25, 2012 3:46 AM
    Thursday, May 31, 2012 6:26 AM